HEX to BIN ??

--DSO203

Moderators: violet, jessie, jpa

Post Reply
wagnermerle
Pre-kindergarten
Pre-kindergarten
Posts: 26
Joined: Fri Dec 05, 2014 3:50 am

HEX to BIN ??

Post by wagnermerle » Mon Dec 08, 2014 4:38 am

I have the V2.81 hdwe and recently downloaded the bootloader code (1st 16K) with the STM serial interface. The download only provides a hex file and the upload to flash anything requires a BIN file.

So the question is whether I can use a HEX to BIN convertor to enable me to upload this bootloader code???

Merle

wagnermerle
Pre-kindergarten
Pre-kindergarten
Posts: 26
Joined: Fri Dec 05, 2014 3:50 am

Re: HEX to BIN ??

Post by wagnermerle » Mon Dec 08, 2014 6:29 am

OK, after some research I found SW that will let me review the HEX file and also save it in BIN. Interesting notes I found in the code.. The micro controller being used is the STM32F103VE. There was some other data regarding the FPGA I believe.

I can put both of the files up if anyone is interested. I can't validate them since my Quad is not working in the DFU mode. At least it is the bootloader for V2.81. If someone has a Brick then they can try uploading it.

Merle

bobtidey
Elementary-1
Elementary-1
Posts: 174
Joined: Sun May 13, 2012 9:39 am
Are you a staff member of seeedstudio?: no
Which products/projects are your favorite?: DSO Quad

Re: HEX to BIN ??

Post by bobtidey » Mon Dec 08, 2014 5:46 pm

I'd be interested to see the dumps.

They are not of direct use to me as I have earlier hardware and a 3.11C DFU. However, I did do a simple disassem of that version to see the Licensing handling so I may be able to do some sort of rough comparison.

wagnermerle
Pre-kindergarten
Pre-kindergarten
Posts: 26
Joined: Fri Dec 05, 2014 3:50 am

Re: HEX to BIN ??

Post by wagnermerle » Mon Dec 08, 2014 9:55 pm

I have attached a zip file of the HEX and BIN files for the V2.81 bootloader on my Quad.

Hopefully it works, I have not used the "create" portion of ZIP in a rather long time.

michal.kubis
Pre-kindergarten
Pre-kindergarten
Posts: 11
Joined: Tue Oct 28, 2014 5:22 pm

Re: HEX to BIN ??

Post by michal.kubis » Sat Dec 20, 2014 3:01 am

Let me explain what I did first. I experimented last time with various FPGA/SYS/APP and I can't remember what versions I mixed up, but after all I gave up.

When I tried your file today, it worked! It complained only about that licence code. Then I wanted to update FPGA/SYS/APP with latest versions for my HW2.81, but unfortunately it is now complaining about FPGA error on startup. So it works with some of the older FPGA/SYS/APP combinations, which I can't remember :( so I still need to wait for SEEED stuff for their official release of DFU for HW2.81 :(

Thank you wagnermerle anyway! Really appreciate.

8mqej3p
Pre-kindergarten
Pre-kindergarten
Posts: 3
Joined: Wed Feb 17, 2016 5:52 am

Re: HEX to BIN ??

Post by 8mqej3p » Thu Jul 28, 2016 12:01 pm

wagnermerle wrote:after some research I found SW that will let me review the HEX file and also save it in BIN
Can you, please, provide some info or link to that hex2bin software you have used?

Post Reply