Forum : ST7/STM8
Post Information | Post |
---|---|
April 23, 2009 - 6:42pm
|
We are attempting to eliminate the STM24C01-W serial EEPROM from our design to reduce BOM costs and are looking at using the built-in HDFlash to relocate the device serial number and calibration information from the SEEPROM. What we'd like to do is do an erase-all and program-all with a programmer, RLink or whatever of our application image with some reserved, unwritten space for the aforementioned serial number and calibration information (~16 bytes of information). We then would like to perform a series of HDFlash_WriteBytes using either IAP or ICC in a later manufacturing stage to write these ~16 bytes. Of these two options, ICC would be preferable as it removes the need to add IAP functionality to the image for what is effectively a one-time, factory-only use. Towards the ICC approach, is there an SDK or DDK for controlling RLink beyond ST7_pgm.exe or RFlasher 6/7 that would allow us to have finer-grained programming control? |
Hi,
With the current software you can only write complete memory images.
The simplest solution I see for you is to create a script or program that merges the hex files containing the general code (application) with the one containing the specific data (calibration) and then use ST7_pgm (or RFlasher) to program everything in one time.
I hope it helps.
Best Regards,
Vincent