Hi Marek,
Thank you for the clarification.
Initially, I flashed the board frdm-MCXE31B through MCU-Link debugger, and it worked correctly.
Later, I tried to enter ISP mode using the following steps:
- Located jumper JP3 (ISP)
- Shorted JP3
- Pressed and released RESET
- Removed the short from JP3
After entering ISP mode, I used blhost to erase and program the device.
Commands used:
./blhost -u 0x1FC9,0x0022 -j -- flash-erase-all
Response:
{
"command": "flash-erase-all",
"status": {
"description": "0 (0x0) Success.",
"value": 0
}
}
Then I programmed the binary:
./blhost -u 0x1FC9,0x0022 -j -- write-memory 0x0 led_blinky.bin
Response:
{
"command": "write-memory",
"response": [24532],
"status": {
"description": "0 (0x0) Success.",
"value": 0
}
}
Finally,
./blhost -u 0x1FC9,0x0022 -j -- reset
This also returned success.
Before entering ISP mode, lsusb shows:
1fc9:0143 (MCU-Link CMSIS-DAP)
After entering ISP mode, it shows:
1fc9:0022 (LPC55S16 in ISP mode)
Now the board remains in ISP mode, and I am unable to return to normal mode. I also cannot flash through MCU-Link debugger anymore.
Could you please advise how to properly exit ISP mode and restore normal boot operation?
Thank you.
Best regards,
Blessy