nrf52840-mdk icon indicating copy to clipboard operation
nrf52840-mdk copied to clipboard

I can't start with nrF52840 MDK board

Open jfrancoya opened this issue 4 years ago • 8 comments

jfrancoya avatar Jul 19 '19 08:07 jfrancoya

No description provided. After updating the firmware, following the instructions given at: https://wiki.makerdiary.com/nrf52840-mdk/daplink/#how-to-update-the-daplink-firmware

Anytime I connect it to the USB it appears the CRP DISABLED (D:) unit with the firmware.bin file, dated at 2/6/2009 with 64Kb. If I deleted again, it disappears, but if I remove and connect it again, it appears again the file with the same attributes in the same drive. How can I continue...

jfrancoya avatar Jul 19 '19 09:07 jfrancoya

No description provided. After updating the firmware, following the instructions given at: https://wiki.makerdiary.com/nrf52840-mdk/daplink/#how-to-update-the-daplink-firmware

Anytime I connect it to the USB it appears the CRP DISABLED (D:) unit with the firmware.bin file, dated at 2/6/2009 with 64Kb. If I deleted again, it disappears, but if I remove and connect it again, it appears again the file with the same attributes in the same drive. How can I continue...

Hi, When CRP DISABLED (D:) appears, remove firmware.bin, then drag and drop the new firmware to this disk. The latest firmware is located here: https://github.com/makerdiary/nrf52840-mdk/tree/master/firmware/daplink with the name lpc11u35_nrf52840_mdk_if_crc_0253.bin.

After the file copy operation completes, eject and replug the board into your computer normally (without holding down the RESET button). Your device now has the new firmware installed and mounts a drive named DAPLINK.

caizelin avatar Jul 19 '19 09:07 caizelin

I have the same issue and copying over a new firmware does nothing (I've tried all 3 files in the folder). It still shows up as CRP DISABLED after reattaching. Has the MDK been tested on Linux?

jonas-schievink avatar Oct 27 '19 21:10 jonas-schievink

I have the same issue and copying over a new firmware does nothing (I've tried all 3 files in the folder). It still shows up as CRP DISABLED after reattaching. Has the MDK been tested on Linux?

@jonas-schievink The MDK is tested on Ubuntu. It seems that the bin file is not updated correctly. Which distro did you use? Make sure the bin file is integrated or try it on a Windows PC.

caizelin avatar Oct 28 '19 01:10 caizelin

@caizelin I've tried this on an up-to-date Arch Linux system. First with a file manager (Krusader), then using mount/rm/cp/umount manually. Neither worked, but the firmware file did show up in the mounted directory correctly.

I then did it on a Windows VM, passing through the USB device, and it worked on the first try.

(this is probably really not your fault, but a bug in the NXP bootloader, which is in ROM, so it's not really fixable; documenting this issue would be good though)

jonas-schievink avatar Oct 28 '19 10:10 jonas-schievink

@jonas-schievink Thanks for your feedback. On Linux/Mac, you can use dd command instead: dd if={new_firmware.bin} of={firmware.bin} conv=notrunc. It works fine. I hope it works for you.

caizelin avatar Oct 28 '19 12:10 caizelin

@caizelin Wow, that does actually work! Thanks a ton!

jonas-schievink avatar Oct 28 '19 21:10 jonas-schievink

I had problems trying to update firmware on nRF52832-MDK and the command suggested by @caizelin also worked. This should be documented somewhere.

protobits avatar Nov 20 '20 17:11 protobits