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

Issue with DFU over UART

Hello,

 

I am using nRF52840. I am trying to get hands on DFU. Without any modifications, I am using examples as is.

 

1) I followed below steps to do DFU hrs_application_s140.zip package over Secure bootloader.

 a) Erase entire chip (“Target -> Connect J-Link” and then erase entire device “Target -> Erase All”) and load bootloader from “\examples\dfu\secure_bootloader\pca10056_uart_debug\ses”

b) Over serial interface, I am flashing hrs_application_s140.zip via DFU over serial using nrfutil. It got success

But I am not seeing any “Nordic_HRM”.

Is there any issue in my approach ?

2) Once pca10056_uart_debug / bootloader is flashed, whether I can flash my other example (ble_app_blinky) using Segger IDE. I tried based on below link. But still DK is in boot mode (LED3 is ON).

            https://devzone.nordicsemi.com/f/nordic-q-a/41675/dfu-over-uart-response-code-invalid-object-nrf528240

Thanks & Regards

Vishnu Beema

Parents
  • Hi, 

    1) I followed below steps to do DFU hrs_application_s140.zip package over Secure bootloader.

    The project you run was at \examples\dfu\secure_bootloader\pca10056_uart_debug\ses and it’s the mbr bootloader. This doesn’t contain the softdevice. This explains why you saw nothing when the hrs example uploaded successfully but no activity.

    You can test using the blinky_mbr.zip instead.

    Or if you want an application with BLE, you need to do the SoftDevice update first (softdevice_s140.zip) and then do hrs_application_s140.zip update. (this is for nRF52840)

     

    2) Once pca10056_uart_debug / bootloader is flashed, whether I can flash my other example (ble_app_blinky) using Segger IDE. I tried based on below link. But still DK is in boot mode (LED3 is ON).

     Or if you want an application with BLE, you need to do the SoftDevice update first (softdevice_s140.zip) and then do other_example_s140.zip update. (this is for nRF52840)

     

    -Amanda H.

Reply
  • Hi, 

    1) I followed below steps to do DFU hrs_application_s140.zip package over Secure bootloader.

    The project you run was at \examples\dfu\secure_bootloader\pca10056_uart_debug\ses and it’s the mbr bootloader. This doesn’t contain the softdevice. This explains why you saw nothing when the hrs example uploaded successfully but no activity.

    You can test using the blinky_mbr.zip instead.

    Or if you want an application with BLE, you need to do the SoftDevice update first (softdevice_s140.zip) and then do hrs_application_s140.zip update. (this is for nRF52840)

     

    2) Once pca10056_uart_debug / bootloader is flashed, whether I can flash my other example (ble_app_blinky) using Segger IDE. I tried based on below link. But still DK is in boot mode (LED3 is ON).

     Or if you want an application with BLE, you need to do the SoftDevice update first (softdevice_s140.zip) and then do other_example_s140.zip update. (this is for nRF52840)

     

    -Amanda H.

Children
No Data
Related