#FlashError: Error sending command [SEND_BLOCK] to Device

68 messages · Page 1 of 1 (latest)

wintry crow
#

Its me, I'm back with another error...

following the Esoterical can guide for flashing the mainboard with Klipper via Katapult via USB and getting the above error.

I do not end up with can0 available after or the mainboard becoming any form of CAN adapter in lsusb. Beyond that my make menuconfig file has been checked and is correct except for the fact that i am missing "(SKR SE Bx v2.0)" in the bootloader offset but i didn't have any other option so i just went with the plain 128KiB.

zenith portal
#

if it's not showing as a can adaptor in lsusb there was probably some issue in flashing it, either in the make menuconfig settings or the flashing process itself

#

common things being mixing up the pins for its interfaces

last wadi
#

that's definitely a total failure in the screenshot

#

Though I'm not sure offhand why it's failing

#

What mcu is it you're actually using?

#

Or rather, more to the point, what board is it?

wintry crow
#

its a manta m8p and cb1 so an stm32H723

#

for the make menuconfig I used the config from Esoterical

last wadi
#

What version of m8p?

wintry crow
#

v2.0

last wadi
#

Can you do ls -l out/klipper.bin ?

wintry crow
#

output is: -rwxr-xr-x 1 biqu biqu 37128 Jun 27 20:27 out/klipper.bin

last wadi
#

Hmm. Scratch that idea...

#

Can I see your katapult menuconfig? Maybe something is weird over there...

wintry crow
#

Hmm i am just now coming to the realization that it is far easier just to use snipping tool and I have been putting in much more work to take a photo with my phone

zenith portal
#

it does make it easier to read

wintry crow
#

not to mention easier to read

zenith portal
#

that looks ok

last wadi
#

It does...

#

Hmm.

#

Alright, and just for completeness, the klipper menuconfig?

wintry crow
last wadi
#

Seems fine...

#

Well, might be worth trying flashing klipper via dfu rather than katapult

zenith portal
#

definitely absolutely positively a v2.0 manta?

last wadi
#

Lol. That's had the processor physically eyeballed as well?

#

Wouldn't be the first time btt threw a new version into the mix without telling anybody

wintry crow
#

it would be rather embarrassing if not

#

yea it is the 2.0

last wadi
#

And the processor markings?

wintry crow
#

yea its the h723

zenith portal
#

hum

#

back to ST's idea of DFU flashing

wintry crow
#

(sanity check that is pulling the bootloader.bin from the git, putting it onto the cb1 and running the code on the readme?)

last wadi
#

No, I'd leave the bootloader alone

#

Just get it into dfu with the jumper, like for when you flashed katapult

zenith portal
#

you'd run something like make flash FLASH_DEVICE=<the VID/PID combo from lsusb when the device is in dfu mode>

last wadi
#

And then run make flash FLASH_DEVICE=0483:2811

wintry crow
#

ok so put into dfu mode, then run make flash FLASH_DEVICE=0483:2811

#

out of interest where does that spesific string of numbers come from?

last wadi
#

It's the usb device id

#

For the processor when it's in bootloader mode

#

You can verify it with lsusb

wintry crow
#

ah

#

ok my lsusb says 0483:dfll for the ID, is that an issue?

zenith portal
#

so you would change to that in the make flash command

wintry crow
#

sounds good

zenith portal
#

that pairing of VID:PID is still valid for an stm32 chip in DFU mode

#

but its why it's handy to verify with lsusb before trying to flash

wintry crow
#

ok

last wadi
wintry crow
#

ohhh it totaly is, lol thats probable causing this

last wadi
#

Putty's default font is notorious for l and 1 being literally identical

#

I just know it's a one, because L isn't a thing in hexadecimal

wintry crow
#

ok so it ran but i got a error saying failed to run dfu-util

zenith portal
#

piccy?

wintry crow
#

in lsusb it is now apearing as a CAN adapter tho

zenith portal
#

there's one error that's not really an error that's almost universal

last wadi
#

Did it say it downloaded, then throw an error?

wintry crow
#

yep

last wadi
#

Because ya, that one is fine

#

Just spurious noise

wintry crow
#

ok

zenith portal
#

but showing as a can board in lsusb is good

wintry crow
#

sweet and can0 is up