I tried to reduced my hex file's size while converting to zip but it doesn't get size under 256KB due to which I am getting an error: Data size exceeds the limit.
Below are the screenshots for reference.
I need help to resolve this problem,




I tried to reduced my hex file's size while converting to zip but it doesn't get size under 256KB due to which I am getting an error: Data size exceeds the limit.
Below are the screenshots for reference.
I need help to resolve this problem,




Yes i did. looks same
Did you try to add your hex file to nRF Connect Programmer? This should show the size of the .hex file and can show overlap if there are issues with the size.
I have used nRF Connect but not nRF Connect Programmer.
Hi,
Now binary data size is 164 KB still I am getting error Data size exceeds the limit.
You still have to take into account the space taken up by the bootloader and the softdevice. I assume you will have about 100 KB of free space
So how much space do you have available?
Space available = Flash size - Softdevice size - Bootloader size
And it's even lower, since the sizes are usually page aligned (4 KB) and there's some unused space.