Hello,
I am working with the F280x Drive Library on a F28335 controller. There is a DataLog module called "4-Channel Data logging module" which I would like to use.
Right now I get the following compilation error:
>> warning: creating output section DLOG without SECTIONS specification
I found out that I have to specify an memory location for the module in the 28335_RAM_ink.cmd file. I did that exactly like in the example project but with a different starting address and memory area.
If I try to compile the file I get the following error messages:
[Linking...] "C:\CCStudio_v3.3\C2000\cgtools\bin\cl2000" -@"Debug.lkf"
<Linking>
DLOG_HO : origin = 0x210000, lenght
>> C:\\tidcs\\c28\\DSP2833x\\v120\\DSP2833x_common\\cmd\\28335_RAM_lnk.cmd, line 115: error:
syntax error
>> C:\\tidcs\\c28\\DSP2833x\\v120\\DSP2833x_common\\cmd\\28335_RAM_lnk.cmd, line 115: error:
MEMORY specification ignored
>> C:\\tidcs\\c28\\DSP2833x\\v120\\DSP2833x_common\\cmd\\28335_RAM_lnk.cmd, line 115: error:
MEMORY specification ignored
>> C:\\tidcs\\c28\\DSP2833x\\v120\\DSP2833x_common\\cmd\\28335_RAM_lnk.cmd, line 115: error:
MEMORY specification ignored
>> C:\\tidcs\\c28\\DSP2833x\\v120\\DSP2833x_common\\cmd\\28335_RAM_lnk.cmd, line 115: error:
MEMORY specification ignored
Here is the code, I added to the *.cmd file:
MEMORY
{
.............. already written code..............
DLOG_HO : origin = 0x210000, lenght = 0x001000 // my line
}
SECTIONS
{.............already written code..............
DLOG : > DLOG_HO , PAGE = 1 // my line
}
Can anybody help me with the problem or are there any documents concerning this topic? Since I am new in this area of programming I don`t know exactly how to handle the *.cmd files and how they work.
I appreciate any help!
Thanks!