Hello Engineer
Greetings Of the Day
We performed DFU over BLE with secondary slot in External flash that operates using SPI .
I needed some clarification on the outcomes .
-> My running application of Primary Slot was of 256KB
-> To perform DFU I did minor tweaks in my running application , say , added a printing Line that says "NEW FIRMWARE"
-> Then executed Build and took out the app_update.bin file that is binary that I will flash thru my BLE DFU process , it was obviously around 256KB , as changes were minor
-> I undo'ed all tweaks and build it and flashed to my custom board (nrf 52833)
->Then I did dfu using nordic app on my phone
-> DFU was successful and I observed new application running in my custom board , successfully .
To Verify that DFU took place according to my External flash settings
-> I made a special application that reads my external flash (this application was tested before with spi_flash example and it worked perfectly fine)
-> to be precise with my testing I made sure that flash was all erased prior to my DFU testing sequence
-> when I went to read , start of my flash (area partitioned for McuBoot_Secondary slot )
-> I observed only some odd 30 bytes were written
My First question is , why only 30Bytes were written on my external flash when my new image was of around 256KB ?
Is MCUboot that intelligent that I can see the changes and only write the update that I have made in my application ?
My second question is , how I can verify that my DFU over BLE is done using External Flash only , not inbuilt SOC flash (this haunts me ) .
This image represents my Partition table
Also if you insuniate with possible tasks that can verify my DFU BLE using external slots , would be really helpful .
Thanks & Regards
S