DATA NOT WRITE IN SRAM0 in LPC546

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

DATA NOT WRITE IN SRAM0 in LPC546

ソリューションへジャンプ
2,418件の閲覧回数
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,403件の閲覧回数
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,404件の閲覧回数
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,404件の閲覧回数
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,409件の閲覧回数
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 件の賞賛
返信