RENESAS
WorldWide
North America Europe Asia Japan
Search
Document Part# Parametrics
Global site
Home Register Company Info Site Map Contact us
Comment on this page

Questions about M16C Flash Starter

   
M16C Family
When I program the on-chip Flash memory using the M16C Flash Starter, I got a [Not match ID] error and unable to program the memory. What value should I input to verify the ID code? New
M16C/80 Series M16C/62 Group M16C/20 Series When I program the on-chip Flash memory using the M16C Flash Starter without setting a value in the ID code area, what will be written in the ID code area? The next time I reprogram, what value should I input to verify the ID code?
M16C/80 Series M16C/62 Group M16C/20 Series Currently, M16C Flash Starter only supports a total erase. Do you have any plans to support the block erase?
  M16C/62 Group   Does M16C Flash Starter work with M16C/62T as well?
M16C/80 Series M16C/62 Group M16C/20 Series 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 unable to program the memory. What is the problem?
M16C/80 Series M16C/62 Group M16C/20 Series I am programming the on-chip Flash memory with the M16C Flash Starter. When I program a blank Flash memory, if I leave the ID code column empty, I get the [Do not match ID style] error and I can't program the memory. What should I do?
M16C/80 Series M16C/62 Group M16C/20 Series When I try to program the on-chip Flash memory with the M16C Flash Starter, I get the [Not match ID] error and I can't program the memory. I get the same error even with a blank Flash memory. What could be the cause of this problem?

Currently, M16C Flash Starter only supports a total erase. Do you have any plans to support the block erase?

We don't have any plans to do this.

[Top of Page]


Does M16C Flash Starter work with M16C/62T as well?

Yes, it does.

[Top of Page]


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 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 6.3 About the ID Check for details.

[Top of Page]


I am programming the on-chip Flash memory with the M16C Flash Starter. When I program a blank Flash memory, if I leave the ID code column empty, I get the [Do not match ID style] error and I can't program the memory. What should I do?

The M16C Flash Starter always requires an ID code. You always need to enter an ID code to be able to program a blank Flash memory. The ID code can be any value for a blank Flash memory but you cannot leave it blank.

[Top of Page]


When I try to program the on-chip Flash memory with the M16C Flash Starter, I get the [Not match ID] error and I can't program the memory. I get the same error even with a blank Flash memory. What could be the cause of this problem?

Please review and ensure the target board pins have been connected correctly (NMI pin, CNVss pin, etc.). For details, refer to the M16C Flash Starter User's Manual, Section 6.2 Standard Serial I/O Mode.

[Top of Page]


When I program the on-chip Flash memory using the M16C Flash Starter without setting a value in the ID code area, what will be written in the ID code area? The next time I reprogram, what value should I input to verify the ID code?

When programming the on-chip Flash memory without setting a value in the ID code area, the M16C Flash Starter will set either "00 00 00 00 00 00 00" or "FF FF FF FF FF FF FF" in the ID code area. Therefore, the next time you reprogram the Flash memory, input either [all "00h"] or [all "FFh"] to verify the ID code.

[Top of Page]


When I program the on-chip Flash memory using the M16C Flash Starter, I got a [Not match ID] error and unable to program the memory. What value should I input to verify the ID code?

When you program the on-chip Flash memory for the first time, you can use any values for the ID code. The ID matching will succeed. (When using the M16C Flash Starter, you always need to enter an ID code.)
If you have programmed the on-chip Flash memory already, a value written in the following addresses (including FFh, 00h) becomes the ID code.
When the ID code is unknown, please check the following addresses of your program written in the on-chip Flash memory. Usually MOT suffix file of Motorola S format file or HEX suffix file of Intel HEX format.

Addresses to be checked in M16C/20, M16C/60 Series

  • FFFDFh
  • FFFE3h
  • FFFEBh
  • FFFEFh
  • FFFF3h
  • FFFF7h
  • FFFFBh
Addresses to be checked in M16C/80, M32C/80 Series
  • FFFFDFh
  • FFFFE3h
  • FFFFEBh
  • FFFFEFh
  • FFFFF3h
  • FFFFF7h
  • FFFFFBh
If nothing exists in these addresses in the program, "00h" or "FFh" becomes the ID code. The cases where no data exists are the following two.

Case 1: No vector table is made
In this case, no data is set in MOT or HEX file because the ID code is saved in the highest order address in the vector table. However, Flash memory programmers often have a default value in free space. If so, the default value becomes the ID code. When using the M16C Flash Starter, the default value is "00h" and the ID code thus is "00h".
Case 2: When no value is set in the above addresses
In this case, the addresses and data are set by .lword. Since the ID code is saved in the highest order address in the vector table, ID code is "00h".

Additionally, you can set an ID code with the compiler (lmc30) using -ID option.

1. When specifying -ID option only:
ID code is "FFh".
2. When not using -ID option:
Values written in the above ID code store addresses become an ID code.
For details, please refer to the section "Method for Operating lmc30" in the AS30 User's Manual.

[Top of Page]


Terms of Use Privacy Policy (C)2004 Renesas Technology Corp., All Rights Reserved.