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.

UCD3138064: project in code composer studio

Part Number: UCD3138064

Tool/software:

I have two questions about the CCS environment.

1. How do I choose the Output format for my new project? What is the difference between the them?

2. When choosing eabi it can be compiled, but there is no .x0 file in the debug folder of the new project. How to solve it?

    When choosing COFF it cannot be compiled, and the error is as follows

  • Hello Bowen,

    I use the legacy COFF option. I am not sure what the eabi option is but I have never selected it before. Below is a screenshot of my CCS properties if I build the HSFB firmware for the UCD3138064 build. I am using CCS v12.

    A common issue with compiling code is your include paths are incorrect. Make sure that your include paths point to the right header files. You may need to manually select your file location if they are wrong. 

    Also, please confirm that you have set your compiler to Arm v5.2.4 according to page 12 of the Intro to UCD3138x Devices.

    Regards,

    Jonathan Wong

  • Hi Jonathan,

    Thanks for your quick answer.

    It seems that I should include a Header_Files for UCD3138064. Below picture is the default set in include option.

    Where to find such a Header_Files? Any standard files provided by TI? Here I download a HSFB demo code, and including UCD3138064 Device file. Is that correct? While after doing this, I still have compile issue. The compiler configuration is TI v5.2.5.

    If .x0 file is not exist in Debug or Release file, how to fix it ? Or I should focus on compile it successfully?

  • Hello Bowen,

    Are you using the HSFB EVM Firmware? If so, then see the below diagram for the project file structure. You will need to point the correct file locations for the UCD3138064 header files and the PMBus files. 

    You may also want to try manually adding the path to the Linker and Source files. That may help with compiling your code.

      

    When you successfully compile and build the CCS project, all of the output files are generated in your Build folder (Ex. UCD3138064). The build folder will include files such as the .x0 file. They will not be generated unless the CCS project is successfully compiled. 

    If you need to flash a firmware onto your UCD3138064 now, then you can use this prebuilt UCD3138064 HSFB firmware .x0 file that I generated. However, you will not be able to do live debug with the memory debugger without .map and .pp files. 

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/81/UCD3138HSFBEVM_5F00_029_5F00_UCD3138064.x0

    Regards,

    Jonathan Wong