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

nRF52 dfu uart

Im having problems running DFU serial examples.

i use one of the examples of the SDK but it seems like board doesnt leave the bootloader mode and memory value doesnt change. im using the dfu_test_softdevice_b.zip package to upload.

im using Linux OS

Parents
  • Unfortunately, the bootlaoder doesn't appear to work when built with GCC in this alpha release. Please try with the attached bootloader that I built with ARMCC and see if you get the same result.

    I was able to make it work with the Keil compiled version. Here are the command line arguments I used:

    vidar@ubuntu:~/nrfutil/pc-nrfutil/nordicsemi$ sudo python __main__.py dfu serial -p       
    /dev/ttyACM0 
    -pkg /home/vidar/SDK/nRF5_SDK_11.0.0-
    2.alpha_bc3f6a0/examples/dfu/hci_dfu_send_hex/test_images_dual_bank_update_nrf52/dfu_test_app_hrm_s132.zip
    

    Bootloader : nrf52832_xxaa.hex

Reply
  • Unfortunately, the bootlaoder doesn't appear to work when built with GCC in this alpha release. Please try with the attached bootloader that I built with ARMCC and see if you get the same result.

    I was able to make it work with the Keil compiled version. Here are the command line arguments I used:

    vidar@ubuntu:~/nrfutil/pc-nrfutil/nordicsemi$ sudo python __main__.py dfu serial -p       
    /dev/ttyACM0 
    -pkg /home/vidar/SDK/nRF5_SDK_11.0.0-
    2.alpha_bc3f6a0/examples/dfu/hci_dfu_send_hex/test_images_dual_bank_update_nrf52/dfu_test_app_hrm_s132.zip
    

    Bootloader : nrf52832_xxaa.hex

Children
Related