DSPRelated.com
Forums

RE: reading a .dat file_URGENT

Started by "ChRiStiAn C.S" January 15, 2008
Christian-

> i need a help in my project...
>
> i'm using TMS320VC5416...
>
> i have a problem, i want to read a .dat-file. Data on the .dat-file is integer...
>
> i'm using a linker cmd-file from tutorial, it works, but i have 2 warnings, they are :
>
> ---------------------------- AMdemod.pjt - Debug ----------------------------
> [AMdemod2.c] "C:\CCStudio_v3.1\C5400\cgtools\bin\cl500" -g -fr"C:/CCStudio_v3.1/AMdemod/Debug" -d"DEBUG" -@"Debug.lkf"
> "AMdemod2.c"
>
> [Linking...] "C:\CCStudio_v3.1\C5400\cgtools\bin\cl500" -@"Debug.lkf"
>
>>> c5416dsk.cmd, line 87: warning: fill value for SECTION '.sysmem' truncated to
> 4 bytes: 0x0000DEAD
>>> c5416dsk.cmd, line 88: warning: fill value for SECTION '.stack' truncated to
> 4 bytes: 0x0000BEEF
>
> Build Complete,
> 0 Errors, 2 Warnings, 0 Remarks.

The C5416 is a 16-bit device, so I don't think a constant can be declared more than 2 bytes. It looks to me like you
might have got the .cmd file from a C6x tutorial?

-Jeff
hi...

no, i get it the .cmd-file from the tutorial/dsk5416/shared

can you help me?

what should i change so i can make the warnings disappear?

thanks...

christian
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467