Hi David,
I have installed both the KDS and KSDK, and I believe they are working properly, given that I was able to program the bootloader for other three boards using the same setup (PC1). They now show up as JLINK devices.
In contrast, I have two boards that do not show as any kind of device, after I attempted to program JLink openSDA. I cannot conclude what went wrong yet, since they were programmed on a different computer (PC2, see detailed steps below). I did not want to risk losing the debugging capabilities on all of them , so I did not try more combinations on PC2.
Some things that may have been the problem:
- The usb hub
- Trying to program JLink_openSDA_V2_1_2015-10-13.bin directly from CMSIS-DAP
My guess is that the firmware on the K20 is corrupt (it did not fit in memory?), and thus in order to get debugging through the JLink back, I need to somehow restore that firmware. So my question was more on how to recover the K20, if at this time I do not have access to a JTAG debugger? Is it possible to program the K20 from the K82 for example? Or a combination of buttons that would allow me to see the SDA USB connection again? Pressing the reset button at powerup does not show the device as BOOTLOADER.
I post this information also as context. Perhaps there is not a solution to this problem without a JTAG debugger, but in any case I hope it helps someone that is thinking to upgrade the bootloader on their boards.
Regards,
Javier
----------
Successful configuration
PC 1 (Win7, KDS 3.2.0, mbedWinSerial_16466.exe driver, Board connected to PC directly via USB). I programmed the bootloader in two steps.
Start the board in BOOTLOADER mode.
- In order to do this, you press and hold the RESET button (SW1) while the USB cable is disconnected.
- Plug in the USB cable in J5.
- The device should report itself as a BOOTLOADER device.
Drag the file 04_OpenSDA_FRDM-K82F.bin to the bootloader device
- md5: 26802f20c7dee2511ed8bbb60e0d3b85
The new bootloader will be installed. The board will reset, and it will report as a FRDM-K82 device.
Restart the board once again in BOOTLOADER mode.
This time, drag the file JLink_OpenSDA_V2_1_2015-10-13.bin to the bootloader device.
- md5: 249786f3019d9923743618d5cc91a53a
The device will reset once again, and it will report as a JLINK device.
Failed configuration
PC 2 (Win7, KDS 3.2.0, mbedWinSerial_16466.exe driver, Board connected to PC directly via USB hub). I programmed the bootloader in one step.
Start the board in BOOTLOADER mode.
- In order to do this, you press and hold the RESET button (SW1) while the USB cable is disconnected.
- Plug in the USB cable in J5.
- The device should report itself as a BOOTLOADER device.
Drag the file JLink_OpenSDA_V2_1_2015-10-13.bin to the bootloader device.
- md5: 249786f3019d9923743618d5cc91a53a
The device complained briefly "too little space for firmware" (wording is inaccurate because the message was shown very fast). After this, I cannot see it as any sort of device on windows, when connected via SDA USB.