I am programming the on-chip Flash memory with the M16C Flash Starter. The first time I programmed the memory, I entered an all "00h" as the ID code and everything worked successfully. However, the next time I entered an all "00h" as the ID code, I got a [Not match ID] error and am unable to program the memory. What is the problem?
The ID you enter is used to 'unlock' the device so you can program it. It is NOT the ID that will be programmed on the device. The ID code changes according to the contents written to the on-chip Flash memory during the previous programming session. You should know this ID prior to programming the device otherwise you cannot re-program the device. (The ID code can be any value for a blank Flash memory.) Please refer to M16C Flash Starter User's Manual, Section 4.1 About the ID Check for details.
|R8C/34E, R8C/34F, R8C/34G, R8C/34H|
|R8C/36E, R8C/36F, R8C/36G, R8C/36H|
|R8C/38E, R8C/38F, R8C/38G, R8C/38H|
|M16C/6NK, M16C/6NL, M16C/6NM, M16C/6NN|
|SDK-PLC-EU-A (or -B for CENELEC B band)|