#[SOLVED]AFC Lite flashing

1 messages · Page 1 of 1 (latest)

dreamy zephyr
#

So, mostly build my box turtle and now on the hardest part... the flashing.
I've followed step by step, when I get the getting the UUID to move onto the next stage, it says 0 uuids, which everything else looks like it's worked.

Voron 2.4 fysetc spider v3, using mellow can expander as already have can set up for toolhead.

Any assistance would be great

final quartz
#

Yep, now we can keep working on this

#

AFC Lite should be flashed as long as you followed the instructions given by Isik.

#

What I wanted to know was which port on the CAN expander you have what plugged into

#

Becuase it'll matter for terminating the CAN chain

dreamy zephyr
#

Left side i have my toolhead can, right side have put the wiring for afc lite

final quartz
#

So, you have a 120ohm jumper on both your toolhead and on your U2C, right?

dreamy zephyr
#

Not on the toolhead, should I have one there?

dreamy zephyr
dreamy zephyr
#

@mild saffron hi, i saw that you assisted someone with similar issue to me.. hoping you could assist?

#

<@&1304550334839918672>

abstract sierra
#

As long as it ssays "Download Done" its generally successful

dreamy zephyr
#

i just cant get the UUID

abstract sierra
#

There is a known issue with dfu util that displays errors even when successful

dreamy zephyr
#

to move onto next step

abstract sierra
#

Oh youre doing can

#

On sec let me check a few things, I dont run can.

abstract sierra
#

Dumb question but the switch is on buck,correct?

dreamy zephyr
#

yeah

abstract sierra
#

Just checking, it will show up for flashing on USB but not anything else.

dreamy zephyr
#

i have power, the issue is i get to the part to get uuid and its not there

abstract sierra
#

Im just working though possibilites as to why its not showing up,

#

Can you show me the settings you flashed katapult with please?

dreamy zephyr
#

Will have to send over later as I've had to pop out. I've even tried flashing with usb. I might even just use usb instead of can

abstract sierra
#

USB is super EZ tbh lol

#

Im running mine on USB as I dont have any can in my printer at all

final quartz
#

I’m running 2 on US … about to set them up as CAN because I have a 3rd to add to the mix…

dreamy zephyr
#

@sand wasp I believe that you are using the fysetc spider v3 board. Did you have any issues with flashing the afc lite?

sand wasp
dreamy zephyr
sand wasp
#

Yea I dont know why it’s that way, it would probably work at 50k baud but I’ve not tested it

dreamy zephyr
#

<@&1304550334839918672> anyone who could assist as this is bothering me#

final quartz
#

I'm reading more on the CAN wiring, since I know fuck all about it lol

#

But since your query sees neither of you CAN devices now, something is weird

atomic timber
#

Sorry haven’t been following this but I just flashed my board this morning. Did you use this guide? #isiks-tech-🇺🇸-✈🌎 message

#

You don’t need usb to flash CAN

final quartz
#

Okay, so after some reading, remove the 120r from your U2C and put one on the AFC-Lite

dreamy zephyr
#

i dont have a U2C, my mainboard is fysetc spider v3 with can already on the board

final quartz
#

Should still have a 120r jumper on it

dreamy zephyr
atomic timber
dreamy zephyr
atomic timber
dreamy zephyr
atomic timber
#

Screen capture?

dreamy zephyr
#

thinkg its already installed?

#

should i be using cd ~/klipper instead of just ~/klipper

atomic timber
#

just do: cd klipper

dreamy zephyr
#

my can pin on my board is different to the PB8 PB9, do i leave or change to the ones from my main board

#

followed word for word and still nothing

#

my afc lite is only connected to power and can, no usb

dreamy zephyr
#

no changed to my pins

atomic timber
#

Leave the pins per the instructions

dreamy zephyr
#

should i be un plugging my main board or will it be fine

atomic timber
#

Should be fine. Did you flash katapult first or are you going straight to klipper?

dreamy zephyr
#

i cant flash klipper as i dont have my UUID

atomic timber
#

Did you press the reset button twice?

dreamy zephyr
dreamy zephyr
#

dont know what im doing wrong

wraith fern
#

did you try the katapult query? Ive had in not show up using the klipper one before

dreamy zephyr
#

<@&1304550334839918672> ive tried what i believe is all options, I have checked my wires and all is fine. for some reason i just dont get a UUID, has this been common? will try anything to get this thing working

final quartz
#

You aren't finding any CAN devices now

atomic timber
#

Maybe you’ve already tried this. Do you have your can high and low correct?

final quartz
#

Your toolhead isn't showing either, please make sure the network is terminated correctly

mild saffron
#

well, the toolhead wont'show if klipper has 'claimed' it/is working.

final quartz
#

Hmm

#

sounds like we should kill the klipper service then and see what shows up

wraith fern
#

run

ip -details -statistics link show can0```
mild saffron
#

have to kill klipper, then reset the toolhead board

or mv printer.cfg out of hte way and reboot hte system

dreamy zephyr
mild saffron
#

you wouldn't have to touch can on your toolhead

#

when i say rest, i just mean literally hit the reset button which reboots the board

#

not 'wipe adn reset'

dreamy zephyr
# mild saffron not 'wipe adn reset'

Is there any way for me to remove clipper from the afc board, I've read something that says if klipper is installed then it won't show the uuid as its claimed. I did manage to flash klipper using usb and think this may be causing the issue

mild saffron
#

what it means by that is if it's if you have the uuid in the klipper.cfg and it's detected/working

#

not that if klipper has been flasehd to the board

wraith fern
#

Run my command above so we can see the can0 network info

wraith fern
dreamy zephyr
dreamy zephyr
wraith fern
#

do you have a voltmeter you could test the can lines?

#

power it off and ohm test the can h/l lines and see if you are getting 60 ohms

dreamy zephyr
wraith fern
#

to test across them connect one to h and one to l

dreamy zephyr
#

im getting

#

40

wraith fern
#

k try taking the 120 off the afc and test again

dreamy zephyr
#

with it off the afc it shows 60

wraith fern
#

ok boot it up and try that

dreamy zephyr
#

with out it on

wraith fern
#

ya you want it at 60 ohms

dreamy zephyr
#

wish me luck

wraith fern
#

🤞

dreamy zephyr
#

😢

abstract sierra
#

Coule it be something with the expander making it not seeing it as one network perhaps?

dreamy zephyr
#

:/

#

theres no boards on the exapnder, it literally is plug and play

abstract sierra
#

So you added the expanded when you addded the AFC or it has always been there?

dreamy zephyr
#

added when added afc

#

but my toolhead still works fine and that is connected to the mellow expander

abstract sierra
#

Just out of curiosity have you tried putting the resistor on the AFC and not the tool head?

dreamy zephyr
#

not tried that yet

wraith fern
#

hes getting 60 ohm on the can lines so should be fine

abstract sierra
#

Ive seen stranger things.

dreamy zephyr
#

you think its worth the swap?

wraith fern
#

can i see your katapult build settings

abstract sierra
#

Seeing tons of reports of CAN issues with spider v3

dreamy zephyr
#

klipper

wraith fern
#

i would build and flash katapult first

dreamy zephyr
#

was just following the instructions in order

#

shall i reboot and do the katapult first?

wraith fern
dreamy zephyr
abstract sierra
#

correct me if im wrong, but katapult doesnt need the bootloader offset?

wraith fern
#

only thing to watch is when you copy the flash command this is what you need to run

sudo dfu-util -a 0 -d 0483:df11 --dfuse-address 0x08000000:leave -D out/canboot.bin```
Set canbus to PB8/PB9
#

yes it does the above image i posted is from isiks guide

dreamy zephyr
wraith fern
#

these are the can bus pins on the afc

abstract sierra
dreamy zephyr
#

ah okay, i thought that was where the afc would look to where its connected on the main board.

abstract sierra
#

Youre telling it where it should talk to the can network from

dreamy zephyr
#

okay changed, will see what happens

wraith fern
#

after you flash that run

python3 ~/katapult/scripts/flashtool.py -i can0 -q

should see a uuid and application: Katapult

dreamy zephyr
#

do i need to sudo service klipper stop first?

wraith fern
#

no it wont register to klipper

dreamy zephyr
#

flash done

#

computer said no...

wraith fern
#

ok try a full shutdown
Shut down your Pi (sudo shutdown now) and then power off your entire printer then restart and run that again and see if it shows

dreamy zephyr
#

what just run the 'python3 ~/katapult/scripts/flashtool.py -i can0 -q'

wraith fern
#

ya after a reboot to see if it shows up

dreamy zephyr
#

same again

#

are my only options to use usb instead of can?

#

this is info from my toolhead on mainsail, shall i change bitrate to 500000 to see if this works?

wraith fern
#

yes that means you mainboard is likely also 500000. Rebuild katapult with 500000 and flash with this command

sudo dfu-util -R -a 0 -s 0x08000000:force:mass-erase:leave -D ~/katapult/out/katapult.bin -d 0483:df11
dreamy zephyr
#

done, now reboot?

wraith fern
#

yup then see if it shows this time

dreamy zephyr
#

YESSSSSSS

#

now to flash klipper

wraith fern
#

awesome! now just make sure to build the klipper with the 500000 then flash with

python3 ~/katapult/scripts/flashtool.py -i can0 -u youruuid -f ~/klipper/out/klipper.bin
wraith fern
#

replace youruuid with the d5fa36de5f65

dreamy zephyr
#

do i need to stop klipper before i flash?

wraith fern
#

ya

dreamy zephyr
wraith fern
#

after that run that flashtool query command again and it should say klipper instead of katapult

dreamy zephyr
#

winner winner chicken dinner

dreamy zephyr
#

now need to add the afc add on... will this be easy enough?

wraith fern
#

ya it has an auto installer that walks you though the install then you just need to go put in this uuid for the afc

dreamy zephyr
#

shall i reboot first, or can i just go for it?

#

this isnt the uuid is it?

wraith fern
#

no thats the pin for your toolhead sensor

#

uuid you put in manually into the config after the install is done

dreamy zephyr
#

so shall i just leabe blank?

wraith fern
#

do you have a toolhead filament sensor?

dreamy zephyr
#

no...

#

guessing i need one....

wraith fern
#

ok you will need one either in the toolhead or you can use a small inline one right above the toolhead

dreamy zephyr
#

man would have been sorted, i have a spare d2f switch but dont have any of those ones

dreamy zephyr
wraith fern
#

yes there are a couple versions. are you planning on running a toolhead cutter?

dreamy zephyr
#

no i was planning to do the snappy hub, however if im changing the toolhead i may as well look into the other

#

@wraith fern massive thanks for you help. i would have just given up if not for your assistance

wraith fern
#

Of course. Glad we got it sorted for ya.

dreamy zephyr
#

thanks to everyone aswell for also attempting 😄

#

SOLVEDAFC Lite flashing

#

[SOLVED]AFC Lite flashing