Skip to main content
Knowledgebase
Home
Renesas Electronics America - Knowledgebase

Are the same program be used if replace Spec. H and L products of 3803?

Latest Updated:07/04/2008

Question:

(MCU Comparison, Migration)  Can the same program be used unchanged when replacing between the standard, Spec. H, and Spec. L products of the 3803 Group? [2008/07/04]

Answer:

Basic program contents are described below. Please note that memory capacity differs by product.
For general differences between products, refer to the documentation on differences. For detailed product specifications, refer to datasheets and 3803 Group technical updates. In addition, test the operation of replaced products.

Product Numbers

  Standards Spec. H Spec. L
Mask ROM M38039MF-XXXSP/FP/HP
M38039MC-XXXSP/FP/HP
M38037M8-XXXSP/FP/HP
M38037M6-XXXSP/FP/HP
M38034M4-XXXSP/FP/HP
M38039MFH-XXXSP/FP/HP/KP/WG
M38039MCH-XXXSP/FP/HP/KP
M38037M8H-XXXSP/FP/HP/KP
M38037M6H-XXXSP/FP/HP/KP
M38034M4H-XXXSP/FP/HP/KP
M38039MFL-XXXSP/HP/KP/WG
Flash memory M38039FFSP/FP/HP M38039FFHSP/FP/HP/KP/WG M38039FFLSP/HP/KP/WG
QzROM - M38039GCH-XXXHP/KP/WG
M38039G8H-XXXHP/KP
M38039G6H-XXXHP/KP
M38039G4H-XXXHP/KP
M38039GCHSP/HP/KP/WG
M38039G8HSP/HP/KP
M38039G6HSP/HP/KP
M38039G4HSP/HP/KP
-

Note: Program checksum

When calculating the checksum of ROM area using a program, make sure to check for differences in target calculation areas.
When the unused area and reserved ROM area are included in target areas of replaced products, the read values are undefined and calculated values of the checksum are also undefined.

(1) Standard Mask ROM version → Spec.L Mask ROM version

Basically, program changes are unnecessary. Refer to the technical update, Note on 3803 Group A/D Converter (TN-380-A067A/E second editions).

(2) Standard Flash Memory version → Spec.L Flash Memory version

      
  1. When using addresses FFD4h to FFDAh, check the following:
          The code written in these addresses is the ID code of the Spec.L Flash Memory version
          when using a serial programmer. This code must be input as the ID code when reprogramming
          flash memory using a serial programmer. Since the code in these addresses can be executed
          as instructions, they only need to be checked when using a serial programmer.
  2. Bits 7 to 2 of address FFDBh are the protect set bits of the Spec.L Flash Memory version when using a parallel programmer. If you do not want these bits to be set, you must change the program. However, since the protect set bits do not have any effect when a serial programmer is in use, changing them is not essential. As with addresses FFD4h to FFDAh, this address can be used to execute instructions.
  3. If a program accesses addresses 0FE0h to 0FEFh, it must be changed to not access these addresses.
  4. In the Spec.L Flash Memory version, nothing is assigned to addresses 0FFEh and 0FFFh, so program changes are unnecessary even if programming had been performed in the Standard Flash Memory version.
  5. Program changes are necessary when the oscillation stabilization time after the STP instruction is released is less than 100μsec in stop mode. Set the oscillation stabilization time setting for after the release of the STP instruction which uses timer 1 to 100μsec or more.
  6. When using CPU rewrite mode, overall changes to the related processes are necessary.

(3) Spec.H Mask ROM version → Spec.L Mask ROM version

Basically, program changes are unnecessary. Refer to the technical update, Note on 3803 Group A/D Converter (TN-380-A067A/E second editions).

(4) Spec.H Flash Memory version → Spec.L Flash Memory version

Program changes are unnecessary.

(5) Standard Mask ROM version → Spec.H QzROM version

  1. A ROM 60 Kbytes version is not available for QzROM.
  2. When using address FFDBh, program changes are necessary. Address FFDBh of the QzROM version is the ROM code protect address. In a user program, set this address as FFh.
  3. Refer to the technical update, Note on 3803 Group A/D Converter (TN-380-A067B/J second editions).

(6) Standard Flash Memory version → Spec.H QzROM version

  1. A ROM 60 Kbytes version is not available for QzROM.
  2. When using the first 128 bytes and last 2 bytes of ROM area, program changes are necessary. Since the first 128 bytes and last 2 bytes of ROM area of the QzROM version are reserved areas for product testing, these areas cannot be used by user programs.
  3. When using address FFDBh, program changes are necessary. Address FFDBh of the QzROM version is the ROM code protect address. In a user program, set this address as FFh.
  4. If a program accesses addresses 0FE3h to 0FEFh, it must be changed to not access these addresses.
  5. In the Spec.H QzROM version, nothing is assigned to addresses 0FFEh and 0FFFh, so program changes are unnecessary even if programming had been performed in the Standard Flash Memory version.
  6. When using CPU rewrite mode, delete the related processes.
  7. Refer to the technical update, Note on 3803 Group A/D Converter (TN-380-A067B/J second editions).

(7) Spec.H/L Mask ROM version → Spec.H QzROM version

  1. A ROM 60 Kbytes version is not available for QzROM.
  2. When using address FFDBh, program changes are necessary. Address FFDBh of the QzROM version is the ROM code protect address. In a user program, set this address as FFh.
  3. Refer to the technical update, Note on 3803 Group A/D Converter (TN-380-A067B/J second editions).

(8) Spec. H/L flash memory version → Spec. H QzROM version

  1. A ROM 60 Kbytes version is not available for QzROM.
  2. When using the first 128 bytes and last 2 bytes of ROM area, program changes are necessary. Since the first 128 bytes and last 2 bytes of ROM area of the QzROM version are reserved areas for product testing, these areas cannot be used by user programs.
  3. When using address FFDBh, program changes are necessary. Address FFDBh of the QzROM version is the ROM code protect address. In a user program, set this address as FFh.
  4. Although the ID code (addresses FFD4h to FFDAh) does not have any function in the Spec.H QzROM version, program changes are unnecessary.
  5. In the Spec.H QzROM version, nothing is assigned to addresses 0FE0h to 0FE2h, so program changes are unnecessary even if programming had been performed in the Spec.H/L Flash Memory version.
  6. When using CPU rewrite mode, delete the related processes.
  7. Refer to the technical update, Note on 3803 Group A/D Converter (TN-380-A067B/J second editions).
(#106950)
Suitable Products
3803H
3803L