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
  • Are you asking about production programming? If so you need VDD, GND, SWDIO, and SWDCLK exposed to an SWD programmer interface. 

    You need to program at least the bootloader and a DFU with the UART interface during production. 

    An alternative is to create an SWD interface in the other MCU and use that to program the nRF device, this can serve as the future DFU process as well. Though I would not recommend it unless you've got large volume production as it is a fair bit of development involved. 

Children
Related