- Posts: 208
Re-flashing Devo 7e bootloader?
- Richard96816
-
Topic Author
- Offline
Less
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!
Thanks!
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
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
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
- Richard96816
-
Topic Author
- Offline
Less
More
- Posts: 208
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.
- mwm
-
- Offline
12 Jun 2015 07:18 #33908
by mwm
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.
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.
- Richard96816
-
Topic Author
- Offline
Less
More
- Posts: 208
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.
- SadSack
-
- Offline
Less
More
- Posts: 317
13 Jun 2015 05:11 #33984
by SadSack
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.
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.
- Richard96816
-
Topic Author
- Offline
Less
More
- Posts: 208
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
I'm good with a soldering iron, etc. Not much knowledge of the processor in the Devo. Done Arduino and others.
Thanks
- PhracturedBlue
-
- Offline
Less
More
- Posts: 4403
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.
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.
- Cereal_Killer
-
- Offline
21 Jun 2015 04:48 #34433
by Cereal_Killer
Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7
What I do in real life: rivergoequestrian.com/
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/
- SadSack
-
- Offline
Less
More
- Posts: 317
21 Jun 2015 12:15 - 21 Jun 2015 12:16 #34443
by SadSack
Thats the one your good to go.
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.
- Tom
-
- Offline
Less
More
- Posts: 5
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
That's the one I used for some Arduino projects with ATMEL MCUs.
Kind regards,
Tom
- Cereal_Killer
-
- Offline
04 Nov 2015 02:47 #39528
by Cereal_Killer
Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7
What I do in real life: rivergoequestrian.com/
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/
- Tom
-
- Offline
Less
More
- Posts: 5
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?)
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?)
- Cereal_Killer
-
- Offline
04 Nov 2015 13:31 #39548
by Cereal_Killer
Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7
What I do in real life: rivergoequestrian.com/
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/
- Blisk
-
- Offline
Less
More
- Posts: 16
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?
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?
- Blisk
-
- Offline
Less
More
- Posts: 16
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!
- FriedSky
-
- Offline
Less
More
- Posts: 15
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 ?.
Can i extract it from another 7e via ST- Link ?.
- silpstream
-
- Offline
Less
More
- Posts: 244
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.
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.
- FriedSky
-
- Offline
Less
More
- Posts: 15
15 Apr 2016 19:06 #46578
by FriedSky
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.
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.
- silpstream
-
- Offline
Less
More
- Posts: 244
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.
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.
Time to create page: 0.111 seconds
-
Home
-
Forum
-
General
-
General Discussions
- Re-flashing Devo 7e bootloader?