Anders Johansson

Cannot erase DZ128 flash pages 4-7, please help

Discussion created by Anders Johansson on Dec 23, 2011
Latest reply on Dec 27, 2011 by kook

I want to erase sectors in flash at 0x48000,

and I am unable to write to an adress in the sector.

 

How do I write to address 0x48000 to initiate the erase procedure?

 

What goes here?

FCMD = mPageErase;      // Command to Page Erase        
FSTAT_FCBEF = 1;        // Execute command
{asm nop;}              // Delay
{asm nop;}
{asm nop;}
{asm nop;}


etc... etc ...

 

Is PPAGE needed?

 

Please assist, I am stuck.

 

Thanks,

Anders J


Outcomes