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.

HAL Code GEN for TMS470MF06607 IAR FIX startup

Other Parts Discussed in Thread: HALCOGEN

Hi to all,


in file sys_boot.asm generated with HALCoGen-04.05.01 for IAR EWARM you can find the Reset routine called _c_int00 that does not work properly because if you compile as is, the compiler use ARM mode and not THUMB mode, so at reset of device the core call HardFault.
To fix it you must you add THUMB like this:

        THUMB
_c_int00:


attention, the indent is very important.

Regards

Riccardo Capponi