The nature of the problem is that I am receiving this error using IAR when trying to invoke the debugger: "CC2640 Fatal error: Failed to do go: (Error -2134 @ 0x0) Unable to control device execution state."
Conditions:
- Using IAR IDE as a developing environment.
- Using the XDS100v3 debugger on the Smart Rf 06 eval board as a debugger.
- The debugger is interfacing to a new pcb with the CC2640 5x5 running on it.
- Using the simplePeripheral project as a baseline for firmware. Targeting the cc2640 5x5 chip.
- Able to build with no errors or warnings
- Able to flash both the stack and application images successfully.
- The above error appears when I try to invoke the debugger itself.
- Power supply voltages look good.
- The 'reset' line to the cc2640 is high - never goes low.
- Using cJTAG mode in IAR for flashing and download.
- Tried forcing a 'mass erase' using the SmartRF Flash Programmer2 software.
Interesting Notes:
- If we mount a CC2650EM board (7x7 device) on the Smart RF 06 eval kit - we can both flash the device and use the debugger without having a problem.
- I'm not convinced the 24Mhz xtal is running. If this xtal is not running - would that cause the problem? Shouldn't the internal oscillator be running?