As Joerg Wunsch wrote: > I tried some quick hacks now, in an attempt to emulate the > "chunkwise" update through sending full pages where only the > relevant part of that page has been filled in (leaving the remainder > at 0xFF, i.e. at "no change"), yet it still writes garbage to some > locations. I'm appending you that diff, in case you want to play > around with it.
p.s.: Unfortunately, doing "the right thing", i.e. reassemble all the memory update chunks into a memory image, and program that one in a single rush to the flash ROM, would require quite a bit of restructuring, and a lot of guesswork. That's because GDB does not bother to tell us when it is about to start a "load" command (this situation is already being guessed in AVaRICE, to precede it by a "chip erase"), nor does it tell us when it's done. -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) ------------------------------------------------------------------------------ _______________________________________________ avarice-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/avarice-user
