Hello I found example for dual bank bootloader ("examples\dfu\bootloader\pca10040\dual_bank_ble_s132"). And it works well. Do you plan also to add a SINGLE bank boot-loader example over BLE (not serial) for S132 stack?
Hello I found example for dual bank bootloader ("examples\dfu\bootloader\pca10040\dual_bank_ble_s132"). And it works well. Do you plan also to add a SINGLE bank boot-loader example over BLE (not serial) for S132 stack?
@vit: Have you tried to simply replace the dfu_dual_bank.c with dfu_single_bank.c ? Last time I tested it worked for me (as explained at question J here.)
thank you! I replaced the file and it compiles and it works. But when I tried to update bigger FW I got error. See question
@vit: So it worked if you test with SDK's example but not with bigger application ? How big your application is ? Please also try to capture a sniffer trace when you do DFU and update it to the new case you created.
Hello, I'm using same application and same approach. I'm only adding dummy size __dumySize FILL 2000,0xABCDEF11,4
. I do generate zip with same command: nrfutil.exe dfu genpkg --application %HEX% out.zip
. It fails when my bin is 348KB big. nRFgo says Application size: 360kB so it shall fit. Frontline log is here
@Vit: If you try something smaller, says 300kB would it fail ?
I suspect there could be some page was reserved for application data (DFU_APP_DATA_RESERVED). Could you check if DFU_IMAGE_MAX_SIZE_FULL is bigger than the size of your application ?