Failed to connect: Not connected to emulator
This error means that debug has not been able to find the LPC-Link (or other debug probe/emulator), or has been unable to connect to the target.
This could be be due to the following issues:
If you have been successfully running and debugging code, but have just changed the PLL settings, you have probably set to an invalid value. Read the FAQ Getting debug access to target chip for information on how to recover your target.
If running under Windows XP only, try changing the following preference:
- Expand the category LPCXpresso
- Click on the section Debug
- On the options page, ensure the option "Initialise LPC-Link as HID" is checked
Alternatively, if you are running under a Virtual Machine, read the FAQ article LPC-Link may not be found when IDE run under Virtual Machine
Finally, you might be experiencing a Windows bug. Read the FAQ Windows does not recognise LPC-Link for more details.