Thanks, Cat.
another question, do you know how to declare a const array in C which is stored in program memeory and then use some routine to move data from program memory to data memory when program is running?
Look in the Help folder, located in your CodeWarrior installation folder. There are a number of app notes and tech notes there. One of the tech notes should explan how to copy code from ROM to RAM, in preparation for writing to Flash. This should guide you as to what to do.
---Tom