Implement ble_app_usbd_cdc_acm on NRF52840 dongle with DFU mode

Hi,

I have successfully adapting nRF5 SDK projects(ble_app_uart and usbd_cdc_acm example project) for the nRF52840 dongle by following the nRF52840 Dongle Programming Tutorial, and can run both projects which are flash via nRF Connect Programmer.

And I'm trying merge two example become ble_app_usbd_cdc_acm, it works well, and it can successfully debugging and run(without the nordic offically USB DFU bootloader).

But I try to flash the hex into NRF52840 dongle(which with nordic offically USB DFU bootloader) via nRF Connect Programmer, the program doesn't work.

Here are my development environment and setup:

IDE: Segger Embedded Studio

SDK: nRF5 SDK(17.1.0)

Linker configuration: FLASH_START=0x27000;FLASH_SIZE=0xd9000;RAM_START=0x20002ae8;RAM_SIZE=0x3d518

Parents
  • Hi, 



    I have successfully adapting nRF5 SDK projects(ble_app_uart and usbd_cdc_acm example project) for the nRF52840 dongle by following the nRF52840 Dongle Programming Tutorial, and can run both projects which are flash via nRF Connect Programmer.

    Please explain what exactly you did by saying "which are flash via nRF Connect Programmer" 
    Flashing via NRF Connect Programmer can be both direct flashing via SWD interface and via the DFU mechanism. 

    I'm trying merge two example become ble_app_usbd_cdc_acm, it works well, and it can successfully debugging and run(without the nordic offically USB DFU bootloader).

    How did you program and on which hardware did you run that firmware ? 

Reply
  • Hi, 



    I have successfully adapting nRF5 SDK projects(ble_app_uart and usbd_cdc_acm example project) for the nRF52840 dongle by following the nRF52840 Dongle Programming Tutorial, and can run both projects which are flash via nRF Connect Programmer.

    Please explain what exactly you did by saying "which are flash via nRF Connect Programmer" 
    Flashing via NRF Connect Programmer can be both direct flashing via SWD interface and via the DFU mechanism. 

    I'm trying merge two example become ble_app_usbd_cdc_acm, it works well, and it can successfully debugging and run(without the nordic offically USB DFU bootloader).

    How did you program and on which hardware did you run that firmware ? 

Children
No Data
Related