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
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
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
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
I'm having the same issue both with the hex file you provided and the gcc build from NRF5_SDK 11.
I'm on OSX using nrfutil v0.3.0
$ nrfutil version
nrfutil version 0.3.0
This did not work when I tried it on OSX today, but same version 'util' version is working on windows. I'll have to continue this tomorrow.
Turns out that there is a know problem with the Segger VCOM on OSX as mentioned here, see "OSX Segger issue". However, it still didn't work after I applied the workarounds here. Could you check if you get the same result?