This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi friends,
I'm using TMS320C5416 and I got a trouble. I hope that, someone from TI Community can help me to solve this problem. Thank you for reading this post.
I compiled my application successful, but when I loaded it to the board (using XDS560R Emulator from Spectrum Digital) in order to debug, I got the following message:
"C54xx: File Loader: Data verification failed at address 0x00000080 Please verify target memory and memory map.
Error found during data verification. Ensure the linker command file matches the memory map."
I guest that, it derives from the memory mapping. This is my cmd file
MEMORY
{
PAGE 0: /* program space */
VECS: origin = 0x0080, length = 0x0080 /* 128bytes vector table space */
PROG2: origin = 0x28000, length = 0x8000 /* 32K program memory space */
PROG3: origin = 0x38000, length = 0x8000 /* 32K program memory space */
PAGE 1: /* data space */
DATA: origin = 0x1000, length = 0xE9F0 /* 64.75K words for data */
}
SECTIONS
{
.vectors : {} > VECS PAGE 0 /* interrupt vector table */
.cinit : {} > PROG2 PAGE 0
.text : {} > PROG2 PAGE 0 /* program code */
.textv : {} > PROG3 PAGE 0 /* program code */
.switch: : {} > PROG2 PAGE 0
.sysmem : {} > DATA PAGE 1
.stack : {} > DATA PAGE 1
.dbuffer: {} > DATA PAGE 1, align (128)
.coeffs : {} > DATA PAGE 1, align (128)
.icoeffs: {} > DATA PAGE 1, align (128)
.dbufferh: {} > DATA PAGE 1, align (128)
.hcoeffs : {} > DATA PAGE 1, align (128)
.sintab : {} > DATA PAGE 1
.bss : {} > DATA PAGE 1
}
And my gel file (I only post the memory mapping section):
GEL_MapAdd(0x00080u,0,0x80u,1,1); /* DARAM0-3, prog page 0 */
GEL_MapAdd(0x28000u,0,0x8000u,1,1); /* SARAM0-3, prog page 2 */
GEL_MapAdd(0x38000u,0,0x8000u,1,1); /* SARAM4-7, prog page 3 */
GEL_MapAdd(0x01000u,1,0x0E9F0u,1,1); /* MMRs, data */
It seems that, something is wrong, but I can not find out what problem is. Can anybody help me to figure out my problem? I highly appreciate for any support
Thank you very much
TungDH
Is there anyone show me my mistake? I tried doing many ways, but it can not work properly
Thank you in advance
TungDH
Hi Tung,
Sorry for the delay. I will move your question to the emulators forum to see if they have a quick answer for you...
Best Regards,
Mark