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.

problems upgrading from CCSv2 BIOS 4.90.280 to CCSv5 BIOS 5.31.02

Other Parts Discussed in Thread: CCSTUDIO

Hi,

I'm trying to upgrade a project from CCSv2 BIOS 4.90.280 to CCSv5 BIOS 5.31.02.  Since I'm trying to use the tools to upgrade as much as I can, I'm doing it in steps.  First, I upgraded to CCSv3.3 BIOS 5.31.02, which went well automatically (no errors from CCSv3.3, and cursory tests running the resulting executable (Debug, via XDS510 jtag) worked fine. 

Second, I tried jumping to CCSv5.2 with BIOS 5.41.13.42.  Here I had to put c28xx.cdb into c:/ti/bios/config/cdb/c28xx.cdb, but then I was unable to get rid of a build-time error "js:property 'PLLTYPE' doesn't exist for instance GBL".  I can't figure out where this error is coming from, so I have no idea how to attack it.   

Third, I tried slowing down a little and installed BIOS 5.41.13.42 onto my CCSv3.3.  I was able to successfuly test this configuration with the EZdsp2812 hello.out, and I then returned to my normal custom 2812 board.  The only issue I had with upgrading the BIOS in my project is that the compiler gives a syntax error on a line in <project>cfg.cmd file.  The line is: "--diag_suppress=16002".   Commenting out this line allows the compilation to complete.  Unfortunately, this file is auto-generated every time I do a clean build, so I'd prefer a different solution.  Moreover, now that I am able to compile, I still can't get CCSv3.3 with this project to connect to my device (Error 0x80000220/-1156 Fatal Error during: Execution, OCS).  Without knowing any better, I blame the upgraded project, because I could get this exact PC and board to connect fine using CCSv3.3 under the older BIOS.  Code gen tools are v4.1.3

I compared the <project>.tcf files from CCSv3.3/BIOS 5.31.13.42 with that from CCSv3.3/BIOS 5.41.13.41.  They are virtually identical; only difference is that the params.clockRate was a floating point 75.000000 under the older BIOS but is an integer 75 under the newer BIOS.  I also compared the <project>cfg.cmd files; there are 16 differences here, so something is probably significant. 

Any suggestions on how to proceed or how to troubleshoot what is going on?  I'd love to get to more current BIOS and compiler.

thanks,

Lyn

  • Lyn,

    For the 2nd thing you tried:

    a.  Why did you have to copy c28xx.cdb over the existing c28xx.cdb?
    b.  Is that really the path for the c28xx.cdb?  Shouldn't it be something like:  c:/ti/bios_5_41_13_42/packages/ti/bios/config/cdb
    c.  Can you post your tcf file here?  I think there's something in there that references GBL.PLLTYPE?

    For the 3rd thing you tried:

    a.  Your older linker probably does not understand the --diag_suppress=16002.  Codegen tools v6.1 or greater should understand this.
    b.  Are the memory map for the two projects the same? If so, I don't see why it would give you a problem loading/running in CCS v3.3.  My guess is, the memory maps are probably different.  Posting memory maps of both executable builds here could be helpful too. 

    Judah

  • Judah,

    For 2a,b I didn't copy over a pre-existing file.  Instead, I created the entire path /ti/bios/config/cdb/c28xx.cdb per error messages when I compiled:

    ...

    'Building file: ../pmc.tcf' 'Invoking: TConf' "C:/ti/xdctools_3_23_03_53/tconf" -b -Dconfig.importPath="C:/ti/bios_5_41_13_42/packages;" "../pmc.tcf"

    js: "C:/ti/bios_5_41_13_42/packages/ti/bios/config/bios_2812.tci", line 57: Error: Can't find configuration seed: ti/bios/config/cdb/c28xx.cdb

    gmake: *** [pmccfg.cmd] Error 1

    ...

    The above problem and fix seemed to be covered in one of TI's online docs (don't recall which one), so it didn't seem an item of concern in my mind, just a step I had to go through. Yes, that is the path I used, because it was the path I found hardcoded in bios_2812.tci (I chose to create the desired path, not to edit bios_2812.tci to match the pre-existing path.)

    For 2c, I'm attaching the tcf file and the original cdb files. Thanks for taking a look.

    For the memory map, do you want the *.cmd files? Apologies, this is my first TI development project.

    Thank you,

    Lyn

  • 3187.copy_of_cdb.txt5342.copy_of_tcf.txt

    Sorry, some operator error there.  I misunderstood "Uploaded" to mean "attached", but it clearly doesn't.  -Lyn

  • Lyn

    For 2a,b - Its actually not hard coded in bios_2812.tci because there is a relative path.   Tconf does look along a path for the seed.  Typically the path it looks along includes the BIOS install.  But for now, since what you did is working for you, its not a huge deal.

    For 2c.  I wonder if the line params.regs.pllcr = 0xa; in your tcf is the culprit of the PLLTYPE error?  I didn't see anything else that looked like it would be the source.

    .cmd files and .map files (map files are generated if you are able to link an executable).

    Judah

  • Judah,

    The *.cmd and *.map files are attached: CCSv2 are the original, CCSv33 seem to work (no extensive testing done), CCSv52 won't build.

    Any idea on what is wrong with the pllcr setting?  I looked on the datasheet (SPRS174t, p 51), and 10 looks like a legitimate value.

    thanks,

    Lyn

    4540.cmd_map_files.zip

  • Second, I tried jumping to CCSv5.2 with BIOS 5.41.13.42.  Here I had to put c28xx.cdb into c:/ti/bios/config/cdb/c28xx.cdb, but then I was unable to get rid of a build-time error "js:property 'PLLTYPE' doesn't exist for instance GBL".  I can't figure out where this error is coming from, so I have no idea how to attack it.  

    The error is most likely coming from a file ti/bios/config/bios_2812.tci.  The thing is the c28xx.cdb should have a field called 'PLLTYPE'.  Can you grep the c28xx.cdb that it is using to see if you find the PLLTYPE in there?

    So for CCS v3.3, you are able to build the program but you cannot load/run with CCS v3.3...is that correct?  Are you using the right gel files here?

    I don't know if the pllcr setting is the culprit.  My suggestion would be to comment it out and see if you still get the error.  I'm sure its probably not the culprit.  I think its my first suggestion which you are seeing the error from.

    Judah

  • Looks like I mangled the version numbers in my initial posting.  Here's a summary with correct (I think!) version numbers:

    First, CCSv2 BIOS 4.90.280 works.  Upgrading to CCSv3.3, BIOS5.31.02 compiled and ran (I can no longer duplicate this success; will compile but will not connect to my XDS510 USB JTAG emulator.  The GEL menu says "Not loaded")

    Second, CCSv2 BIOS 5.41.13.42 won't compile due to the PLL error.  As you suspect, commenting out the pll line in the tcf file does not clear the error.  There is no PLLTYPE in the c28xx.cdb (see attached). 7802.c28xx_cdb.txt

    Third, CCSv3.3 BIOS 5.41.13.42 compiles, but won't connect to my XDS510 USB JTAG emulator.  The GEL menu says "Not loaded"

    How do the GEL files get set inside CCS?  Under windows, I do see a file c:\CCStudio_v3.3\cc\gel\f2812.gel, but I don't see a way to specify it or load it into CCS?

    -Lyn

  • I found the File->Load GEL, and tried loading c:\CCStudio_v3.3\cc\gel\f2812.gel, but can't connect.  I also tried loading the gel file that CCSv2 uses into CCSv3.3, but I still can't connect.  I always get the same error message (attached) -Lyn

    5756.CCSv3.3_wont_connect.rtf

  • For the PLLTYPE problem, I think I know what the issue is.  You copied the wrong c28xx.cdb to the directory.  You copied the one from ti\bios\config\update\4.90.280 which is incorrect.  You should have copy the one from ti\bios\config\cdb\c28xx.cdb.  That should solve the PLLTYPE issue.

    As far as the CCS connection issue, you might want to open a new thread in the CCS forum as I don't know what's going on there and folks in the forum have a better understanding of those type of issues.

    If the PLLTYPE is solved and you have no other issue relating to BIOS, I'd recommend opening a new thread for the CCS issue and closing this one.

    Judah

  • Judah,

    I did a clean re-install of CCSv5.2.  This gave me c28xx.cdb in the place you suggested (ti\bios\config\cdb).  I no longer see the PLLTYPE issue, so I think that problem is fixed.  I'm not sure what I botched the first time, when that file did not exist, but it is solved with your help.

    I will take the connection issue to another forum as you suggest.

    I still cannot compile/link, but it will take some time for me to sort out the next hurdle.  I'll put in a new thread if I can't figure it out.

    Thank you very much for your time!

    -Lyn