Sunday, May 14, 2006

afm15 - more on RTDX

Just discovered if you modify the .cmd file in ccs, then next time you compile from matlab, it does not overwrite the changes. Normally the command file is created as a copy of:

file: F2812simulink.cmd

path: C:\Program Files\MATLAB71\toolbox\ccslink\ccslink

I have previously modifed this file so that the memory mapping matched that in jess' cmd file.

To get the RTDX file working, i have needed to add:

/* MODULE RTDX */
_RTDX_interrupt_mask = 0x0;

this is the rtdx setup line from the rtdx tutorial example.

This allows the program to be built, however when I try to use dsp/bios > message log, the following message appears:

Message Log:
Load DSP/BIOS program to use control.

When I try to run the program, the following message appears:

not a BIOS/something else program

Strange thing is that this message only came up the first two times I tried to run the program and after that it would allow me to run the program.



I think that it would be a better way to do this by creating a cbd file that would define the rdtx and also the memory map. When i try to do this, and replace the .cmd file with the one that teh .cbd file creates, i get the following error messages:

>> error: symbol _RTDX_Buffer is defined multiple times:
C:\Matlab_data\May06\afm15_c2000_rtw\afm15cfg.obj and rtdx_buf.obj
(C:/ti/c2000/rtdx/lib/rtdxx.lib)
>> error: symbol _c_int00 is defined multiple times: boot.obj
(C:/ti/c2000/cgtools/lib/rts2800_ml.lib) and boot.o28l
(C:/ti/c2000/bios/lib/biosi.a28l)
>> error: errors in input - afm15.out not built


I am just repeatig the example from the tutiorial and am interested it the

c:\ti\c2800\cgtools\lib\rts.lib. file

I do not have this in my afm15 project. I had better have a look at it incase i have to include it.

You cannot really read this file in a txt editor. now that I look at the previous error messages, there must already be a link to this file as it is referenced in the error message.

just redoing the tutorial, it seems that I do not have to have the rts.lib file:

Right-click on the rts.lib library file and remove it from the project. This library is automatically included by the hellocfg.cmd file

0 Comments:

Post a Comment

<< Home