Other Parts Discussed in Thread: SYSBIOS
Hi everyone,
I am pretty new to TI RTOS and am working through a problem right now where a timer interrupt callback is not firing once I change the application code base address. I have a heartbeat callback function that toggles an LED every 500ms. When the binary is flashed at 0x00, everything works no problem.
I then try to bundle the above binary with a bootstrap and a couple other things which requires the application binary to start at 0x44100. I set the reset vector address appropriately "m3Hwi.resetVectorAddress = 0x44100" in the RTOS config file and can correctly see it placed there when observing the binary. When launched, the bootstrap successfully jumps to the application code and runs (some expected LED activity before heartbeat proves this). However, my heartbeat never runs. If I debug and put a breakpoint in the callback function, it never hits. Conversely, if I do the same with the binary at 0x00, the callback hits and heartbeat executes.
To me this indicates a timer issue or interrupt configuration issue in the version that is not working (changed application base address). It would also indicate to me that whatever the problem is, is directly related to the application address change. I was wondering if anyone had any ideas as to what the problem could be. Is there anything related to the interrupts that needs to be changed outside of m3Hwi.resetVectorAddress? Is there something that the RTOS, clock, or interrupts take for granted when at 0x00 that needs to be set or configured when it is not at 0x00?
Any help is appreciated. Thanks.