HI
I am trying to an old project for a F2812 processor from CCS3.1 to CCS6 which seems to be a bit of a challenge.
First I created a new project in CCS6 that was a based on the sysbios hello example with seperate configuration project, and then I copied all the source files and header files to this project.
The next step was then to convert the DSPBIOS configuration file called F2812.CDB to a SYSBIOS configuration file F2812.CFG since I want to use the newest version of SYSBIOS
I am not sure that I have done this correctly, so I have attached both the CDB file and the CFG file
Then alle the DSPBIOS functions calls in the code must be changed to SYSBIOS, and the include files must also be changed. This is pretty straight-forward and I have managed to get the code to compile without too much trouble.
The real trouble began when the linker tried to link the newly compiled code, because the new code could not fit in the memory when I used the default linker command file F2812.cmd
When I compare with the old project it seems that it uses 3 different CMD files - one called f2812cfg.cmd that seems to be generated from the CDB file, one called zone6.cmd that puts many of the obj files in zone6 memory (whatever that is???) and finally boot.cmd that defines a section called .boot where a starting point is placed.
I have tried to merge the 3 cmd files from the old project into the one used in the new project, but I do not think that I have done this correctly. I do not really know what the difference between the different memory sections are, or if there are any restrictions on where the differents sections can be placed.
I have attached the 3 old cmd files and the one used in the new project, so you can compare the files and hopefully see if I am doing something wrong.
Whit the modified cmd file the linke is able to link the code and generate an out file. Unfortunately when I run this on my board using the JTAG emulator (XDS510 USB) it crashes befor it reaches main. I can set a breakpoint i _c_int00 and see that it enters this function.
I really hope someone can help me with this problem
Best Regards
Jens