This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM M3 memory map to use SRAM under 0x2000_0000

the chip put 96k sram for both instruction and data.

It is from 0x0000_0000 -to 0x0001_8000

Set device as ARMCM3

 

set irom1 from 0x0000_0000 -to 0x0000_7fff

set iram1 from 0x000_8000 -to 0x0000_ffff

After compile all the code , I start debug simulation,  but the code did not go to main, and the run, step are all gray, seems the cpu is in a dead loop or go to error state.

 

I switch back to normal option

 

irom1 from 0x0000_0000 -to 0x0000_7fff

iram1 from 0x200_8000 -to 0x2000_ffff

now the debug simulation is ok. The code can go to main and step is valid.