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.

TMS570LC43 Hercules working examples

Other Parts Discussed in Thread: HALCOGEN

Hello. I just got a new TMS570LC43 Hercules dev kit. I downloaded Hercules safety examples, but I cannot build it.

The project that comes in the examples for TMS570LC43 does not have main file. I can import the example to CCS, but when I try to build I get message there is nothing to build. I tried different example for other chip, and I was able to start building it, but it fails due to wrong target, which is expected.

Is there a working example for this dev kit? Something like LED blink. I am new to microcontroller programming, and it would be nice to start with working example so I can see all programming flow without an error.

Also, is it possible to upload the existing program from the chip so I can back up it just in case?

Thank you  

 

  • Ruslan,

    In HalCoGen there are a bunch of examples.

    Generally you need to follow the online documentation. The first part will tell you what to do in the GUI; because much of the default configuration is handled graphically.

    Then you generate code.

    Then you replace the empty HL_sysmain.c contents with the contents from the HalCoGen example.
    (There is typically one .c file per example and this is the replacement for main() in HL_sysmain.c)
  • Thank you very much