Tool/software: TI-RTOS
Hi TI support,
I'm developing my application based on the simple peripheral example and adding additional task and their priority (for completeness) as follows
Task Name | Priority |
(1) SPI External Flash Access (NVS driver) | 3 |
(2) Data Processing (run some Algo) | 2 |
(3) Data Acquisition (I2C DAC/ADC read/write) | 2 |
(4) BLE Command (proprietary protocol) | 1 |
(5) Simple Peripheral | 1 |
(6) GAP Role | 3 |
The issue I'm seeing is when leave the NVS_Init() in task (1), the MCU hangs after running for 5 seconds after starting up. It's stuck in ICall_abort with error code ICALL_ERRNO_TIMEOUT. See below for the callstack. When I comment out the NVS_init(), every works fine, MCU doesn't not hang.
One of my colleague says that the simple peripheral task has osal_snv_read which accesses the internal flash memory. I'm not sure if it creates a conflict with the external flash driver.
Any help is appreciated.
Best wishes,
Kev