I need some help with a LPC55S3x board. I enabled Secure Boot on it by using the blhost commands, but now I cannot enter ISP mode anymore. When connecting the jumper for it on J12, the board is not recognized by the blhost commands or the Secure Provisioning tool (screenshot at the bottom). This means that I cannot clear the CMPA and restore the board to its original state. Multiple Provisioning tool version were used (v4,v5 and v7) with no success.
This has happened to 2 boards so there are two boards currently locked up.
Is there any way to fix this issue? Has anyone encountered a similar problem before? I would appreciate any suggestions or solutions. Thank you.
Here are the commands that were used to put the board into SB mode.
"blhost.exe" -p COM%PORTNUM%,115200 -- get-property 17
"blhost.exe" -p COM%PORTNUM%,115200 -- receive-sb-file "SB_Images\cust_mk_sk.sb"
"blhost.exe" -p COM%PORTNUM%,115200 -- reset
"blhost.exe" -p COM%PORTNUM%,115200 -j -- write-memory 0x0003DC00 "SB_Images\cfpa.bin"
"blhost.exe" -p COM%PORTNUM%,115200 -j -- write-memory 0x0003E200 "SB_Images\cmpa.bin"
REM Flashing SecureBoot image in 1-bit flash.
@echo### Flashing SecureBoot image in 1-bit flash. ###
"blhost.exe" -p COM%PORTNUM% -- fill-memory 0x2000f000 0x00000004 0xcf900000 word
"blhost.exe" -p COM%PORTNUM% -- fill-memory 0x2000f000 0x00000004 0xc0000300 word
"blhost.exe" -p COM%PORTNUM% -- configure-memory 0x110 0x2000f000
"blhost.exe" -p COM%PORTNUM% -- flash-erase-region 0x0 0x40000 0x110
"blhost.exe" -p COM%PORTNUM% -- write-memory 0x0 "SB_Images\hrot_sb_signed.sb" 0x110
@echo### Corrupting internal flash. ###
"blhost.exe" -p COM%PORTNUM%,115200 flash-erase-all
