I deleted devo 7e Bootloader. But now working...

More
12 Sep 2013 23:52 - 16 Sep 2013 10:35 #13748 by SadSack
Hi
Well I've been very silly(not the word i want to use) While i was poking around Devo7e using StLink v2. I thought i was just looking But! was making changes, Flash is now unprotected...whoops

Now Walkera's DFU loader does have CRC checking but ST Loader does good job too. Well not going to find Walkera's loader anywhere and ST's i just can not find it anywhere, maybe just not using right wording in my search.

I've looked though forum and i can find info about bootloader but nothing on how to go about replacing it or even files needed.

Any help would be great :-) Thanks
Last edit: 16 Sep 2013 10:35 by SadSack. Reason: Now working

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

More
13 Sep 2013 04:14 - 13 Sep 2013 04:14 #13754 by FDR
Send PhracturedBlue a PM.
I don't know if he has the bootloader for the 7E too (he had for the 8 ), but he can extract it from his...
Last edit: 13 Sep 2013 04:14 by FDR.

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

More
13 Sep 2013 10:46 #13757 by SadSack
Replied by SadSack on topic I deleted devo 7e Bootloader. So its dead...
Thanks. I'll do that and hope :)

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

More
13 Sep 2013 16:17 #13763 by SadSack
Replied by SadSack on topic I deleted devo 7e Bootloader. So its dead...
Pm sent.

Now I have STlink can i manually flash and run code, if so how ?

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

More
14 Sep 2013 04:45 #13768 by SadSack
Replied by SadSack on topic I deleted devo 7e Bootloader. So its dead...
Well St bootloader is intact and quit easy to get running but no luck as yet re-flashing Devo7e.bin.
Anyone got other info ?

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

More
14 Sep 2013 05:07 #13769 by FDR
The ST bootloader won't do, because the fw in the dfu is slightly encoded, and the bootloader will decode it, but only the Walkera bootloader will do it, the ST do not...

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

More
14 Sep 2013 06:22 #13771 by SadSack
Replied by SadSack on topic I deleted devo 7e Bootloader. So its dead...
ahh! that would be why then :-)

So compiling without offset not going to be very easy...doh

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

More
14 Sep 2013 06:26 - 14 Sep 2013 06:35 #13772 by FDR
Actually, you can try to remove the encoding from the python script, which makes the dfu...
Last edit: 14 Sep 2013 06:35 by FDR.

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

More
14 Sep 2013 06:39 #13773 by SadSack
Replied by SadSack on topic I deleted devo 7e Bootloader. So its dead...
i just renamed dfu.py so it couldn't be used.
Bin file still looks the same ...bugger

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

More
14 Sep 2013 06:45 #13774 by FDR
I think the bin file is fine and should be the same. It is only encoded during packing it into the dfu...
So if you can upload the bin to the appropriate address, it might work...

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

More
14 Sep 2013 07:31 #13775 by SadSack
Replied by SadSack on topic I deleted devo 7e Bootloader. So its dead...
used address 0x08000000 and 0x08003000 and no joy.
Far to many options and I'm only guessing :)

So many pieces to the puzzle....

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

More
16 Sep 2013 10:38 #13822 by SadSack
Well I got lucky and change 'option bytes' and it running again!! No walkera loader so have to open tx to do updates but does free up 12k, so not all bad.

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

More
16 Sep 2013 11:53 #13825 by RandMental
Replied by RandMental on topic I deleted devo 7e Bootloader. But now working...
Might be useful to the forum if you explain how you did it and where to make the connections.

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

More
16 Sep 2013 12:32 #13826 by SadSack
I can do that. I used STLinkv2 but using usb/serial should do it as well.
I'll do some screen grabs. Mostly because I don't understand the options I used and someone with greater understanding could complete the picture with little more info.

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

More
16 Sep 2013 19:10 #13832 by domcars0

RandMental wrote: Might be useful to the forum if you explain how you did it and where to make the connections.

+1 !

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:

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

More
17 Sep 2013 15:01 #13861 by SadSack
Yes I shall do write up on updating TX without Walkera loader, using STlinkv2 and ST serial bootloader. Results are little odd but all appears to work OK.

Well i have a Q: about how to compile Deviation Nightly Builds ?

I made minor change to make file so i could compile using 'make target=devo7e' which works fine, no problems there.
Still to re-flash using ST's serial bootloader i need Bin file that i 128k in size and loads @ 0x08000000. Though code needed to run start's @ 0x08003000.
Using STlink I can use Bin file that make spits out but using ST serial bootloader I have to use a full 128k bin otherwise it don't work.
Can make file be simply changes to do this?

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

Time to create page: 0.058 seconds
Powered by Kunena Forum