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.

UCD3138 code in CCSv5.2 or CCSv6

Other Parts Discussed in Thread: UCD3138PFCEVM-026, UCD3138CC64EVM-030, UCD3138, CCSTUDIO

Hello,

I am trying to use the UCD3138 and run the sample code and training labs that accompany the UCD3138PFCEVM-026 and the UCD3138CC64EVM-030. I have access to both CCSv5.2 and CCSv6, but no access to CCSv3.3, which is what all the template files were written in. I have attempted both the legacy import feature of the new CCS, as well as the migration template from 3.3 to 5.2, listed on the ucd3138 page.

It appears that I need access to the ccsv3.3 libraries or other tools generated by the older version of CCS before I can use the code with CCSv5.2 or later. 

Has anybody had luck working with the template code or the training files in CCS5.2 or later without having access to CCSv3.3? Were there any missing library files, linker errors, or other issues? How did you overcome these? Furthermore, does anybody have working UCD3138 template files for CCS5.2 or later?

Thank you for the support.

Best,

Keenan

  • Keenan,

    When using the Appnote from the UCD3138 page, what specifically are the errors you get?

    Regards,

    Brandon Vonk

  • Hi Brandon,

    To begin, without having a copy of CCSv3.3, I am unable to verify the code state mode of any of the files. I am currently trying to convert the example files for the 026 evaluation module code but I am not sure of their code state mode.

    Secondly, I see no software_interrupt_wrapper.c and no clear_program_flash.c in the 026 template file, nor a load.asm in the transition template. I have updated the software_interrupts.h and the interrupts.c, as well as added the clear_program_flash.c, zero_out_integrity_word.c, and software_interrupt.c from the transition template file to the project directory.

    At this point, I should be ready to compile, according to the appnote. When I do so, I receive 42 error of all sorts. The compiler claims about half to be syntax errors, like missing ";", which I have checked and are not incorrect at all. There are also undefined variable types.

    I have also tried using the legacy importer built into ccsv6 for files like the Lab01 tutorial file. I avoid the 1599 error by turning off thumb mode, as instructed here: http://e2e.ti.com/support/development_tools/compiler/f/343/p/137594/1186321.aspx#1186321. When I go to compile this, it says 

    Description Resource Path Location Type
    gmake: *** No rule to make target `C:/CCStudio_v3.3/tms470/cgtools/lib/rts32tiabi.lib', needed by `C:/Users/Sumolight/Documents/PFC/3138 Programming Files/Lab 01 hello world/UCD3138 Lab 01/../../Lab 01 hello world/Debug/UCD3138_Lab_01.out'. UCD3138 Lab 01 Unknown C/C++ Problem

    This seems to reference a missing .lib file that was once available in v3.3 but has since been replaced. I can't seem to make it work with the information provided here either: http://e2e.ti.com/support/development_tools/compiler/f/343/p/220101/775526.aspx#775526

    Thanks for the support!

    -Keenan