#SOLVED Canbus AFC Lite Issue
1 messages · Page 1 of 1 (latest)
I had an ERCF runing on my BTT canbus card fine I removed the ERCF and am now trying to set up the BT AFC Lite. I work throught all the steps but when I get to ~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
I get this and no <uuid>
out/canboot.bin
[sudo] password for pi:
dfu-util: unrecognized option '--dfuseaddress'
Usage: dfu-util [options] ...
-h --help Print this help message
-V --version Print the version number
-v --verbose Print verbose debug statements
-l --list List currently attached DFU capable devices
-e --detach Detach currently attached DFU capable devices
-E --detach-delay seconds Time to wait before reopening a device after detach
-d --device <vendor>:<product>[,<vendor_dfu>:<product_dfu>]
Specify Vendor/Product ID(s) of DFU device
-p --path <bus-port. ... .port> Specify path to DFU device
-c --cfg <config_nr> Specify the Configuration of DFU device
-i --intf <intf_nr> Specify the DFU Interface number
-S --serial <serial_string>[,<serial_string_dfu>]
Specify Serial String of DFU device
-a --alt <alt> Specify the Altsetting of the DFU Interface
by name or by number
-t --transfer-size <size> Specify the number of bytes per USB Transfer
-U --upload <file> Read firmware from device into <file>
-Z --upload-size <bytes> Specify the expected upload size in bytes
-D --download <file> Write firmware from <file> into device
-R --reset Issue USB Reset signalling once we're finished
-s --dfuse-address <address> ST DfuSe mode, specify target address for
raw file download or upload. Not applicable for
DfuSe file (.dfu) downloads
-bash: out/canboot.bin: Permission denied
There is also a difference between the instructions in Esoterical and AFC lite
i’d go with esoterical’s.
also, it’s --dfuse-address … note the dash between dfuse and address.
ok went back and re did the katapult as shown the Esotrical site and added the dash still no luck.
out/canboot.bin
dfu-util: option requires an argument -- 'D'
Usage: dfu-util [options] ...
-h --help Print this help message
-V --version Print the version number
-v --verbose Print verbose debug statements
-l --list List currently attached DFU capable devices
-e --detach Detach currently attached DFU capable devices
-E --detach-delay seconds Time to wait before reopening a device after detach
-d --device <vendor>:<product>[,<vendor_dfu>:<product_dfu>]
Specify Vendor/Product ID(s) of DFU device
-p --path <bus-port. ... .port> Specify path to DFU device
-c --cfg <config_nr> Specify the Configuration of DFU device
-i --intf <intf_nr> Specify the DFU Interface number
-S --serial <serial_string>[,<serial_string_dfu>]
Specify Serial String of DFU device
-a --alt <alt> Specify the Altsetting of the DFU Interface
by name or by number
-t --transfer-size <size> Specify the number of bytes per USB Transfer
-U --upload <file> Read firmware from device into <file>
-Z --upload-size <bytes> Specify the expected upload size in bytes
-D --download <file> Write firmware from <file> into device
-R --reset Issue USB Reset signalling once we're finished
-s --dfuse-address <address> ST DfuSe mode, specify target address for
raw file download or upload. Not applicable for
DfuSe file (.dfu) downloads
-bash: out/canboot.bin: Permission denied
pi@mainsailos:~/katapult $
Also the AFC Lite manual says to have USB and canbus hooked up at the same time seems wrong to me?
so still no luck. Since I had a <uuid> for my ERCF and I found this on the Escoterial site:
image
First up, if you previously could see UUID’s returned, and then put them into your printer.cfg file, but now you can’t see anything from a canbus query don’t panic. Once a UUID has been “grabbed” by klipper-on-pi then it won’t show up to a query. This is normal.```
so do I just use the uuid that i got when I set up the ERCF?
you have an enter between -D and out/canboot.bin
sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000:leave -D out/canboot.bin
your ERCF MMB and the AFC Lite will not have teh same UUID
(Universally Unique Identifier)
thanks for your help my head hurts I am going to take a break and come back fresh later. Not sure the issue i walk through the Esoterical steps and everything checks as I go. I know its me but I can not figure it out. I set up the ERCF easy no problem. I might just go to USB.
Thanks again. I might be back LOL.
the issue here primarily is you are copy pasting and it is getting malformed in that process
yes I figured that out. I was coping from the AFC Lite manual and that was not smart on my part. I am a good builder but this programing is not my bag. When I went to college I took a programing class it was Fortran, you wrote your programs on a card punch machine went and stood in line to feed it into a card reader, went down the hall to get your print out. Then you tried to figure out were the miss placed comma was LOL.
Should I just follow the Esoterical site and forget the AFC manual. Also I have the AFC Lite board installed and all connected up does that make a difference? Should I disconnect all the devices and motors?
Using the copy button on the commands on the Esoterical site is ok?
well found my issue..........My low can connector on the AFC Lite board was not seated all the way into the connector plug. I now have a UUID😀 😀 😀 .
How do I mark as solved?