- Posts: 208
Re-flashing Devo 7e bootloader?
- Richard96816
- Topic Author
- Offline
Thanks!
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
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.
- Richard96816
- Topic Author
- Offline
- Posts: 208
Please Log in or Create an account to join the conversation.
- mwm
- Offline
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.
- Richard96816
- Topic Author
- Offline
- Posts: 208
Please Log in or Create an account to join the conversation.
- SadSack
- Offline
- Posts: 317
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.
- Richard96816
- Topic Author
- Offline
- Posts: 208
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.
- PhracturedBlue
- Offline
- Posts: 4402
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.
- Cereal_Killer
- Offline
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.
- SadSack
- Offline
- Posts: 317
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.
Please Log in or Create an account to join the conversation.
- Tom
- Offline
- Posts: 5
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.
- Cereal_Killer
- Offline
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.
- Tom
- Offline
- Posts: 5
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.
- Cereal_Killer
- Offline
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.
- Blisk
- Offline
- Posts: 16
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.
- Blisk
- Offline
- Posts: 16
Please Log in or Create an account to join the conversation.
- FriedSky
- Offline
- Posts: 15
Can i extract it from another 7e via ST- Link ?.
Please Log in or Create an account to join the conversation.
- silpstream
- Offline
- Posts: 244
www.deviationtx.com/links?task=weblink.go&id=29
The stock transmitter is read protected so stlink can't download it for you.
Please Log in or Create an account to join the conversation.
- FriedSky
- Offline
- Posts: 15
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.
- silpstream
- Offline
- Posts: 244
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.
Please Log in or Create an account to join the conversation.
- Home
- Forum
- General
- General Discussions
- Re-flashing Devo 7e bootloader?