Hello,
On a FRDM-K66F target I have successfully gone through the "Get Started with the MCU Bootloader for NXP microcontrollers". I can use blhost.exe successfully.
$ ./blhost.exe -p COM7 -- get-property 1
Ping responded in 1 attempt(s)
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 1258424065 (0x4b020701)
Current Version = K2.7.1
I debug the example project frdmk66f_freedom_bootloader and enter continue.
I am using the frdmk66f_led_demo_freedom_a000 demo application. I have tested both the debug and release binaries.
Using blhost.exe I execute the following commands:
$ ./blhost.exe -p COM7 flash-erase-region 0xA000 0x8000
Ping responded in 1 attempt(s)
Inject command 'flash-erase-region'
Successful generic response to command 'flash-erase-region'
Response status = 0 (0x0) Success.
$ ./blhost.exe -p COM7 write-memory 0xA000 ./frdmk66f_led_demo_freedom_a000.bin
Ping responded in 1 attempt(s)
Inject command 'write-memory'
Preparing to send 6532 (0x1984) bytes to the target.
Successful generic response to command 'write-memory'
(1/1)100% Completed!
Successful generic response to command 'write-memory'
Response status = 0 (0x0) Success.
Wrote 6532 of 6532 bytes.
$ ./blhost.exe -p COM7 execute 0xA000 0 0
Ping responded in 1 attempt(s)
Inject command 'execute'
Successful generic response to command 'execute'
Response status = 0 (0x0) Success.
At this point, MCUXpresso shows an exception. I have attached an image Picture5.png.
This is unmodified demo code, built and executed.
MCUXpresso IDE v11.3.0 [Build 5222] [2021-01-11]
SDK 2.9.0
Any help would be appreciated.
PJ
Using MCUXpresso, I debug the