Hello all,
I sit seriously infront of my PC to find what is sector errase mode in MC9S08DZ..
I could'nt find any answer..
I have routine for old uc 68HC08AZ which has byte errase and program mode.
In previous source I was doing it byte by byte....
Then how to implement it in 9S08DZ..
Here they are having only sector(4 byte or 8 byte) erase mode..
Can you help me to find out what will happens in sector erase mode.
Suppose I have location L1,L2,L3,L4......
LOOP1
FIRST I SEND SECTOR ERASE COMMAND
ERASE L1
THEN AGAIN I CALL LOOP1 FOR FOR NEXT ADDRESSES. WILL IT CAUSE ANY PROBLEM FOR PREVIOUS BYTES....
BY THE WAY WHAT IT DO, WHEN I SEND SECTOR ERASE COMMAND.. I MEAN TO SAY WHAT WILL BE THE CONTENTS OF ERASED LOCATION....
Also, how to enable charge pump associated with flash?
for EEPROM also is it neccessary to enable charge pump ?
Datasheet is unable to answer these questions....
Your help is highly appreciated
Sangram