Firmware update under Linux

More
21 Sep 2012 20:05 - 22 Sep 2012 07:48 #1762 by Gall
Firmware update under Linux was created by Gall
Hello,

I'm trying to write Deviation dfu to Devo8 under Linux using dfu-util 0.6. No success. Is it possible?

I did the following:

dfu-util -d 0483:df11 -a 0 -D deviation-devo8-v1.1.2.dfu

Tried with -R option as well. It seems to upload data but does not leave DFU mode then.
Last edit: 22 Sep 2012 07:48 by Gall.

Please Log in or Create an account to join the conversation.

More
24 Sep 2012 07:35 #1771 by wuselfuzz
Replied by wuselfuzz on topic Firmware update under Linux
I'm using dfu-util 0.6 on OS X 10.8, works fine.

Leaving DFU mode through dfu-util doesn't work, though, but flashing, then manually resetting the transmitter works.

From the Makefile:
flash: devo8.dfu
        dfu-util -a 0 -D devo8.dfu

Please Log in or Create an account to join the conversation.

More
24 Sep 2012 18:05 #1775 by Gall
Replied by Gall on topic Firmware update under Linux
Hm, reset did not work in my case. Even removing the battery had no effect. It just returns into firmware update mode immediately.

Maybe I have to try JTAG to debug the issue.

Please Log in or Create an account to join the conversation.

More
11 Oct 2012 14:52 #2164 by Gall
Replied by Gall on topic Firmware update under Linux
Tried Windows, still no success even with native Devo firmware. The TX just does not leave upgrade mode at all even after removing the battery.

Now going to use JTAG to reflash everything including the bootloader.

Please Log in or Create an account to join the conversation.

More
11 Oct 2012 16:04 #2169 by PhracturedBlue
Replied by PhracturedBlue on topic Firmware update under Linux
Are you sure you upgraded (rather than uploaded) the Devention firmware using Walkera's dfuse tool? The only reason it would boot right to the bootloader is if (a) the ext button was stuck or (b) the checksum was wrong. The dfuse tool from walkera will always write the right checksum (this is not true of the dfuse tool from STM)

Please Log in or Create an account to join the conversation.

More
12 Oct 2012 17:36 #2181 by Gall
Replied by Gall on topic Firmware update under Linux
I'm pretty sure the upgrade failed and the checksum is wrong. For some strange reason dfuse does not see the TX anymore while dfu-util still does. Looks like the TX's bootloader is stuck in some strange state preventing it from normal upgrade.

I think I'll better treat the CPU as empty and reflash everything. At least it will be readable then. Probably I'll end with a custom bootloader :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.038 seconds
Powered by Kunena Forum