21. Memory programming
A96G150 User's manual
300
21.3.2
Data EEPROM operation
Program and erase operation of Data EEPROM are executed by direct and indirect address mode.
Direct address mode uses external data area of 8051. Indirect address mode uses address register of
SFR area.
Data EEPROM Read
①
Enter OCD(=ISP) mode.
②
Set ENBDM bit of BCR.
③
Enable debug and Request debug mode.
④
Read data from Data EEPROM.
Enable program mode
①
Enter OCD(=ISP) mode.
1
②
Set ENBDM bit of BCR.
③
Enable debug and Request debug mode.
④
Enter program/erase mode sequence.
2
A.
Write 0xA5 to FEDR.
B.
Write 0x5A to FEDR.
NOTES
:
1.
Refer to how to enter ISP mode..
2.
Command sequence to activate data EEPROM write/erase mode. It is composed of sequentially
writing to data register (FEDR).
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...