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

Queries on DFU over UART flow control

Hello,

 

I am using nRF52840, SDK_16.0.0, S140 SoftDevice and Segger 4.16 for flashing the image.

 

1) While upgrading over serial interface using DFU, whether UART needs all 4 wires (Tx, Rx, RTS, CTS) with flow control or even without flow control whether we can do DFU over serial interface.

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Fsdk_app_serial_dfu_bootloader.html&cp=6_1_4_4_4

Whether can I disable flow control ?

2) To enter into bootloader mode do we need to always press button and the reset. Similar to Buttonless DFU for Bluetooth, even if UART whether we can enter into UART without any button.

Thanks & Regards

Vishnu Beema

Parents
  • Hi Vishnu

    1. It should be possible to modify the serial bootloader to run without flow control with the modifications described in this answer. You should only have to apply the changes in the secure serial bootloader project and not modify the nrfutil code since you can set baud rate/flow control in newer versions of nrfutil.

    2. Can you explain a bit more about how you want to enter the bootloader? Are you going to have a Bluetooth connection where the connected device can tell you to go into the bootloader, like in the buttonless example, or did you have something else in mind?

    Best regards,

    Simon

Reply
  • Hi Vishnu

    1. It should be possible to modify the serial bootloader to run without flow control with the modifications described in this answer. You should only have to apply the changes in the secure serial bootloader project and not modify the nrfutil code since you can set baud rate/flow control in newer versions of nrfutil.

    2. Can you explain a bit more about how you want to enter the bootloader? Are you going to have a Bluetooth connection where the connected device can tell you to go into the bootloader, like in the buttonless example, or did you have something else in mind?

    Best regards,

    Simon

Children
No Data
Related