Hello
We are working in a power converter based on the TMS570LS1225.
We have the application already working and now we are starting to work in the industrialization process.
We need to be able to program the equipment through the CAN interface.
We developed a CAN boot loader based on the SPNA186 Application report.
At the same time we developed an PC programing tool.
With this boot loader we are right now able to program the APP on the APP flash, but the problem came when we intent to jump to it. As we have read from different posts on the forum, in order to jump to the application, we force a SW reset and at the startup, detect that we are coming out from a software reset in order to jump to the app _c_int00 routine.
In this routine we have been removing different calls to core initialization routines because on them we get stuck (an abort interrupt is raised on them). We understand the this could be due to the fact that these routines have been already performed on the boot loader. We have remove the following routines:
_coreInitRegisters_
_coreInitStackPointer_
_coreEnableEventBusExport_
_errata_CORTEXR4_66_
_errata_CORTEXR4_57_
checkRAMECC
We don’t understand the problem with the last one but in order to progress we also remove this one.
In any case right now the app gets stuck when the __TI_auto_init routine is called (The whole program is reinitialized). As far as we understand in this routine the cinit (Initialized variables) are initialized and we can’t skip it.
Can you please give us some clue on what are we doing wrong?
Thanks you in advance