I am learning UART DFU and I found this:
I am learning UART DFU and I found this:
4 + 4 + 24 + 864 + 148 + 4 = 1048k, But nRF52840 has a flash size of 1024 kB
There is a typo in the application area side. The softdevice ends at 0x00026000 for S140. So the application are should start at the same address 0x00026000 (not 0x2000000) Which makes the size 840KB (not 864KB)
Then you math will add up
4 + 4 + 24 + 840 + 148 + 4 = 1024
There is a typo in the application area side. The softdevice ends at 0x00026000 for S140. So the application are should start at the same address 0x00026000 (not 0x2000000) Which makes the size 840KB (not 864KB)
Then you math will add up
4 + 4 + 24 + 840 + 148 + 4 = 1024