This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

A problem from experimental -- Flashing dfu will stop flashing Dongle by DK+SES

Hi There

More recently, I have implemented the experimental of nrf52840 Dongle ,which is about Erasing  it with nrfjprog  or programming it with SES by DK.  The dongle will lose its Boot-loader and its ability to be programmed through the USB interface if it is erased using the command (nrfjprog -e), so I download the dfu project (nRF5_SDK_16.0.0_98a08e2\examples\dfu\open_boot-loader\pca10059_usb_debug\ses\open_bootloader_usb_mbr_pca10059_debug.emProject) to the dongle by SES+DK by SWD interface for recover the dongle's boot-loader and its ability to be programmed through the USB interface. The  erasure and dFU programming of dongle  were very  successful. But The DK can not downlord any application project into the Dongle although SES still performs erasure, write and verify operations as usual and instructs all operations to complete successfully. By programmer + USB, there is not any application code in it. and I try to download other difference application project many times, The Dongle cannot be download any code by SES+DK, underless the dongle be erased by nrfjprog -e command +DK ,or the dongle be programmed bu programmer +USB.

Q1: Whether have some problem the dfu project ? (the project which locate at "dfu\open_bootloader\pca10059 usb_debug"  works and  project which locate at "dfu\open_bootloader\pca10059 usb"  do not pass the building ).

Q2: How I can real download application code to dongle which just be downloaded a dfu?

Q3: Why SES still show me that downloading and verifying is successful even though no any code was written to the chip? In particular why the verifying process was successful, cannot be understood, as verifying is generally a matter of comparing the content read from the chip to the original content. Where did the data read from the chip come from?

Thanks,

Di-Sheng

Parents Reply Children
Related