This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640 works ONLY in debug mode and not stand alone.

Other Parts Discussed in Thread: CC2640, BLE-STACK

Hello,

I have a strange phenomenon with the CC2640 on a custom board that I made and I was wondering if you might have any tips to find out the source of this behavior.

I took the standard sensor tag program (first stack and then application) and loaded it to the device via the debugger. I hit run in debug mode and I can detect my custom board via the sensor tag app on my android phone. However, when I turn off the power to the board and disconnect the debugger from the board and then turn the power back on the program doesn't run on the CC2640. I know that since the board is not longer detectable on the sensor tag android app. 

Then, I took the sensor tag application project on CCS6.1 and modified it by adding a task that constantly  blinks an LED on my custom board. It works great via the debugger. But after I disconnected the debugger and reset the board power the software just doesn't run on the CC2640 since the LED doens't blink.

Another thing that I noticed is that if I click on the "Terminate" button in CCS6.1 during debug mode then the debugger stops (of course) but then the application on the CC2640 continues to run (or resets - I don't know for sure). At that point I can disconnect the debugger cable from my board and the application is still running. But then when I turn off the power and turn it back on the application does not run anymore.

I must add that I soldered the CC2640 IC to the board myself using a hot air blower. Could I have damaged perhaps the chip? At first that is what I had thought so I removed the chip, and put a new one using the same soldering method and I still see the SAME behavior. I don't understand why the program doesn't run on the IC when I reset the power.

I don't get it. I have a SensorTag and I checked and saw that unlike my custom board, if I take out the coin battery and put it back in then it simply resets and does works again (without any connection to my debugger). 

Any thoughts?

Thanks,

Eyal