DATA NOT WRITE IN SRAM0 in LPC546

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

DATA NOT WRITE IN SRAM0 in LPC546

跳至解决方案
2,937 次查看
k_sunilgupta
Contributor II

Hi All,

 

I was trying to write data in SRAM0 with value of 0x55, value has write properly but at location of 0x20002000 value not write. i am not understanding that why its happened ?

 

SRAM0 Start address = 0x20000000

SRAM0 End address = 0x2000FFFF

Please reply on this as soon as possible.

 

 

@mgnxp @xiang @alexxian @nxp16 @jhong 

0 项奖励
回复
1 解答
2,922 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I have not problem to write 0x20002000 address.

BR

XiangJun Rong

xiangjun_rong_0-1657699133782.png

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,923 次查看
k_sunilgupta
Contributor II

thanks for your reply but i am facing issues at location 0x20002000 and you have write data at 0x20000000

why at 0x20002000 data not write?

0 项奖励
回复
2,923 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I have not problem to write 0x20002000 address.

BR

XiangJun Rong

xiangjun_rong_0-1657699133782.png

 

0 项奖励
回复
2,928 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I have tried to write SRAM0 with the address 0x2000_0000 with a pointer based on MCUXpresso tools, SDK and LPC54628 board, no problem.

xiangjun_rong_1-1657695182314.png

AS you can see that I can write 0x2000_0000 with 0x12345678

BTW, note that the high address of SRAM2 is used as stack, pls do not try to overwrite the stack, otherwise, the chip may crash.

Hope it can help you

BR

XiangJun Rong

 

0 项奖励
回复