Hello,
I'm having trouble building and loading a FreeRTOS image on an RM57x HDK. I'm using HALCoGen version 04.03.00, Code Composer Studio version 6.1.0.00104, and I've setup CCS to use the TI v5.2.3 compiler. I can attach the HALCoGen and CCS project files if you need them. After generating code, I put a simple “for( ;; )” in the “void main(void)” method and attempted to compile I got the following error:
Description Resource Path Location Type
#37 the #if for this directive is missing HL_sys_startup.c /HelloWorld_RM57/source line 79 C/C++ Problem
I can't find where there should be a matching "#if" so I deleted the "#end" and attempted to compile again. This time the compile was successful. However, when I tried to load the image onto the target, CCS failed with the following error messages:
CortexR5: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR5: GEL Output: Memory Map Setup for Flash @ Address 0x0 due to System Reset
CortexR5: File Loader: Memory write failed: Unknown property "FlashBlankCheckToggle"
CortexR5: GEL: File: C:\Users\Rlentz\workspace_v6_0\HelloWorld_RM57\Debug\HelloWorld_RM57.out: Load failed.
CortexR5: GEL Output: Memory Map Setup for Flash @ Address 0x0 due to System Reset
I also noted the red error LED illuminated.
I decided to try CCS UniFlash version 3.1.0.00026. First I erased the flash - the operation succeeded. Next I tried to program the image created by CCS onto the RM57x - the operation also succeeded, but again, the red error LED was illuminated. Next, I configured the CCS debugger to only load the symbol table (rather than try to program the image on the target) and attached to the target. Of course there is nothing to do at this point as there is no code to debug.
I noticed the Hercules demo code works fine without illuminating the red error LED. Perhaps there is an issue with the HALCoGen project configuration? Can you provide any recommendations?




