Jose Luis Hernandez Chao

MCF51QE128 flash write-erase

Discussion created by Jose Luis Hernandez Chao on Mar 26, 2009
Latest reply on Mar 26, 2009 by Rich Testardi

Hi,

 

I need help about how to write and erase segments of the flash memory. I wrote code as the flow chart that appears on page 84 of reference manual, but it doesn´t works.

When run the code resets the microcontroller, and de SRS indicates a illegal opcode and a Illegal address SRS = (0x18). The segment that I want to program  and erase is the last one (0x1FC00 - 0x1FFFF).

 

Have anybdy some comment? Are there something I'm missing?

Outcomes