 Question: How do I set my memory map ?
Answer: If your debugger map (using ma
commands) does not match the linker command file map, you may get this error message.
Also, you need to make sure the following is allocated for the simulator:
ma 0x808000,0x10,ram ; 0x808010 to 0x80801F reserved mem
ma 0x808020,0x400, ram; This one and above block defines some of
; the memory mapped registers. These memory maps
; are must for normal execution of simulator.
; If you define your own siminit, please include
; these two.
Also, make sure you use these with the EVM or XDS510:
MA 0x808000,0x000010,RAM ; DMA
MA 0x808020,0x000010,RAM ; TIMER0
MA 0x808030,0x000010,RAM ; TIMER1
MA 0x808040,0x000010,RAM ; SPORT0
MA 0x808050,0x000010,RAM ; SPORT1
MA 0x808060,0x000001,RAM ; XBUSCTL
MA 0x808064,0x000001,RAM ; PBUSCTL
|