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

Serial DFU not working when changing baudrate other than 115200 and or changing the flow control to disable

Hi Nordic,

I am not having a success of executing the Serial Secure DFU when changing the baudrate other than 115200 or changing the flowcontrol from enable to disable.

Software Used:

 * Secure DFU serial 132 PCA10040 - nrf52832 from sdk14_2.0

Hardware:

* DK PCA10040.

In the code, I set the baudrate to 9600 or 38400. and perform the serial firmware update using NRFutil version 5.1.0 in python 2.7, but it wont succeed and has an error of "Did not receive checksum response from DFU target" from dfu_transport_serial.py.

The command I run is: "nrfutil -v -v dfu serial -pkg app_dfu_package.zip -p COM3 -fc 1 -b 9600"

if I will only change the flowcontrol, it will also generate an error.

The command I used is : nrfutil -v -v dfu serial -pkg app_dfu_package.zip -p COM3 -fc 0 -b 115200.

I wish to have a baudrate of 9600 and flowcountrol disable setting for my custom board but I cannot proceed because I dont have success using the DK. I am aware that this was solve in this thread. https://devzone.nordicsemi.com/f/nordic-q-a/28077/sdk-13-0-0-secure-serial-dfu-without-flow-control, but it will not work with my setup.

I also follow the procedure in this https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader in setting up.

My question will be, what setting should I change to have a sucessful DFU using 9600 and flowcontrol disabled because it only works on 115200 and flowcontrol enabled.

Thank you for helping.

-Marlon

Parents Reply Children
Related