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

nrf52 uart flashing

Hi,

is it possible to flash the nrf52 with a TTL-232R-3V3 cable. My initial idea was to connect the cable uart Rx,Tx pins and program it using nrfjprog.

However, the running nrfjprog -i doesn't recognise the cable as a programer.

Note:

I'm believing this possible due to the datasheet for the BL652 which is at its core an nrf52832

  • Hi,

    The nRF52 ICs does not support programming over UART. The supported programming interface is using the SWD protocol. From the specification summary of the BL652 module, programming over UART is supported for "smartBASIC application download". I guess this is an implementation of the DFU service, implementing a bootloader that support UART as the transport layer.

    For general useage with nRF52 devices, a DFU bootloader supporting UART transport layer, is provided in SDK 11. It is also possible to create custom bootloaders with other transport layers, for instance SPI, for the newer SDKs. Note that this requires you to program the bootloader via the SDW interface before programming can be supported through UART.

    Best regards,

    Jørgen

Related