On Tue, May 06, 2025 at 04:24:45PM +0000, Rolf | Onethinx wrote: > Unfortunately flash programming doesn’t work. It might have seemed that it was > working because the flash was already programmed. ... > S: ** Programming Started ** > S: Warn : Adding extra erase range, 0x0003fc00 .. 0x0003ffff > S: Warn : keep_alive() was not invoked in the 1000 ms timelimit. GDB alive > packet not sent! (9791 ms). Workaround: increase "set remotetimeout" in GDB > S: ** Programming Finished ** > S: Warn : negative acknowledgment, but no packet pending
But it didn't complain about anything, it's not possible to tell from this output if programming failed or not. Since you're using GDB anyway can you try "load" and then "compare-sections"? And when you're using "program" can you add "verify" parameter to its options so we see if anything at all was written? Are you sure flash wasn't somehow "protected" or "locked" by firmware itself or other tools? Does erasing flash work? On the hardware I had access to I did many tests and flashing was indeed functional so I'm quite confused by your results. -- Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! mailto:fercer...@gmail.com