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
  •  For production programming the SWD method would be fine.
    On the PDK I see two different SWD interfaces

    P18 (Debug In)
    P19 (Debug Out)

    I guess P18 is the one I have to replicate on my board.
    Is it correct ?

    A second question is about nRF5340 reset in relation to DFU.
    I want to keep the BOOT_SERIAL_DETECT_PIN as a backup DFU mechanism.
    For the BOOT_SERIAL_DETECT_PIN mechanism to work, is a Soft Reset equivalent to a Pin Reset ?

Children
Related