Hi,
I hope someone can help me with an issue I am having with the Sensortag 2.0
I am running a modified SensorTag (BLE 2.1) application where everything is working as it should as long as the device is connected to USB (debugger).
My issue begins when I disconnect the SensorTag from USB, immediately the red LED begins glowing when I remove the debugger shield and the Sensortag is not advertising.
The red LED stops glowing when the debugger shield is re-attached (no LED at all), when I plug in the USB cable to the shield at this point, the red LED comes back on.
The only place in the code I can find any reference to LED1 is in SensorTag.c:
case GAPROLE_ERROR: SensorTag_resetAllSensors(); PIN_setOutputValue(hGpioPin,Board_LED1, Board_LED_ON); LCD_WRITES_STATUS("Error"); break;
However, I have tried to remove/uncomment the line which activates the LED, without any change in behavior after rebuilding and flashing.
Since I cannot troubleshoot this issue when connected to the debugger (everything is working as expected when connected to debugger & USB) I am out of ideas at the moment...
Can it be something with the TI-RTOS stack?
I will be very grateful for any insight or suggestions on where to go from this point.
Regards,
Joakim