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

NRF52832 Serial bootloader

Hi,

I am using the nRF52832 and I have use the serial bootloader to update the firmware at one of my clients place.

Actually, I have used nRFgo Studio to flash the softdevice "C:\Nordic Semiconductor\nRF5_SDK_v12.2.0\components\softdevice\s132\hex" and then flash myProrgam.hex within the tab "Program application".

Is that another way to do it? Asking the client to install pc-nrfutil seems to be too complicated. For example, to install the pip, where must the command "python get-pip.py" be typed? In the "cmd" window? I have done it but "python" was not recognized as internal command.

Kind regards,

Fabien

Parents
  • Hi Fabien,

    I am afraid that pc-nrfutil is the only way to perform a secure serial DFU at the moment. Its not possible to use nRFGo Studio to perform serial DFU with the secure serial bootloader from SDK v13.0.0, as nRFGo Studio only supports legacy serial DFU( SDK v11.0.0 and older).

    As for your python issue, have you added the location python.exe( usually C:\Python27) to your path?

    Bjørn

  • Thank you for your answer.

    I added the path and I have finally installed nrfutil which I copied (nrfutil.exe) in the folder "C:\Nordic Semiconductor\nRF5_SDK_v12.2.0\examples\dfu\ble_dfu_send_hex\test_images_update_nrf52". In the same folder, I opened the cmd prompt and with the command "nrfutil dfu serial -pkg dfu_test_bootloader_s132.zip -p COM18 -b115200" I obtained the following error: "Error: no such option: -b" for the baud rate. How can this issue be fixed? If I remove the '-b 115200", the cmd prompt gets stuck at this stage : C:\Nordic Semiconductor\nRF5_SDK_v12.2.0\examples\dfu\ble_dfu_send_hex\test_images_update_nrf52>nrfutil dfu serial -pkg dfu_test_bootloader_s132.zip -p COM18 [------------------------------------] 0%

    Thank you, Fabien

Reply
  • Thank you for your answer.

    I added the path and I have finally installed nrfutil which I copied (nrfutil.exe) in the folder "C:\Nordic Semiconductor\nRF5_SDK_v12.2.0\examples\dfu\ble_dfu_send_hex\test_images_update_nrf52". In the same folder, I opened the cmd prompt and with the command "nrfutil dfu serial -pkg dfu_test_bootloader_s132.zip -p COM18 -b115200" I obtained the following error: "Error: no such option: -b" for the baud rate. How can this issue be fixed? If I remove the '-b 115200", the cmd prompt gets stuck at this stage : C:\Nordic Semiconductor\nRF5_SDK_v12.2.0\examples\dfu\ble_dfu_send_hex\test_images_update_nrf52>nrfutil dfu serial -pkg dfu_test_bootloader_s132.zip -p COM18 [------------------------------------] 0%

    Thank you, Fabien

Children
No Data
Related