Part Number:CC2640R2F
Tool/software: TI-RTOS
Hello,
we build our project up on the Ti base project "Simple_Peripheral". My code is now a little bit larger and the sensor controller is involved. The main CPU hangs a second after changing from connetable to nonconnectable advertising. I don't know why this is happening. I already tested the code without changing the advertising. There the code runs fine. Also I tested changing advertising state without usage of the additional code handling the sensor controller. This runs, too. So it could be (?), there is a buffer overflow anywhere relating to my bigger firmware. Now I wanted to debug the RTOS and look at the ROV-Task "stackPeak" value. But I cannot get to this window. I get the error: "Received exception from ROV server: Target memory read failed at address: ...".
So I opened a blank new Simple_Peripheral Project and tried to debugging it. There ROV also failed with the same error. I also tried to halt the program in the SimpleBLEPeripheral_taskFxn before the main loop. Also not working.
ROV is working fine with the "hello" Project, as described in the tutorials. So I think my CCS should run OK.
Question: Do you have some ideas, what I can do to get ROV working properly with the Simple_Peripheral project?
Thanks!
Regards
Andre