Skip to main content
lee
Associate II
January 23, 2014
Question

Hex file for production

  • January 23, 2014
  • 12 replies
  • 3248 views
Posted on January 23, 2014 at 15:47

I am using the STM32L100. How I can combine the hex file for my bootloader with the hex file for my application into one hex file for production?

#spi-program
This topic has been closed for replies.

12 replies

dstegs
Associate II
November 10, 2015
Posted on November 11, 2015 at 00:29

Hi Lee,

Quick question, what file type do you send to the STM32L while it is booted into the bootloader? I'm trying to figure out which file to write to memory so I can program it over the spi port. Also which part of the file do you need to write to the device? Or do you write the whole file (.hex? .bin?) to flash?

Thank you!

Daniel

Tesla DeLorean
Guru
November 11, 2015
Posted on November 11, 2015 at 01:13

The .HEX is a means of encapsulating the data in a 7-bit ASCII format. The data sent to the System Loader, via example tools like the Flash Loader Demonstrator, is the binary data and addresses described in the .HEX file

The data formats and packets needs by the System Loader are described in the documentation for the protocol.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..