In the test otaPal_WriteBlock_WriteManyBlocks the calculation for writeOffset is incorrect and results in the same offset being written to multiple times. For a page size of 128 the writeOffset values are: 128, 128, 256, 256, 384, 512, 512, 640, 768, 768.
Hello - we’re taking a look into this issue. Which platform are you using? Do you have test logs you can share with us?
Also, can you add a GitHub link to the test you mentioned?
FreeRTOS/FreeRTOS-Libraries-Integration-Tests/blob/main/src/ota/ota_pal_test.c#L412
I cannot post the full link " Sorry, new users can’t put links in posts. "
Are you using the latest tests? I see that it was recently fixed - OTA PAL test: allow more return values for otaPal_Abort and fix some test cases. by ActoryOu · Pull Request #53 · FreeRTOS/FreeRTOS-Libraries-Integration-Tests · GitHub
I did not see that fix. That should solve the issue. Thank you.