Tool/software: TI-RTOS
Hi,
I am working on a sensor example of TI and have a function that prints something on the EPD. In the task function - Void taskFxn(UArg a0, UArg a1), if I call the business logic function after ICall_createRemoteTasks(); it gets executed but when I try to call it in while after Sensor_process(); the console throws an error as soon as the program gets uploaded.
/* Start tasks of external images */
ICall_createRemoteTasks();
// business_logic(NULL);
/* Initialize the application */
Sensor_init();
/* Kick off application - Forever loop */
while(1)
{
Sensor_process();
business_logic(NULL);
The error on the console is given below:-
Cortex_M3_0: Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.0.903.4)
Cortex_M3_0: Trouble Halting Target CPU: (Error -2064 @ 0x0) Unable to read device status. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.0.903.4)
My business logic uses big buffers for EPD display. It is a custom library that works fine on NoRTOS. Has it got do anything with the stack? How can I troubleshoot and solve this?
Thanks