Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
Storing variables when running in FLASH EEPROM - supaben34 - Dec 12 5:02:00 2005
Hello all,
I am trying to run a program in my FLASH EEPROM in my HC12B32
board. My program works fine in RAM but doesn't seem to work when in
FLASH EEPROM. Iam setting my EEPROM address to $8000... I am also
using variables and I was wondering where I should set them. When
looking at the programmer's manual, it seems like $1000 cannot be
"seen" when program is in the EEPROM.
So basically my question is, When I run programs in my FLASH
EEPROM, where should I store my variables? I only have about five or
six variables that need to be saved.
Thanks a lot guys. A fast response is always appreciated.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: Storing variables when running in FLASH EEPROM - Doron Fael - Dec 12 5:54:00 2005
The 68HC912B32 has 1KByte of internal RAM that is out of Reset mapped to
the address range 0800h - 0BFFh.
It can be re-mapped to start at any 2K address boundary using the INITRM
register.
Hope this helps,
Doron
Nohau
HC12 In-Circuit Emulators
www.nohau.com/emul12pc.html
At 09:02 12/12/2005 +0000, you wrote:
>Hello all,
> I am trying to run a program in my FLASH EEPROM in my HC12B32
>board. My program works fine in RAM but doesn't seem to work when in
>FLASH EEPROM. Iam setting my EEPROM address to $8000... I am also
>using variables and I was wondering where I should set them. When
>looking at the programmer's manual, it seems like $1000 cannot be
>"seen" when program is in the EEPROM.
>
> So basically my question is, When I run programs in my FLASH
>EEPROM, where should I store my variables? I only have about five or
>six variables that need to be saved.
>
> Thanks a lot guys. A fast response is always appreciated.
[Non-text portions of this message have been removed]

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )