Flash Memory Behaving Volatile on 9S08GT60

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flash Memory Behaving Volatile on 9S08GT60

1,259 Views
AndrewD
Contributor I
Hello all.

I am trying to store some data in flash on a 13192-SARD board.  I'm using the modified SGF driver found in this topic to write/erase.  http://forums.freescale.com/freescale/board/message?board.id=8BITCOMM&message.id=5498&query.id=18323...

It appears to write just fine.  I can read back the data and its exactly what I wrote.  But when I reset the device and try to read it back, its no longer there.

Anybody have an idea for what's going wrong?

Thanks in advance.
Labels (1)
0 Kudos
Reply
2 Replies

427 Views
peg
Senior Contributor IV
Hi Andrew,
 
I have seen this phenomenon before. Where when you programme flash incorrectly it is still possible to read it back, but it is not permanently programmed. However without any more info I can't suggest what you are doing wrong.
I have discussed it here before, so maybe a search of "peg" as the author and "flash" might turn something up for you.
 


Message Edited by peg on 2007-09-29 09:20 AM
0 Kudos
Reply

427 Views
Alban
Senior Contributor II
Hello Andrew,

As you indicate that a read back is working fine before a power cycle, I suspect that the driver is not mapped to flash memory but to RAM.

You may check which address your data is written to.
Then, by matching it to the memory map, you will see if it is actual flash.

Alban.
0 Kudos
Reply