Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Storing variables when running in FLASH EEPROM

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 )