hello all,
i'm using the c5402 DSK, I am using code
composer studio 1.1, I suspect that i have something wrong with my .cmd files
because program memory contents are altered by other parts of code or
data.
here are 2 versions of 2 of my .cmd files, both
lead to execution errrors and alter of memory locations, but the first .cmd file
is better than the other, the other never reaches main.
for this one, i set
my PMST = 0xFFD0 (MP/MC =1, OVLY =1, Interrupts at FF80)
MEMORY
{ PAGE 0 : VECTORS ( RWXI ) : o = 0xFF80, l = 0x0078 PROG ( RX ) : o = 0x4000, l = 0xbF80 PAGE 1 : SCRATCH ( RW ) : o = 0x0060, l = 0x0020 DATA1 ( RWI ) : o = 0x0080, l = 0xFF78 } SECTIONS
{ .vectors : > VECTORS align 0x80 PAGE 0 .text : > PROG PAGE 0 .trap : load = 0x0062 PAGE 1 .cinit : > DATA1 PAGE 1 .cio : > DATA1 PAGE 1 .switch : > DATA1 PAGE 1 .bss : > DATA1 PAGE 1 .const : > DATA1 PAGE 1 .sysmem : > DATA1 PAGE 1 .stack : > DATA1 PAGE 1 .fifo : > DATA1 PAGE 1 .dskCmd : > DATA1 PAGE 1 } for this one, i set
my PMST = 0xFFC0 (MP/MC =1, OVLY =0, Interrupts at FF80)
MEMORY
{ PAGE 0 : VECTORS ( RWXI ) : o = 0xFF80, l = 0x0078 PROG ( RX ) : o = 0x0080, l = 0xF500 PAGE 1 : SCRATCH ( RW ) : o = 0x0060, l = 0x0020 DATA1 ( RWI ) : o = 0x0080, l = 0xFF78 } SECTIONS
{ .vectors : > VECTORS align 0x80 PAGE 0 .text : > PROG PAGE 0 .trap : load = 0x0062 PAGE 1 .cinit : > DATA1 PAGE 1 .cio : > DATA1 PAGE 1 .switch : > DATA1 PAGE 1 .bss : > DATA1 PAGE 1 .const : > DATA1 PAGE 1 .sysmem : > DATA1 PAGE 1 .stack : > DATA1 PAGE 1 .fifo : > DATA1 PAGE 1 .dskCmd : > DATA1 PAGE 1 } |
.cmd files, interpreted correctly?!!
Started by ●June 21, 2000