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.

RM46L852: CCS local char array not correctly initialized

Part Number: RM46L852


Hello,

The local char array "tx_data" that shoud be initialized with string "HERCULES". After execution the array is initialized with '0' values, see debug screenshot:

What we have to do to correct this behavior ?

(The same array static or global is correctly initiallized.) 

(The build environment is the same as that the rm46_can_boot project).

Tanks and Regards,

Renaud 

  • Hello, 

    The problem is solved and is specific to the "rm46_can_boot" project where the const section has to be loaded by the "application software"

    (memcpy(&constRunStart, &constLoadStart, (uint32)&constLoadSize);).

    When the const section is loaded all works fine.

    Thanks and Regards

    Renaud