Using Flash as EEPROM in QE8

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

Using Flash as EEPROM in QE8

1,286 Views
RogerSchaefer
Contributor III

Hi,

Last year sometime, Peg posted a program in assembly for using Flash as EEPROM with the 9S08QG8.  It worked fine and I also used it without change for the 9S08SH8.  Now I am trying to port a program over to the newer 9S08QE8 and have not, as yet been able to get the program to work.

 

Has Peg or anyone else tried this?

 

Roger

Labels (1)
0 Kudos
3 Replies

354 Views
peg
Senior Contributor IV

Hi Roger,

 

No he hasn't.

He also does not know why it would not work.

What is wrong?

Are you using the version that turns on a led on failure?

What is the filename of my code you are basing this on?

0 Kudos

354 Views
RogerSchaefer
Contributor III

The message subject was "Complete assembly programme for demonstrating EEPROM emulation in a QG8" back on 2007-11-17.  The filename was "qg4flash.asm"

 

I am not sure if my problem is with this code or with setting up the ICS to get the correct bus clock speed on the 9S08QE8.

 

Roger

0 Kudos

354 Views
peg
Senior Contributor IV

Hello,

 

This code was adapted from a GB60 original version.

AFAIK all S08 flash is essentially the same. The only bit that varies should be the clock setup. Once you have that correct the rest should be the same.

 

0 Kudos