Hi Pavel,
I suppose it makes more sense to break it up:
1 - Execute command
No matter what firmware is inside the LPC55S16 on the EVK, the bootloader seems to reject the argument (underlined below) being different from 0:
BLHOST -p COM2 -- execute 0x3000 0x00 0x00021000
I suppose that this is not intended. Same behaviour on both LPC55S16-EVK's I have and same on the LPC5516 boards of our own design. The error code is 10006.
2 -SECURE State
Running following command, I'm told that the boards are in SECURE state:
BLHOST -p COM2 -- get-property 0x11
What does that mean? I can't find anywhere this is described.
3 - Execute call turns into reset
The list of questions came from the fact that the execute command from BLHOST doesn't seem to work for me. The device just resets even if I have functions mapped to say address 0x3000 (I can check in the disassembly) when running following command:
BLHOST -p COM2 -- execute 0x3000 0x00 0x00021000
Could that be because of question #2 that the MCU is in SECURE state? I tried instead to jump to 0x10003000, but same result.