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

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

EEPROM - Simi - Jan 17 23:27:46 2008

friends,
i am working in mc9s12dj256 microcontroller for writing eeprom. i am new to this microcontroller.i tried to write the eeprom in this directly but its not working so now i tried to write through BDM.if you have any data related to my project please share with me

juna
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Scanning of this message and addition of this footer is performed
by E-mail Content Filter Software at ADA in conjunction with McAfee
Virus detection software
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[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 )


Re: EEPROM - "smith.jeff28" - Jan 18 11:38:14 2008

First, be aware that debuggers are often configured so that EEPROM is
ROM, meaning they don't update in real time.
Second, you can't just write to the EEPROM.
See this sample code:
http://freescalemcu.com/samples/EEPromBurn.zip

And you should review:
http://freescalemcu.com/samples/S12EETS4KV2.pdf

--- In 6...@yahoogroups.com, "Simi" wrote:
>
> friends,
> i am working in mc9s12dj256 microcontroller for writing eeprom. i am
new to this microcontroller.i tried to write the eeprom in this directly
but its not working so now i tried to write through BDM.if you have any
data related to my project please share with me
>
> juna
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _
>
> Scanning of this message and addition of this footer is performed
> by E-mail Content Filter Software at ADA in conjunction with McAfee
> Virus detection software
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - -
> [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 )

Re: EEPROM - "John Hartman (NoICE)" - Jan 18 11:50:47 2008


>i am working in mc9s12dj256 microcontroller for writing eeprom. i am
>new to this microcontroller.i tried to write the eeprom in this
>directly but its not working so now i tried to write through BDM.if
>you have any data related to my project please share with

When you say "write eeprom directly", it you mean
STAA EEPROM_address

that won't work, whether you do it from the HC12 or via BDM.

To write to the EEPROM you must follow the programming steps shown in
the datasheet. The main datasheet will probably refer you to "EE...
Block User Guide". That pdf shows how to erase and program the EEPROM.

Some Google searching should find some assembly-language or C
functions to do this.
Best regards, John Hartman
NoICE Debugging Tools
http://www.noicedebugger.com
[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 )