We are porting an existing prototype software project from the TMS570LS1224 to the TMS570LC4357. These are the issues we've run into so far, using HALCOGEN 04.05.00.
1) There doesn't seem to be a Safety Init tab available, nor are any of the safety init functions issued in the generated code. Related: The Flash and RAM tabs do not have checkboxes to enable ECC.
2) Assembly code for the data abort handler is not produced. When targeting the 'LS1224, a file dabort.s with a definition for _dabort is provided. When targeting the 'LC4357, no such file or function definition is produced. However, the vector table does refer to such a function. Therefore, the project does not link.
3) In the PMU management assembly code, _pmuGetEventCount_ needs to perform lsr on $r0 by 1 to match the register usage with the definitions of pmuCOUNTER{0,1,2} provided in HL_sys_pmu.h. The 'LS1224 code gets this right, but the 'LC4357 code does not.
4) In the definion of HL_sys_core.s:_cacheEnable_, two instructions incorrectly use ';' for comments (Keil syntax) instead of '@' (GNU syntax), which prevents the code from assembling. The project is in GCC tools mode.