16: Target error from status-poll: Ee(02). Not connected to emulator

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

16: Target error from status-poll: Ee(02). Not connected to emulator

3,814 Views
lpcware-support
Senior Contributor I

During a debug session, whilst your target is executing , the debug tools will poll the target to determine whether it has halted on a breakpoint or event. A "16: Target error from status-poll: Ee(02). Not connected to emulator" error is returned whenever the debug tools cannot get the present target state. In this case, the debug connection to your MCU is considered offline.

Some of the things that could cause this error include:

  • MCU going into one of the sleep modes.
  • MCU being reset, for example by a watchdog timer.
  • Faulty USB cable or bad USB port
  • Intermittent power to the target (or bad ground).
  • The MCU crystal or a PLL setting could be out of bounds affecting debug communications through the debug access port.

If you are connecting to the target using a Red Probe+ (but NOT using an LPC-Link), then in the Project Debug Configuration, you can specify a reduced wire speed (i.e. "Maximum wire speed). The default is typically 3 MHz, or 3000 KHz. Setting this value to a lower number, such as 1000 KHz (1 MHz), can sometimes improve matters - though this depends on the actual cause of the status-poll error.

Labels (1)
0 Kudos
0 Replies