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.

HALCoGen 4.03.00 HL_sys_startup.c compile Error for TMS570LCx and RM57x device

Other Parts Discussed in Thread: TMS570LC4357, HALCOGEN

Hi All

HALCoGen 4.03.00 has a minor bug in the generated HL_sys_startup.c file for TMS570LC4357 and RM57x devices. The HALCoGen Engine template has an extra #endif. "unmatched #endif when generating for TMS570LC4357 and RM57x device.

HALCoGen team will roll out a patch release with the fix. Sorry for the inconvenience.

Workaround 1 ( Recommended) : 

1) Open :  C:\ti\Hercules\HALCoGen\v04.03.00\drivers\TMS570LC4357ZWT\SYSTEM570v000\sys_startup.c 
2) Remove #endif at line no 94 ( Just above /* USER CODE BEGIN (3) */)

Workaround 2 : 

1) In the generated code HL_sys_startup.c add a #if 1 inside /* USER CODE BEGIN (2) */ like below

/* USER CODE BEGIN (2) */
#if 1
/* USER CODE END */

  • I can confirm this bug. Do you have plan to release "errata" document for HalCogen?
    It is nice to found this information in support forum, bud errata is better for project documentaion management.
  • Hi 

    HALCoGen Team have the Bugs/Kunownissues/Enhancement request captured in the CQ.

    Typically Release note captured the Bug fixed and Known issues. 

    If you asking about the live status or latest list of the Bugs, then CQ would be the place. I will check if something can be done to expose this info to all HALCoGen customers.