Tim Ahrens

QG8 - Programming a byte in Flash (C based)

Discussion created by Tim Ahrens on Oct 16, 2008
Latest reply on Oct 20, 2008 by bigmac
Hi Folks,
I've been searching a while in the archives to see if there is any
code on the forum to program a byte in a QG8 written in C.  Didn't
find any.
I saw some nice code from Peg in assembly, but there's a lot
of stack manipulation (to keep things in Ram).
I only need to keep 1 or 2 bytes of Flash (although I know I
need to 'waste' a page worth's of space to do it)!
Just wondered if there was any code floating around.