I’m developing a few projects with a ConnectMe and NetOS 6.3. I have included the naftpapp so I have a way to upload a new firmware in production modules (the ones without Jtag -C modules).
I haven’t changed the naftpapp, I’m using the original one. But after several versions, when I try to upload a new firmware I get NAFLASH_SECTOROFFSET_INVALID (-7) on the NAFlash_Write.
I’ve been looking through the code, but I didn’t find anything. Th funny thing is that one (A) of the projects was working this morning. After been the whole day with other one (B), I checked if everything kept working but it didn’t. The same error again. But if I upload with Jtag the one I’ve been working (B) and upload (A) via FTP it starts working. ¿?
I don’t understand what the problem is. But it’s like a timebomb in my code. I cannot go to production with this software.
Any ideas where to look?
Thank you very much