We have a collection of K22 FRDM boards. They enumerate the following USB drive names: MBED, DAPLINK, BOOTLOADER. The drop & drag feature only appears to function correctly with the DAPLINK boards. Below are our efforts to find a cause for drop & drag not working for the other boards. We are running on Windows 10.
Currently, we have a working setup of a FRDM-K22 board with our K22 program that mounts as DAPLINK drive with the latest DAPLink Bootloader Firmware 0244 (shown below). However, after performing drop & drag on our other DAPLINK K22 board, we are unable to upload our own program onto the board and read the device COM port when the USB cable is connected to the K22 port.
# DAPLink Firmware - see https://mbed.com/daplink
Unique ID: 0231000050234e45001c0005eaee002308e1000097969900
HIC ID: 97969900
Auto Reset: 0
Automation allowed: 0
Overflow detection: 0
Daplink Mode: Interface
Interface Version: 0253
Bootloader Version: 0244
Git SHA: 64359f5c786363065a41ec15c348e3d53568da03
Local Mods: 0
USB Interfaces: MSD, CDC, HID, WebUSB
Bootloader CRC: 0xbd0abee1
Interface CRC: 0x9027c7dd
Remount count: 0
URL: https://mbed.org/device/?code=@U?version=@V?target_id=@T
On the mbed DAPLink bootloader update forum DAPLink bootloader update | Mbed, there is mentioning of issues with Windows 10 corrupting/bricking several FRDM boards including the K22. They suggest updating the bootloader with their latest DAPLink firmware and dropping the file into the device mounted as MAINTENANCE. Once the file copy is complete, the board should unmount and remount as DAPLINK, indicating the process is complete.
We tried the following:
We reprogrammed the bootloader firmware with OpenSDA V2.2 using JFlash, specifying the start address as 0x0. The K22 board now mounts as DAPLINKBOOT, which is expected from mbed’s documentation. The reported bootloader version is shown below. After copying our program into the DAPLINK drive, we disconnect the USB cable from the SDA port and connect into the K22 port. Here, we are unable to read the COM port associated with our program from device manager.
# DAPLink Firmware - see https://mbed.com/daplink
Unique ID: 0000000050234e45004d0005eaee003408e1000097969900
HIC ID: 97969900
Auto Reset: 0
Automation allowed: 1
Daplink Mode: Bootloader
Bootloader Version: 0241
Git SHA: be5afd34db2efe1e08d72fa23b3a68ab2625d9a3
Local Mods: 1
USB Interfaces: MSD
Bootloader CRC: 0x439c8da1
Interface CRC: 0xdab2d36e
Another K22 board we have mounts as an MBED drive. We tried drop & drag with our program into the MBED drive and saw the following message:
SWD ERROR
Any assistance in understanding our problem is greatly appreciated.