Hi Ma,
Thanks for the instructions above, however they do not seem to make a difference for getting a desirable response from the FRDM-K28F using blhost.
I tried:
1. While pressing SW2, connect the board to the host PC via USB using the OpenSDAv2.2 microUSB port, then releasing SW2 a second or two after the USB cable is attached.
2. On the host PC (Win10) I opened a cmd shell, changed dir to the <NXP-kboot-2.0>/bin/Tools/blhost/win path and running:
blhost.exe -p com16 -- get-property 1
com16 represents the most recent virtual USB (mbed) connection to my FRDM-K28 board. This came after some experimenting with the FRDM-K28F /K20 config for various debug probes. I tried J-Link that got me to com20, then I went back to mbed/open-sda and that put me on com16.
In response to the query, I get back the following error:
Error: Initial ping failure: No response received for ping command.
I tried modifying the baud rate:
blhost.exe -p com16,115200 -- get-property 1
and I have the same error.
I tried using the -u option:
blhost.exe -u -- get-property 1
and got a different error:
Error: UsbHidPeripheral() cannot open USB HID device (vid=0x15a2, pid=0x0073, sn=).
My guess is that I need to get past this roadblock in order to transfer contents from my host PC to configure the boot loader.
Please let me know if you can spot a flaw in the process or perhaps a missing step?
Thanks.
-Ed.