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

nRF5340 - UART boot mode selection

Hello,

I want to program nRF5340 via UART.

What is the hardware related event that puts the application processor in program mode over the UART ?

All ARM microprocessors I've worked with have special pins with "boot-mode" function.
When the device reset is deasserted, the boot mode selection is determined by the logic values of these pins.
I suppose nRF5340 does the same. Or not?

I'm in the hardware design process, and need to fix this.

Regards,
Gabriele

Parents Reply
  •  Great.

    In my application the user cannot put her hands on the board, to press buttons etc. Thus DFU must be entirely managed by SW.
    This is the idea (look at the circuit)

    a) the user sends a command like "please, DFU on next reboot"
    b) the nRF5340 sets DFUEN high long enough to charge the capacitor, then resets the board
    c) on reboot DFUBOOTn is found low, and the DFU process starts
    d) during the DFU process, the capacitor discharges through the large resistor

Children
Related