LPC8N04 EEPROM writing

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

LPC8N04 EEPROM writing

跳至解决方案
1,780 次查看
Caroline22
Contributor II

Hello,

I have questions about LPC8N04 EEPROM, SWD connection:

- how to start writing to EEPROM? (I can't write to CMD - 0x4003 4000 - in user manual: "When writing the binary value 110b inside the CMD register field, programming starts: " - is there more info? should I set something else before CMD? - I tried to set CMD with powered and powered down EEPROM - same effect)

- is there any description of STATUS register (address 0x4003 4034)? - for example: reset value for HVTRIM_E is not 0 (after powred EEPROM - also is not 0) - I read registers about EEPROM power settings - there are values as it should be in EEPROM powered case

- CLKDIV1 (0x4003 4054) and CLKDIV2(0x4003 4058) with read access - can't be read

- what values should be set in Wait state registers (WSTATE, WSTATE) (address 0x4003 4008)(address 0x4003 4010) - can i find more details?

 

 

标签 (1)
0 项奖励
回复
1 解答
1,768 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

There is EEPROM example in SDK package for LPC8N04, pls refer to it.

You can download SDK from the link:

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-s...

Hope it can help you

BR

XiangJun Rong

xiangjun_rong_0-1644214596189.png

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,769 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

There is EEPROM example in SDK package for LPC8N04, pls refer to it.

You can download SDK from the link:

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-s...

Hope it can help you

BR

XiangJun Rong

xiangjun_rong_0-1644214596189.png

 

0 项奖励
回复
1,732 次查看
Caroline22
Contributor II

Thank you!

0 项奖励
回复