We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Please help me!
I want to place the binary files into flash memory as constants. How can I do it?
Thank you.
It sounds correct. The one to use depends on what, how and when you need to update those constants.
I think more alternatives could be found, but it depends on what approach you are willing to use, I'm referring to compile-time or rum-time update of your Flash constants.
Options number 1, 2 and 3 are all compile-time ways to do it.
If you are looking for a compile-time solution, and options number 1, 2 and 3 cannot be used, you may be trying to solve a political problem :-)
This may help http://www.keil.com/support/docs/2218.htm
Thanks to everyone who pitched in and helped.
Of course, I see the difference between run- and compile- time placing BIN DATA. In a first time I want to compile-time place DATA file into ROM.
See also: srecord.sourceforge.net/ which contains the "C Array" format. It's Open Source.