MC9S08PA EEPROM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MC9S08PA EEPROM

1,378件の閲覧回数
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 返信

978件の閲覧回数
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 件の賞賛
返信