Content originally posted in LPCWare by lpcxpresso-support on Tue Mar 03 01:50:00 MST 2015
Quote: fordicus
I see the connection is established with my J-Link to the target. Thank you for your kind advice.
But the flash programming is not working while the source level - step by step debugging looks working fine.
Either it is in the debugging session or it is a direct attempt, when I click the "program flash" from the quick icons,
I got an error as the below,
Connect to emulator:
No compatible emulators available.
They may be disconnected, not powered, already in use or not compatible with this target.
When you start a debug session, the program is automatically downloaded to Flash. You do not need to program to flash independently - the debugger does it for you.
However, the "Program Flash" button is not supported with J-Link. Segger provide their own Flash programmer called J-Flash.
The LPCXpresso "Program Flash" button supports the following debug probes:
- LPC-Link2
- LPC-Link1
- CMSIS-DAP (e.g. ULINK, mbed, LPC-Link2 with CMSIS-DAP firmware, etc)
- Red Probe