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

Flash NRF52 by UART

Hi everyone,

I would like to create my board like this one :

www.adafruit.com/.../3406

learn.adafruit.com/.../39913

I know that Adafruit changed the bootloader in them NRF52, so I would like to know if I can flash my nrf52 by UART without change the bootloader ??

Thx for reading,

Best regard,

Flavien

Parents
  • Hi, there is no bootloader on nRF5x chips, it natively supports only JTAG/SWD. So whatever you want to support on top of it you need to a) write it/load it and b) make it coexisting with other FW components you want to load later (like radio stack, APP etc.) If you take nRF5 SDK there is example bootloader from Nordic which supports wired UART. If you don't like that then you need to write yours or try to google (e.g. on GitHub).

  • As I said: NO, this will only work if you have Arduino compatible bootloader pre-loaded. To be honest I don't see single advantage of using this set-up when you can simply use SWD through any nRF5x Dev Kit or other kind of programmer like SEGGER J-Link or STlink... it might have only one advantage: UART is better choice if you bootload the chip from another embedded system (because implementing SWD is bigger effort then UART). But that isn't your case I suppose.

Reply
  • As I said: NO, this will only work if you have Arduino compatible bootloader pre-loaded. To be honest I don't see single advantage of using this set-up when you can simply use SWD through any nRF5x Dev Kit or other kind of programmer like SEGGER J-Link or STlink... it might have only one advantage: UART is better choice if you bootload the chip from another embedded system (because implementing SWD is bigger effort then UART). But that isn't your case I suppose.

Children
No Data
Related