MC9S08PA EEPROM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MC9S08PA EEPROM

1,380 次查看
lamatrice
Contributor I

Hi,

 

I am using MC9S08PA4 and cannot get the EEPROM to work. I want to write 1 byte in non-volatile memory and read it after a power reset

 

I used the reference manual and AN4570 for documentation, and I am writing in c:

- Setup the proper speed FDIV

- Unsecured the flash and eeprom

- Erase the first sector (0x3100)

- Verify Erase first sector

- Program the first sector

 

Is there any special command for reading the EEPROM, or just read first NVM_FCCOB ??

 

thanks,

 

Daniel

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

980 次查看
david_diaz
NXP Employee
NXP Employee

Hello Daniel,

Please be aware that if the FCLKDIV register has not been written, any flash and EEPROM program or erase command loaded during a command write sequence will not execute.

Are you writing to FCLKDIV register in order to divide BUSCLK down?

Have a great day.

David

0 项奖励
回复