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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

4,021 次查看
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.

标签 (1)
标记 (3)
0 项奖励
回复
0 回复数