DFU with internal flash

I want to do DFU with secure keys on nrf54l15dk. I want to receive in my application new firmware and store it on internal flash of the nrf54l15 (i have memory to store the new and old fw on it since it is has biggest memory of all and i do not use much of the flash anyway). 
Next this i want to do is when i press button 3 on the board i goes in the bootloader and the mcuboot does his thing and upgrades the firmware. 

I went through intermediate course and flashed the code, but AuTerm cant find/read slots so i can just test the lessons.
I know that i can me a GPIO pin interupt call and do a sys_reset_call(cold) and it will reset it, but other things are not that clear to me.

I want a Dual slot DFU in short.

Parents
  • Hello,

    Do you plan to perform the update over BLE over a serial interface (USB/UART)? 

    Next this i want to do is when i press button 3 on the board i goes in the bootloader and the mcuboot does his thing and upgrades the firmware. 

    If you have configured mcuboot to enter serial recovery if this button is pressed on startup, then you need to keep this button pressed while the board is reset. Did you try that?

    Best regards,

    Vidar

  • My main plan is that nrf54l15 is a slave on a SPI, i have pins connected with it and to set it to bootloader mode i have a pin connected that will be set to low after a reset pin resets the device. 

    What i want, if it possible to be achived, to receive in my application from SPI new firmware that is compiled and write it to flash (internal flash not external) and then make a DFU with two pins (reset and bootloader mode) that are all controled by master device. I have made the serial recovery mode and a led is on, so i now that is running, ill just switch the pins to one i need.

    i have problems with understanding how to set it up, also basic example in lesson 9 exercise 1 is not detecting anything in AuTerm but it is not what i want.

    for nrf54l15 there is no BLE FOTA, but i am trying to do it like this first since i have some contrains. 

  • The serial recovery mode supports USB and UART, but not SPI. Do you need the FW image to be sent over SPI? In that case, what are you going to use as a host for your nRF54L?

Reply Children
Related