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

How to flash nRF52 through an external host MCU?

In my design the nRF52 is connected to an STM32 host MCU. I connected the UART for data communication and the SWD and RESET pins for programming.

The nRF52 needs to be programmed through the host (even the first time) so the programming needs to go through the SWD interface. (Cannot use the UART as the bootloader is not programmed).

Is there example software to allow the programming of the nRF52 from an external host? 

Many thanks,

Youssef

Parents
  • Hi Youssef,

    The nRF52 needs to be programmed through the host (even the first time) so the programming needs to go through the SWD interface. (Cannot use the UART as the bootloader is not programmed).

    The only options we have is based on a serial bootloader. If that really is impossible like you write (why can you not pre-program the nRF?), then the host MCU must have a SWD implementation. Nordic does not provide any such implementation, though.

    Is there example software to allow the programming of the nRF52 from an external host? 

    That would be the bootloader (which needs to be programmed first).

Reply
  • Hi Youssef,

    The nRF52 needs to be programmed through the host (even the first time) so the programming needs to go through the SWD interface. (Cannot use the UART as the bootloader is not programmed).

    The only options we have is based on a serial bootloader. If that really is impossible like you write (why can you not pre-program the nRF?), then the host MCU must have a SWD implementation. Nordic does not provide any such implementation, though.

    Is there example software to allow the programming of the nRF52 from an external host? 

    That would be the bootloader (which needs to be programmed first).

Children
No Data
Related