Re-flashing Devo 7e bootloader?

More
12 Jun 2015 01:14 #33894 by Richard96816
Re-flashing Devo 7e bootloader? was created by Richard96816
Can someone point me to a good description of how to re-flash the Devo 7e bootloader?


Thanks!

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

More
12 Jun 2015 01:26 #33896 by PhracturedBlue
Replied by PhracturedBlue on topic Re-flashing Devo 7e bootloader?
What did you do that itis necessary?

I don't have a great description, but if you have a SWD debugger/programmer (STLink/V2) , you can install the bootloader by adding jumpers to the boot0 and power-override pads (the only 2-pin 0.1" pads on the board), and then using the STLink sftware to install the bin at 0x08000000

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

More
12 Jun 2015 02:45 #33897 by Richard96816
Replied by Richard96816 on topic Re-flashing Devo 7e bootloader?
Thanks. Don't know what happened. Was attempting to load Deviation via Linux. Got lots of error messages. Then the thing died. No lights, no nothing. Perhaps it's something worse than a trashed bootloader. Will see.

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

More
12 Jun 2015 07:18 #33908 by mwm
Replied by mwm on topic Re-flashing Devo 7e bootloader?
Try pulling the battery for 15 seconds. That"s generally enough.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

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

More
12 Jun 2015 23:59 #33975 by Richard96816
Replied by Richard96816 on topic Re-flashing Devo 7e bootloader?
Thanks. Tried that several times. No life.

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

More
13 Jun 2015 05:11 #33984 by SadSack
Replied by SadSack on topic Re-flashing Devo 7e bootloader?

PhracturedBlue wrote: What did you do that itis necessary?

I don't have a great description, but if you have a SWD debugger/programmer (STLink/V2) , you can install the bootloader by adding jumpers to the boot0 and power-override pads (the only 2-pin 0.1" pads on the board), and then using the STLink sftware to install the bin at 0x08000000


Do as above but also load again at 0x08003000 And this bit is important don't erase memory for second flash!
It does work, honestly.

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

More
15 Jun 2015 21:22 #34136 by Richard96816
Replied by Richard96816 on topic Re-flashing Devo 7e bootloader?
Is there a more detailed writeup of the process, items and files necessary?

I'm good with a soldering iron, etc. Not much knowledge of the processor in the Devo. Done Arduino and others.


Thanks

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

More
18 Jun 2015 02:37 #34250 by PhracturedBlue
Replied by PhracturedBlue on topic Re-flashing Devo 7e bootloader?
It turns out I had to do this today, so I can be pretty specific.
1st you need an stlink-v2 and a copy of the devo7e bootloader

You'll be using the 20pin header on the stlink.
on the 7e board, there is a 5-pin unpopulated header below the MCU, one pin is labeled RESET. We;ll call this pin '1'
connect pin1 (reset) on the Tx to pin 15 (NRST) on the stlink
connect pin2 (tms) on the Tx to pin 7 (TMS) on the stlink
connect pin3 (tck) on the Tx to pin 9 (TCK) on the stlink
connect pin4 (GND) on the Tx to pin 20 (GND) on the stlink
connect pin5 (Vdd) on the Tx to pin 1 (Vcc) on the stlink

just above the 5-pin header is a 2-pin unpopulated header. this is BOOT0. you need to place a jumper between the 2 pins.
On the upper left of the 7e circuit board is another 2-pin unpopulated header. This is power bypass. You'll need to short these together too, but not yet.

You need to install the software for the stlink-v2 to your PC (Windows only)

Now, plug in the st-link to the PC. It should be detected and drivers installed
Startthe ST-Link software.

make sure there are batteries in the Devo7e, and apply the jumper across the power bypass.

Now press the connect button in the stlink software on the PC. It should connect. If you get an error message, you have a connection wrong somewhere.

You will need to do a bulk-erase of the chip 1st. then you can load the bootloader and do a program&verify.
your bootloader is now loaded.

You need to disconnect the jumper on BOOT0 and power bypass before you do anything else.

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

More
21 Jun 2015 04:48 #34433 by Cereal_Killer
Replied by Cereal_Killer on topic Re-flashing Devo 7e bootloader?
Well I thought I had the programmer needed, till you said "20 pin header", I have one of the $5 Chinese "ST-Link V2 mini emulators" that I bought and use for bradwii, will that do the job?

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/

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

More
21 Jun 2015 12:15 - 21 Jun 2015 12:16 #34443 by SadSack
Replied by SadSack on topic Re-flashing Devo 7e bootloader?

Cereal_Killer wrote: Well I thought I had the programmer needed, till you said "20 pin header", I have one of the $5 Chinese "ST-Link V2 mini emulators" that I bought and use for bradwii, will that do the job?


Thats the one your good to go.
Last edit: 21 Jun 2015 12:16 by SadSack.

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

More
04 Nov 2015 01:30 #39525 by Tom
Replied by Tom on topic Re-flashing Devo 7e bootloader?
Will the USBasp - USB programmer for Atmel AVR controllers from Thomas Fischl work for this too?
That's the one I used for some Arduino projects with ATMEL MCUs.

Kind regards,
Tom

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

More
04 Nov 2015 02:47 #39528 by Cereal_Killer
Replied by Cereal_Killer on topic Re-flashing Devo 7e bootloader?
No, that's an AVR programmer, totally different from STM. You'll need the ST linker clone posted above.

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/

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

More
04 Nov 2015 03:11 #39530 by Tom
Replied by Tom on topic Re-flashing Devo 7e bootloader?
Okay, like I thought.
Then that's the one I'll order: ST-LINK V2 Emulator Downloader Programmer Support STM8 STM32

Thank you for the quick reply Cereal_Killer!
(By the way, are there anywhere some more detailed informations about your nice Devo 7e LED mod?)

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

More
04 Nov 2015 13:31 #39548 by Cereal_Killer
Replied by Cereal_Killer on topic Re-flashing Devo 7e bootloader?
Unfortunately no, but the only thing I did differently than everyone else's LED modding was to add a red LED in parallel with the piezo buzzer so there was a red flash anytime it beeps. Really nothing difficult at all. If you can do the range mod LED'S are child's play.

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/

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

More
14 Mar 2016 11:37 #44556 by Blisk
Replied by Blisk on topic Re-flashing Devo 7e bootloader?
Hi
I am trying to change bootloader for devo F12E 1.6B to devo F12E 1.6A which is 100mW.
Does anyobdy did that already and can give me some instructions how to do it?

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

More
17 Mar 2016 12:51 #44708 by Blisk
Replied by Blisk on topic Re-flashing Devo 7e bootloader?
If anyone is willing to help me with flashing bootloader for F12E I will make instructions with pictures for toher which wll like to do that!

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

More
15 Apr 2016 18:00 #46575 by FriedSky
Replied by FriedSky on topic Re-flashing Devo 7e bootloader?
Errm, where can i get a copy of the devo7e bootloader ?.
Can i extract it from another 7e via ST- Link ?.

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

More
15 Apr 2016 18:12 - 15 Apr 2016 18:15 #46576 by silpstream
Replied by silpstream on topic Re-flashing Devo 7e bootloader?
Here you go.
www.deviationtx.com/links?task=weblink.go&id=29

The stock transmitter is read protected so stlink can't download it for you.
Last edit: 15 Apr 2016 18:15 by silpstream.

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

More
15 Apr 2016 19:06 #46578 by FriedSky
Replied by FriedSky on topic Re-flashing Devo 7e bootloader?

silpstream wrote: Here you go.
The stock transmitter is read protected so stlink can't download it for you.


Ahh i see. That's maybe why when i was messing about a few weeks ago with the ST serial bootloader, it just gave me the "protected" message and i gave up.
Thanks for the quick reply.
One more question ...
Is the devo7ebootloader_256.bin file for a different chip ?.

Thanks.

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

More
15 Apr 2016 19:16 - 05 May 2016 11:46 #46579 by silpstream
Replied by silpstream on topic Re-flashing Devo 7e bootloader?
That's right. I believe PB wrote a separate piece of code to loaded onto the chip to read and dump the boot loader. I've seen references to it in the source code, but have not played around with it.

devo7ebootloader_256.bin is a modified version that PB put up if you upgrade your stock chip to the STM32F103RCT6 which has 256K instead of the stock 128K so that we can upload a DFU file bigger than 128K. In my case I upgraded to the STM32F103RET6 (with 512K). The 256K boot loader works for both though.
Last edit: 05 May 2016 11:46 by silpstream.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum