I have three diffrent boards. Each has it's HalCoGen project and it has been running ok when generated with HalCoGewn version 04.04.00. I just installed 04.05.00 and generated code for one of my boards. and then it hits the prefetch vector 0xc with LR register = 0xA5A5A5A8. Strange I thought and tested my other projects and it's the same, it also hits the prefetch vector.
Any body else having problem with HalCoGen 04.05.00. I'm running a TMS570LS0432 FreeRTOS project on the IAR tool chain.
I've seached this forum and the closest I've found was a thread called"Prefetch Abort Interrupt using IAR", solved by fixing "LR register was off".I don't understand, what did he do to "turn LR register on", is it somewhere in HalCoGen?
I've stripped down my code to a minimum with only one task running and it's the same. It tends to happen during a vTaskDelay I've notised, but not always.
As said my code did work before HalCoGen 04.05.00, could it be a problem in my code or maybe anybody else having the same problem?
Any tips on how to debug this?