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

NRF52840 USB CDC ACM Secure DFU Bootloader Example

Hi,

I am testing the USB CDC ACM Secure DFU Bootloader example via NRF52840. softdeivce uses 5.0.0-2 alpha and uses SDK version 14.1.

I have a problem.

I ran Erase all through nRFgo Studio and programmed Softdeivce. Then I build the example through Keil and [download] it.

After that, looking at the memory map from nRFgo Studio,


Region 1 (Bootloader) Size: 60kB Address: 0xf1000


Region 1 (Application)

Size: 828kB

Address: 0x22000


Region 1 (Softdevice) Size: 136kB Firmware: Unknown (Id: 0x0096)


It comes out like above.

On the board, we confirmed that LED1 and LED3 are on. After that, I confirmed that LED2 turns on when USB is connected.

But in Windows (I am using Win10 x64), I get "Device Recognition Failed" in Device Manager. Is my test method wrong?

In summary,

  1. Run [Erase all] through nRFgo Studio and [Program] the Softdevice.

  2. Keil built and downloaded the USB CDC ACM Secure DFU Bootloader example.

  3. After confirming that LED1 and LED3 are turned on, I plugged in USB and confirmed that LED1 -> LED2 turns on.

  4. I confirmed that it was attached to the PORT in the device manager, but confirmed that it was caused by the device recognition failure.

I wonder if my test method is wrong. Help!

Related