??? 06/07/06 19:04 Read: times |
#117972 - Overwrite it Responding to: ???'s previous message |
Hi Jan,
Does the writer have the function, 'write without erase'? Then you can 'overwrite' the serial number in two stages. 1) In the first write, write the whole code with 'blank' (0xFF) serial number. 2) Then overwrite the serial number to the corresponding address. FLASH is erased to 0xFF (in most case). When a data is written to FLASH, only '0' bits are written, and '1' bits are not actually written. Therefore, you can safely overwrite to '0xFF' bytes. This means you don't need to edit a whole HEX file. Make a HEX file only for the serial number. Srecord, bin2hex, etc.. will do. Tsuneo |
Topic | Author | Date |
serial number into intelhex file | 01/01/70 00:00 | |
I know of none, but | 01/01/70 00:00 | |
I don't need it to be so "hard"... | 01/01/70 00:00 | |
Rolling your own will be faster | 01/01/70 00:00 | |
File manglers | 01/01/70 00:00 | |
avoid duplicate effort - add to srecord? | 01/01/70 00:00 | |
hexmate | 01/01/70 00:00 | |
won't work for me | 01/01/70 00:00 | |
Shell script or 010Editor | 01/01/70 00:00 | |
Yadda-yadda-yadda | 01/01/70 00:00 | |
Resd the specs | 01/01/70 00:00 | |
Overwrite it | 01/01/70 00:00 | |
hmm | 01/01/70 00:00 | |
Serializing | 01/01/70 00:00 | |
Here is something to try | 01/01/70 00:00 | |
my thoughts | 01/01/70 00:00 | |
solved![]() | 01/01/70 00:00 |