Dear Team,
I am facing a issue while running the Bootloader over CAN (as referred in spna241.pdf) and running an demo application with FreeRTOS kernel.
I have created an application with couple of tasks, Message Queue and Timer etc. The application can run successfully while the Base VECTOR address has kept at 0x00000000. While I am trying to run it with new Address as mentioned in document, 0x0010020, it fails to create the Tasks, Queue etc. While analyzing the problem I found that it fails to execute BaseType_t xRunningPrivileged = prvRaisePrivilege() API.
I tried some solutions provided in the different TI forum discussions.
Using the intvecs.asm, like this :
b _c_int00
b #0x0007fff8
b #0x0007fff8
b #0x0007fff8
b #0x0007fff8
b phantomInterrupt
application can now do the SWI and init the tasks, queue etc successfully. But Bootloader now restarts while try to start the Application. It is stuck in :
g_ulTransferAddress = (uint32_t)APP_START_ADDRESS;
((void (*)(void))g_ulTransferAddress)();
Please provide your input to solve this issue.