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.

Migrating from CCS2.20 to CCS3.1

Other Parts Discussed in Thread: CCSTUDIO

I have a project using CCS2.20 with C5510 and try to migrate to new CCS version which is 4.1, I am able to build the *.out, however, it failed loading, since there are so many updates between CCS2.20 and CCS4.1, I decided to take a small step at a time: first from CCS2.20 to CCS3.1.

After .cdb is converted automatically from 4.80 to 4.90, I compiled the *.cdb file and got the following messages:

D:\CCStudio_v3.1\plugins\bios\gconfgen" Dsp55Api.CDB
if (gpioCfg.agpio_Support) {"#include <_csl_pgpiohal.h>\n"} else {""}
   if (gpioCfg.agpio_Support) {"#include <_csl_pgpiohal.h>\n"} else {""}
   ==> err
if (gpioCfg.agpio_Support) {"GPIO_RSET(AGPIOEN, 0x%11x);\n"} else {""}
   if (gpioCfg.agpio_Support) {"GPIO_RSET(AGPIOEN, 0x%11x);\n"} else {""}
   ==> err
if (gpioCfg.agpio_Support) {"GPIO_RSET(AGPIODIR, 0x%12x);\n"} else {""}
   if (gpioCfg.agpio_Support) {"GPIO_RSET(AGPIODIR, 0x%12x);\n"} else {""}
   ==> err
if (gpioCfg.agpio_Support) {"GPIO_RSET(AGPIODATA, 0x%13x);\n\n"} else {""}
   if (gpioCfg.agpio_Support) {"GPIO_RSET(AGPIODATA, 0x%13x);\n\n"} else {""}
   ==> err
 

Do you have an idea what are those and what to look at ? Thanks.

 

 

  • Yuhua,

    I will send your post to the DSP/BIOS forum as they might have a better idea on the error you are experiencing.

    Regards,

    Rafael

  • Thanks, Rafael.

    I searched the web and found a post (not on E2E) that has the same problem as mine, however, there is no reply to it.

    Since the errors are on GPIO, I wanted to see if there are differences on GPIO in *.cdb between the example and my project, I built CCStudio_v3.1\examples\evm5510\csl\timer\timer1_useBios\ and compared timer1_useBios.cdb with my *.cdb,

    in timer1_useBios.cdb,

    global c55gpio :: 0

    global configGPIO :: 0

    in my *.cdb,

    global c55gpio :: 1

    global configGPIO :: 1

    After I changed them to '0' in my *.cdb by editing the file (couldn't find a way to change them in Graphical DSP/BIOS Configuration Tool gconf.exe), I am able to build *.out and load it.

    One side effect of this change is that "IODATA" in (GPIO_FSET(IODATA, IO6D, 0)) in my project is found undefined, I have to comment out this statement to get the compilation pass.