Tool/software: TI-RTOS
Hello E2E experts and friends,
As my previous post here. I've been trying to incorporate the heart rate project with my project (sensor data logging), to be able to send data over ble to an android app and plot it.
The heart rate project runs on compiler version TI 5.2.6 and TI-RTOS 2.20.1.08, and my project ran on a newer compiler version, so I managed to downgrade the RTOS and compiler version. The problem is, when I tried to create a new task for my project and add it to the heart rate project, it seems to stop after the BIOS_start() is called. I've constructed some tests below,
Test 1: default call of heart rate project in main
/* Initialize ICall module */ ICall_init(); /* Start tasks of external images - Priority 5 */ ICall_createRemoteTasks(); /* Kick off profile - Priority 3 */ GAPRole_createTask(); /* Kick off application - Priority 2 */ HeartRate_createTask(); BIOS_start(); /* enable interrupts and start SYS/BIOS */
This is default in main, and it runs fine, I'm able to make connection, and the task view window in ROV is
Test 2: my project task is constructed and added inthe heart rate project main function,
/* Priority 1 */ MyProject_createTask();
The software seems to halt after calling BIOS_start(). It never reaches the ICallRemoteTasks, which has priority 5.
Test 3: All the tasks in the heart rate project are commented out, except my project task. The task details in ROV,
My task has a task stack size of 2048, if I create a dummy task with a small task stack size (i.e. 256), it was able to run the program. Why is it happening and what could I possibly do to fix it?
Any advice/suggestion are appreciated.
Best,
Henry