hi,
i'm recently using JTAG programming bootload into EEPROM. i tried serials ways and finally find a way to burn program into EEPROM, but DSPstill not working after re-boot.(it supposed to display 10 numbers on serial data-receive screen)
I suspect the problem is my .cmd file of the program to burn and the link cmd.
here goes the code:
1:the mcbsp.cmd file
/* mcbsp.cmd file for program*/
-c
-heap 4096
-stack 4096
/* Memory Map 0 - the default */
MEMORY
{
VECS: o = 00000100h l = 00000100h
PMEM: o = 00000200h l = 0000FC00h
BMEM: o = 80000000h l = 00010000h
CE1: o = 01400000h l = 00010000h
}
SECTIONS
{
" vectors" : load = CE1, run = VECS
.text : load = CE1, run = PMEM
.cinit > CE1
.tables > BMEM
.data > BMEM
.stack > BMEM
.bss > BMEM
.sysmem > BMEM
.cio > BMEM
.far > BMEM
xmitbuf > PMEM
}
2: link cmd file to generate .hex
mcbsp.out
-m
-byte
-memwidth 8
-romwidth 8
-order l
-map eeprom_boot.map
ROMS
{
EPROM: org = 0x00000000, length = 0x10000
CE1: org = 0x01400000, length = 0x10000
DATAM: org = 0x80000000, length = 0x10000
}
SECTIONS
{
" vectors"
.text
.cinit
}
My questions are
1 does both the cmd files right?
(When online programming, the first '.cmd file' need to change CE1 to RAM addr to enter 'main', otherwise it's not working)
2 what's the format for 3DPLUS EEPROM(-m? -i? -a?)
THX A LOT~