Part Number: CC2564
Hi, I am currently working with the Bluetooth device and porting the bluetopia stack from FreeRTOS to uCOS-II
I made the SPPdemo run with FreeRTOS with an STM32 (Cortex M4) series evaluation board.
Now when that I have the files BTPSKRNL.c and HCITRANS.c modified for uCOS-II for the same evaluation board, I have been trying to get it running but I came to a point where it returns a -4 (Stack Init Failed: -4) when it tries to initialize.
After some debugging I see that it does create 3 tasks but at the end it calls the HCITR_COMClose() and fails to continue OpenStack() successfully.
Can someone have any hints of what may be causing to call HCITR_COMClose() ? or explain the sequence of the events that it could be waiting on? I have been trying to see if its related to the ISR or with the other OS feature that could be incorrectly hooked to the Bluetooth APIs but I am not sure.
Thanks