nrf52 spi dfu

rjayles gravatar image

asked 2017-11-29 17:15:13 +0100


We are using a nrf52832 in a serialized application with a STM32F4 and standard SPI as the transport layer. We are using the SDK V12 on the STM32 and softdevice S132 on the nordic.

We would like to add the possibility to upgrade the firmware present on the nordic (serialization application + softdevice). So far the more interesting example to begin with in the SDK is bootloader_secure_serial.

1/. Do you have an example application on an embedded target other than the python application to upgrade the nordic ?

2/. Do you have a documentation about the packet format exchanged during a DFU for SDK higher than SDK V11 ? The last documentation I have found is




edit retag flag offensive close delete report spam

1 answer

Sort by » oldest newest most voted
Bjørn Kvaale gravatar image

answered 2017-12-04 13:48:58 +0100

updated 2017-12-07 10:03:23 +0100

Hi Romain,

Question 1: Do you mean how to do DFU without using the nrfutil tool? Answer: You will need to use nrfutil to be able to generate the cryptographic keys & generate the DFU packages (see the Nordic Infocenter). But once you have done that, you can perform the DFU using either nrfConnect for the PC or using one of the two smartphone apps for iOS or Android (i.e. nrf connect or nrf toolbox).

Question 2: Take a look at this link on the Nordic Infocenter. You can find it under Libraries -> Bootloader Modules -> DFU Transport -> Transport Layers

Hope that helps!

edit flag offensive delete publish link more



Thank you for your answer.

1/. Yes, like an embedded nordic application which DFU an other nordic application via UART, without using the nrfutil tool.

2/. Exactly what I was looking for, thanks !



Romain ( 2017-12-04 17:12:08 +0100 )editconvert to answer

Hi Romain, I updated my answer above. Hope that helps!

Bjørn Kvaale ( 2017-12-07 10:23:50 +0100 )editconvert to answer

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

User menu

    or sign up

Recent questions

Question Tools

1 follower


Asked: 2017-11-29 17:15:13 +0100

Seen: 53 times

Last updated: des. 07