This message contains an entire topic ported from a separate forum. The original message and all replies are in this single message. We have seeded this new forum with selected information that we expect will be of value to you as you search for answers to your questions.
Posted: Mon Jul 18, 2005 2:29 pm
Does anyone have (or have a link to) assembler code to erase and write a small block of flash in a 9S12E128CPV ?
Posted: Tue Jul 19, 2005 2:39 am
> Does anyone have (or have a link to) assembler code to erase and write a
> small block of flash in a 9S12E128CPV ?
Get AN2720.pdf from Freescale. This is C code for CodeWarrior, but it has the right algorithms if you're using a different language/compiler.
I think your device has the serial monitor, right? I think you can download the serial monitor source code at Freescale. This should be a good example on how to program flash. See AN2548.pdf.
Or, maybe you just call into the serial monitor from your program?
Message Edited by Alban on 01-30-2006 11:51 AM