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,




It doesn't work that way. You need to reduce your code size, not attempt to compress the hex file.
Try compiling with size optimizations, disable logging, etc.
I don't have any project whose size is small all are bigger than 400 KB. What i should do?
Binary is still same size of hex and is not reducing
Because Samsung microbit hex2bin converter is reducing size but its not woriking in ios lib of IOS-Pods-DFU-Library.
It doesn't reduce the size, it's just a different representation. A hex file is just a text file. A binary file is just 1's and 0's. Therefore the binary file it's smaller.
The hex file in the end is used to create a binary file. I believe that the DFU zip files have a binary inside, not a hex file.
Because Samsung microbit hex2bin converter is reducing size but its not woriking in ios lib of IOS-Pods-DFU-Library.
Yeah it has bin file but why its not working. I don't know why?
Yeah it has bin file but why its not working. I don't know why?
Well you said it's because the binary is more than 256 KB? What is it that you want to flash? 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
I am only flashing application.
I don't know about any bugs regarding that. Maybe you should wait for support from Nordic.