Devo10 Flash Memory Content

More
14 Mar 2015 03:39 #29687 by tc3driver
Devo10 Flash Memory Content was created by tc3driver
My Devo 10 get burned a few weeks ago, I have replaced the burnt 5V-to-3V regulator and the MCU (STM32F103VCT6), and I have the ST-link V2 to program the flash memory, But after programming the
hex file ("DEVO-10 Fw v0.7A.dfu" is converted to "DEVO-10 Fw v0.7A.hex" by "Dfu file manager"), the transmitter is still failed to power up, there is no crystal oscillation signal at the 8MHz crystal.
In "STM32 ST-LINK Utility", the flash memory is starting from 0x08004000 to 0x801EC87.
Now I see that the Boot0 pin is connected with a 10K ohm resistor to GND, hence it should boot from main flash memory 0x08000000.
But now the content of address 0x08000000 is blank, so it cannot start the program.
And I cannot find any information of the bootloader image and where it should be placed.
Does anyone has the experience to reprogram the blank MCU (STM32F103VCT6)?
Would you mind to share the memory content at 0x08000000?

Thanks in advance!
Attachments:

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

More
14 Mar 2015 05:04 - 14 Mar 2015 05:08 #29689 by PhracturedBlue
Replied by PhracturedBlue on topic Devo10 Flash Memory Content
you need both the bootloader and an unencrypted version of the devo10 firmware.

I don't seem to have a copy of the devo10 bootloader on hand, but you can run any stock bootloader as long as it jumps to the right memory address. Here's one:
libopencm3.org/wiki/USB_DFU
Though Walkera uses a modified version of the STMicro bootloader (which you can also use without issue). Finding it is annoying because they continuously rework their website though. If you can't get any of that working, I can dump the bootloader from my devo10 when I get a chance, but it likely won't be right away.
Note that if you use a custom bootloader, you need to always decrypt the firmware, since the Walkera bootloader does that as part of dfu upload.

you can decrypt the walkera dfu via the dfu.py script that is included in the deviation repo
Last edit: 14 Mar 2015 05:08 by PhracturedBlue.

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

More
14 Mar 2015 05:56 #29690 by tc3driver
Replied by tc3driver on topic Devo10 Flash Memory Content
Thanks for your reply, I will try "USB DFU" first.

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

More
15 Mar 2015 01:18 #29715 by PhracturedBlue
Replied by PhracturedBlue on topic Devo10 Flash Memory Content
Here is the devo10 bootloader (it is in raw bin syntax)
Attachments:

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

More
15 Mar 2015 15:07 #29745 by tc3driver
Replied by tc3driver on topic Devo10 Flash Memory Content
Thank you very much! At last, I still failed to download the USB DFU libopencm3, (It took me >2 hours for only 5% GIT cloned)
After programming your devo10bootloader.bin to 0x08000000, then the board can be detected by the "Devention DfuSe USB upgrade Tool" when pressing the EXT button, and then I can directly upgrade it to "deviation-devo10-v4.0.1".
Now my Devo10 is fixed. Thanks again !
Attachments:

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

More
23 Sep 2016 01:24 #54138 by steadfast4life
Replied by steadfast4life on topic Devo10 Flash Memory Content
I couldn't see how your wires were connected to the Devo 10 and ST Linker V2. Could you please share your connections. I have no bootloader on a dead devo 10.

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

More
06 Mar 2024 02:08 #78382 by PK
Replied by PK on topic Devo10 Flash Memory Content
Hai,
Im facing the same issue, dfu is recognized by windows and showing STM32 DFU, but not showing in the dfuse updater software. So I decided to update the bootloader via ST-Link v2 device.

could u please send the wiring diagram to connect devo 10 to ST-link v2.
Attachments:

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

More
06 Mar 2024 07:08 #78383 by -=Hubi-Dirk=-
Replied by -=Hubi-Dirk=- on topic Devo10 Flash Memory Content
May or have you tried this?

- In the device manager, search for the STM device under USB.
- The Devo 10 must be in DfuSe mode.
- Double-click on the STM device, select "Update drivers" and navigate to the point where it says "Search my computer for a driver".
- Then select "Let me choose from a list of device drivers on my computer".
- There should be 2 drivers there.
- Select STM-Device in DFU mode.
Attachments:

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

Time to create page: 0.035 seconds
Powered by Kunena Forum