DATA NOT WRITE IN SRAM0 in LPC546

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DATA NOT WRITE IN SRAM0 in LPC546

Jump to solution
989 Views
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 Kudos
1 Solution
974 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I have not problem to write 0x20002000 address.

BR

XiangJun Rong

xiangjun_rong_0-1657699133782.png

 

View solution in original post

0 Kudos
3 Replies
975 Views
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 Kudos
975 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

I have not problem to write 0x20002000 address.

BR

XiangJun Rong

xiangjun_rong_0-1657699133782.png

 

0 Kudos
980 Views
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 Kudos