Seems like a reasonable way of checking things.
I saw that diagram but it just has “RX” and “TX”.
Seems like a reasonable way of checking things.
I saw that diagram but it just has “RX” and “TX”.
I tried, but if I copy your commands it always change to a directory I don’t have and I don’t know what to change to start from my directory.
The command:
sudo dfu-util -a 0 -D ~/Katapult/out/katapult.bin --dfuse-address 0x08000000:force:mass-erase:leave -d 0483:df11
Changes to:
/home/biqu/Katapult/out/katapult.bin
My directory is:
biqu@BTT-CB1/katapult/out/katapult.bin
Are you sure that’s right? When I look at the dumps you’ve listed, like:
biqu@BTT-CB1:~$ ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
Traceback (most recent call last):
File “/home/biqu/klipper/scripts/canbus_query.py”, line 64, in
main()
File “/home/biqu/klipper/scripts/canbus_query.py”, line 61, in main
query_unassigned(canbus_iface)
File “/home/biqu/klipper/scripts/canbus_query.py”, line 20, in query_unassigned
bus = can.interface.Bus(channel=canbus_iface, can_filters=filters,
File “/home/biqu/klippy-env/lib/python3.9/site-packages/can/interface.py”, line 127, in new
return cls(channel, *args, **kwargs)
File “/home/biqu/klippy-env/lib/python3.9/site-packages/can/interfaces/socketcan/socketcan.py”, line 594, in init
bind_socket(self.socket, channel)
File “/home/biqu/klippy-env/lib/python3.9/site-packages/can/interfaces/socketcan/socketcan.py”, line 459, in bind_socket
sock.bind((channel,))
OSError: [Errno 19] No such device
biqu@BTT-CB1:~$
Your home directory is /home/biqu/...
not /biqu@BTT-CB1/...
I think you’re mistaking the two.
What do you get when you put in pwd
?
When I do it I get:
/home/biqu
Can you list the commands that you are using from the instructions above?
They should be:
Step 6:
sudo dfu-util -a 0 -D ~/Katapult/out/katapult.bin --dfuse-address 0x08000000:force:mass-erase:leave -d 0483:df11
Step 14:
/home/biqu/Katapult/scripts/flash_can.py -i can0 -q
Step 16:
sudo python3 /home/biqu/Katapult/scripts/flashtool.py -u <UUID> -f /home/biqu/klipper/out/klipper.bin
I’m not there before tomorrow, but I get not such file or directory.
Sorry? I don’t understand what you’re trying to say.
I’m guessing your not at the printer but when you do get there, please do the pwd
command in SSH and send the result.
Also go through the toolhead process again and let me know how you make out - please post the results of each of the three commands for steps 6, 14 & 16.
The user is biqu, and the hostname is BTT-CB1. That is what that means. The home directory is in fact /home/biqu.
I know that but I think @KimHJ needs to be walked through the process to understand that and know what he’s looking for.
I see that if I enter pwd it shows /home/biqu/katapult.
Here is a screen shoot:
I see the problem the upper case in the word Katapult.
I will try now:
I think you need to look through your host file system carefully.
It’s normally Katapult
with a capital “K” - I would suggest that you only use this version of it and not katapult
with a lower case “k”.
I got it to work using STM32CubeProgrammer.
Thanks.
Good to hear.
I look forward to seeing what you print.
Hi,
Exactly the same happened here, would you please tell me how you upload the firmware with the CubeProgrammer, what offset with katapult.bin and klipper.bin? which upload first? or does it matter?
Thanks
Heater pin inverted after pid tuning and restart…
When other code is editing a printer config…
how did you do that? I still don’t get the uuid, just the serial with my m8p v2.0
Please start a new thread - when you do can you list the steps that you followed and the responses that you see.
I am in the same situation after a Klipper error indicated I had to update my firmware. So went so far down the rabbit hole that I eventually reflashed my CB1 and started over. I’m just wanting to make sure I have my configurations set properly.
I use these commands to flash the MCU
sudo dfu-util -a 0 -D ~/katapult/out/canboot.bin --dfuse-address 0x08000000:force:mass-erase -d 0483:df11
sudo dfu-util -a 0 -D ~/katapult/out/canboot.bin --dfuse-address 0x08000000 -d 0483:df11
sudo dfu-util -a 0 -D ~/klipper/out/klipper.bin --dfuse-address 0x08002000:force:leave -d 0483:df11
I’m getting no joy at all right now so I figure I’ve got some ports or something wrong. I suspect it’s in katapult.
The katapult for the EBB:
Processor on the EBB is STMG0B1 not STM32H723 that is the processor on the Manta M8P v2.0
Processor STMG0B1
Offset is 8Kib
Clock is 8mhz
Yes it was my flashing the boot for the ebb that was killing me. Also ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
worked great.