Skip to main content
Knowledgebase
Home
Renesas Electronics America - Knowledgebase

Where is the address when reset is release under normal conditions?

Latest Updated:03/08/2012

Question:

In the Flash version, when a reset is released under normal operating conditions (not in the Flash programming mode), where is the start address? If the user program is programmed, will the standard boot program be erased? (Or will I still be able to rewrite the Flash?) [M32C/80 Series, M16C/80 Series, M16C/62P Group, M16C/62N (incl. M3062GF8NFP/GP) Group, and M16C/62A (incl. M16C/62T), M16C/62M Group]

[ About the M16C/Tiny Series products, click here.]

Answer:

The Flash version has two memory areas.
When CNVss = "H", EPM = "L"and CE = "H" and a reset is released, the boot area will be selected.
In any other condition, the user area will be selected. When a reset is released in the user mode (using the user area), the start address will be the address stored in the reset vector of the user area, and the program will start from this address.
Since the boot area is completely separated from the user area, the standard boot program is never erased even when the user programs in the user area.
Suitable Products
M32C/88
M32C/87
M32C/85
M32C/84
M32C/83
M32C/80
M16C/62A
M16C/62A(M16C/62T)
M16C/62M
M16C/62N
M16C/62N(M3062GF8NFP, M3062GF8NGP)
M16C/62P
M16C/6N4, M16C/6N5
M16C/6NK, M16C/6NL, M16C/6NM, M16C/6NN
M16C/30P