gc80c590ae CORERIVER Semiconductor, gc80c590ae Datasheet - Page 79

no-image

gc80c590ae

Manufacturer Part Number
gc80c590ae
Description
Flash / Isp / Iap 8-bit Turbo Microcontrollers
Manufacturer
CORERIVER Semiconductor
Datasheet
Address
6.17. IAP : Function Set
FFF0h
IAP call address
IAP return value
Before calling IAP function, FLASH_AEN flag in FAEN SFR must be set.
After executing IAP function, the value of PSW SFR can be changed.
During “Byte Erase” IAP functions, the part of External RAM (0600h~06FFh) is used.
Any interrupt service routine will not be executed in time since the CPU is suspended for tens of milliseconds
during executing an IAP function (Program/Erase).
Call
FFF0h
Success
Program Fail
Address fail
Lock fail
Command fail
If user software uses External RAM area(0600h~06FFh), the contents must be backup.
Command
Program
Erase
: [ACC] 8Xh
: [ACC] FCh
: [ACC] FDh
: [ACC] FEh
: [ACC] FFh
Semiconductor Co., Ltd.
Program EEPROM Byte
Erase EEPROM Sector
Erase EEPROM Byte
Program Code Byte
Erase Code Sector
Erase Code Byte
Function
3h
6h
1h
2h
4h
5h
B
Programmed code
Programmed data
Don’t care
Don’t care
Don’t care
Don’t care
ACC
Sector Address
Sector Address
Flash address
Flash Address
EEP Address
EEP Address
DPTR
0600h ~ 06FFh 85h/FDh/FEh/FFh
0600h ~ 06ffh
Used XRAM
Area
MiDAS2.0 Family
No
No
No
No
83h/FCh/FDh/FEh/FFh
86h/FCh/FDh/FEh/FFh
81h/FDh/FEh/F로
82h/FDh/FEh/FFh
84h/FDh/FEh/FFh
Return Value
(ACC)
[79]

Related parts for gc80c590ae