Hello
I use XDS100v2 with my TMS57020216 custom board.for fast development and debug I must use internal RAM.
first I change cmd file as below:
MEMORY{
VECTORS (X) : origin=0x00000000 length=0x00000020
RAM0 (RW) : origin=0x00000020 length=0x00002000
RAM1 (RW) : origin=0x00002020 length=0x00025FE0
FLASH (RX) : origin=0x08000000 length=0x00200000
RAM_ALIGN (RW) : origin=0x00031000 length=0x0000E000
}
SECTIONS{
.intvecs : {} > VECTORS
.text : {} > RAM1
.const : {} > RAM1
.cinit : {} > RAM1
.pinit : {} > RAM1
.bss : {} > RAM1
.data : {} > RAM1
.sysmem : {} > RAM1
.stack : {} > RAM0
}
and also assign stack base address to 0x00000000 instead of 0x08000000.
also I change tms570ls202x6sRAM.gel as attached file .after connection set MemoryMap = RAM and after connect swap_mem(RAM); added, so before load program memory switch must done.but when I start debug it does not work and I must reload program to work properly. another problem is that interrupt not work in this situation.
an other question is about CCS5.5 , it has some change copare to CCS5.1 and also in debug menu " load" item added.what is main different between these versions?