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.

TMS570LC4357: LED Control using TMS570

Part Number: TMS570LC4357
Other Parts Discussed in Thread: TMDX570LC43HDK, HALCOGEN

Hello team,

I've been trying to work on LED Blink project using Hercules TMDX570LC43HDK. I'd gone through the example provided and configured my program accordingly. However, it shows error "cannot open source file HL_epc.h", "cannot open source file HL_errata.h" and many more. Can you please let me know the possible causes? Attached is the workspace folder containing HALCoGen and CCS Project files.

Rehards,
H C Trivedi

LED1.zip

  • Hi, our expert is out of the office for several days. Please expect a delayed response.

  • Thanks for acknowledging the query Frank. Just an update on my previous query:

    I tried with the available Demo codes in HALCoGen. Followed all the steps specified. However, there also I'm facing the same errors. please find the attached image for your reference.

    As shown in the image, I could locate HL_epc.h file under sourc -> HL_epc.c. What can be the possible reason behind the error and how do I rectify the same?

  • However, it shows error "cannot open source file HL_epc.h", "cannot open source file HL_errata.h" and many more.

    The HALCoGen generated include files are in a include sub-directory in the project.

    When creating a project in CCS you have to add ${PROJECT_ROOT}/include to the #include search path in the CCS project properties under CCS Build -> Arm Compiler -> Include Options:

    If the include path isn't set you will get compile errors about not being able to find the HALCoGen include files.

  • Thanks for the response Chester. This resolved my issue. I was importing workspace folder itself instead of importing INCLUDE folder. 

    Regards,

    H C Trivedi