Comments (4)
According to the linked documentation these boards have user LEDs and the recommended configuration has them configured in the Katapult build. When Katapult is active and ready to accept commands the led will blink slowly. My first suggestion is to use the LED to verify Katapult is active.
If the led is not blinking try manually requesting the bootloader by pressing the reset button twice quickly. If the reset button is small and/or difficult to access you may need a small tool to perform the double reset.
If Katapult is active yet doesn't show up when queried then I would take a hard look at the U2C v2.1. Meteyou's guide doesn't seem to address how to bring up the CAN network interface, however it appears that you do have it up. You will need to make sure the bitrate of the can socket matches the bitrate configured in Katapult/Klipper. You can check it with the following command:
ip -det addr
from katapult.
The LED does blink slowly after flashing katapult.
pi@fluiddpi:~/katapult $ ip -det addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 promiscuity 0 minmtu 0 maxmtu 0 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether e4:5f:01:4d:aa:45 brd ff:ff:ff:ff:ff:ff promiscuity 0 minmtu 68 maxmtu 1500 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
inet 192.168.68.85/22 brd 192.168.71.255 scope global dynamic noprefixroute wlan0
valid_lft 6527sec preferred_lft 5627sec
inet6 fe80::7952:71a1:f537:e92a/64 scope link
valid_lft forever preferred_lft forever
4: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN group default qlen 10
link/can promiscuity 0 minmtu 0 maxmtu 0
can state STOPPED restart-ms 0
gs_usb: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..1024 brp-inc 1
clock 64000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
So it looks like the CAN network is DOWN. After googling I tried
pi@fluiddpi:~ $ sudo ip link set can0 type can bitrate 500000
pi@fluiddpi:~ $ sudo ip link set up can0
pi@fluiddpi:~ $ ip -det addr
4: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UP group default qlen 10
link/can promiscuity 0 minmtu 0 maxmtu 0
can state ERROR-ACTIVE restart-ms 0
bitrate 500000 sample-point 0.875
tq 125 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
gs_usb: tseg1 1..16 tseg2 1..8 sjw 1..4 brp 1..1024 brp-inc 1
clock 64000000 numtxqueues 1 numrxqueues 1 gso_max_size 65536 gso_max_segs 65535
which looks good, so checking again for CAN nodes:
pi@fluiddpi:~/katapult $ python3 ~/katapult/scripts/flashtool.py -i can0 -q
Resetting all bootloader node IDs...
Checking for Katapult nodes...
Detected UUID: c5519d4f29c6, Application: Katapult
Query Complete
Hooray! but how can I avoid having to manually bring up the CAN network? meteyou's guide has me create /etc/network/interfaces.d/can0 and fill it with:
allow-hotplug can0
iface can0 can static
bitrate 500000
up ifconfig $IFACE txqueuelen 128
so I can clearly see that it contains the words "bitrate 500000", and "up" is this not being honored or am I off track here?
Also, thank you so much!
from katapult.
AFAIK that should bring up the can network when the usb device is detected. My understanding is that fluiddpi is deprecated and 'has issues', although I don't know if they are in any way related to the canbus.
from katapult.
You are right, I reflashed Pi OS lite with the the Pi flash tool and used kiauh to handle all of the installs. after updating /etc/network/interfaces.d/can0 according to the meeteyou guide and re-cloning katapult I can now detect Katapult nodes without bringing up can0 manually.
Thanks!
from katapult.
Related Issues (20)
- Flashing over "pure" serial connection (Creality 4.2.7 board)? HOT 11
- can't flash over canboot manta E3EZ
- Cannot make menuconfig HOT 2
- How to change Katapult baud rate (reflashing) HOT 1
- Issue with make, and Error 127 HOT 1
- flash_can.py not going into boot loader mode
- MKS SKIPR goes not in DFU Mode after canboot HOT 1
- BTT Pi
- Supported STM32 models HOT 2
- [Help needed] - cause of "CONNECT timed out"on btt-mmb HOT 15
- Compiler error BTT EBB36 V1.0
- Reflashing rp2040
- EBB42 1.2 cannot flash klipper or canboot update via CAN HOT 3
- Can't get this to work on Fly ERCF or BTT Manta M8P HOT 4
- Changing CANBUS_ID_ADMIN HOT 1
- Clarification of "Application start offset" HOT 4
- Flashing RP2040 - No rule to make target 'flash' HOT 2
- Error 127 HOT 1
- STM32F407 not installing firmware after katapult HOT 4
- EBB SB2209 CAN RP2040 - No RP2040 Option in Katapult Configuration HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from katapult.