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 | please help. trying to get my code to boot on power-on or reset.


Advertise Here

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

please help. trying to get my code to boot on power-on or reset. - tronictech1 - Oct 15 12:11:10 2008

Hello,

I have a CMD12-dp512 development board with a hcs12 MCU on it. I have
searched and searched for documentation on how to get my code to
execute upon power-on or reset, but I can find nothing. I am usuing
the axIDE12 (version 4) editor/complier, and I can find no options in
that software for this either.

Thank you in advance for any help or direction.
Jerry
------------------------------------

______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.


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


Re: please help. trying to get my code to boot on power-on or reset. - elec...@hotmail.com - Oct 15 14:52:38 2008

Sorry, I should clearify that the cpu is a mc9s12dp512. Thanks again.

Hello,
>
>I have a CMD12-dp512 development board with a hcs12 MCU on it. I have
>searched and searched for documentation on how to get my code to
>execute upon power-on or reset, but I can find nothing. I am usuing
>the axIDE12 (version 4) editor/complier, and I can find no options in
>that software for this either.
>
>Thank you in advance for any help or direction.
>Jerry
>------------------------------------

------------------------------------



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

Re: Re: please help. trying to get my code to boot on power-on or reset. - Dave - Oct 15 15:45:48 2008

Did you program the reset vector to point to the beginning of your code?

Dave

e...@hotmail.com wrote:
>
> Sorry, I should clearify that the cpu is a mc9s12dp512. Thanks again.
>
> Hello,
> >
> >I have a CMD12-dp512 development board with a hcs12 MCU on it. I have
> >searched and searched for documentation on how to get my code to
> >execute upon power-on or reset, but I can find nothing. I am usuing
> >the axIDE12 (version 4) editor/complier, and I can find no options in
> >that software for this either.
> >
> >Thank you in advance for any help or direction.
> >Jerry
> >------------------------------------
> >
> >

------------------------------------



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

RE: Re: please help. trying to get my code to boot on power-on or reset. - "Redd, Emmett R" - Oct 15 17:00:31 2008

Does the board have D-Bug12 and a jumper on it to jump to EEPROM?

Emmett Redd Ph.D. mailto:E...@missouristate.edu
Professor (417)836-5221
Department of Physics, Astronomy, and Materials Science
Missouri State University Fax (417)836-6226
901 SOUTH NATIONAL Dept (417)836-5131
SPRINGFIELD, MO 65897 USA

Physicists always practice energy conservation.

> -----Original Message-----
> From: 6...@yahoogroups.com [mailto:6...@yahoogroups.com]
> On Behalf Of Dave
> Sent: Wednesday, October 15, 2008 2:46 PM
> To: 6...@yahoogroups.com
> Subject: Re: [68HC12] Re: please help. trying to get my code
> to boot on power-on or reset.
>
> Did you program the reset vector to point to the beginning of
> your code?
>
> Dave
>
> e...@hotmail.com wrote:
> >
> > Sorry, I should clearify that the cpu is a mc9s12dp512.
> Thanks again.
> >
> > Hello,
> > >
> > >I have a CMD12-dp512 development board with a hcs12 MCU on
> it. I have
> > >searched and searched for documentation on how to get my code to
> > >execute upon power-on or reset, but I can find nothing. I am usuing
> > >the axIDE12 (version 4) editor/complier, and I can find no
> options in
> > >that software for this either.
> > >
> > >Thank you in advance for any help or direction.
> > >Jerry
> > >------------------------------------
> > >
> > >
> >
> >
>
> ------------------------------------



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

RE: Re: please help. trying to get my code to boot on power-on or reset. - Jerry Fields - Oct 17 11:37:04 2008

I just tried that Dave. When I set the reset vector to point to where my code was, it somewhat worked. It did indeed execute my code, but with the soft-reset button only (the reset button in the Axide4 software). The hardware reset button on the board, did not start my code. In addition, when I pulled the power from the board, the reset vector reverted to its default. It did not hold the starting address of my code.

In addition, I am confused as to why when I wrote the code to the "internal falsh" (that starts at 0xc000) it did not retain my code after removing power. Isn't the flash memory non-volital? Sorry if I sound like a newbe. I have only used the 68hc11e9 prior to this.

To: 6...@yahoogroups.comFrom: d...@pemicro.comDate: Wed, 15 Oct 2008 15:45:38 -0400Subject: Re: [68HC12] Re: please help. trying to get my code to boot on power-on or reset.

Did you program the reset vector to point to the beginning of your code?D...@hotmail.com wrote:>> Sorry, I should clearify that the cpu is a mc9s12dp512. Thanks again.>> Hello,> >> >I have a CMD12-dp512 development board with a hcs12 MCU on it. I have> >searched and searched for documentation on how to get my code to> >execute upon power-on or reset, but I can find nothing. I am usuing> >the axIDE12 (version 4) editor/complier, and I can find no options in> >that software for this either.> >> >Thank you in advance for any help or direction.> >Jerry> >------------------------------------> >> >>>

_________________________________________________________________
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008

[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: Re: please help. trying to get my code to boot on power-on or reset. - David Perreault - Oct 17 12:16:56 2008


This board from Axiom Manufacturing www.axman.com can be configured to use the internal flash or external ram as the main code memory. You probably have the board configured to use external ram. This means that if you write the reset vector, it is lost during power down.

If you configure the board to use internal flash, you can not simply write to the flash. You must program it. I assume axiom provides you a utility to do this.

Dave
-----Original Message-----
From: 6...@yahoogroups.com on behalf of Jerry Fields
Sent: Fri 10/17/2008 11:36 AM
To: 6...@yahoogroups.com
Subject: RE: [68HC12] Re: please help. trying to get my code to boot on power-on or reset.

I just tried that Dave. When I set the reset vector to point to where my code was, it somewhat worked. It did indeed execute my code, but with the soft-reset button only (the reset button in the Axide4 software). The hardware reset button on the board, did not start my code. In addition, when I pulled the power from the board, the reset vector reverted to its default. It did not hold the starting address of my code.

In addition, I am confused as to why when I wrote the code to the "internal falsh" (that starts at 0xc000) it did not retain my code after removing power. Isn't the flash memory non-volital? Sorry if I sound like a newbe. I have only used the 68hc11e9 prior to this.

To: 6...@yahoogroups.comFrom: d...@pemicro.comDate: Wed, 15 Oct 2008 15:45:38 -0400Subject: Re: [68HC12] Re: please help. trying to get my code to boot on power-on or reset.

Did you program the reset vector to point to the beginning of your code?D...@hotmail.com wrote:>> Sorry, I should clearify that the cpu is a mc9s12dp512. Thanks again.>> Hello,> >> >I have a CMD12-dp512 development board with a hcs12 MCU on it. I have> >searched and searched for documentation on how to get my code to> >execute upon power-on or reset, but I can find nothing. I am usuing> >the axIDE12 (version 4) editor/complier, and I can find no options in> >that software for this either.> >> >Thank you in advance for any help or direction.> >Jerry> >------------------------------------> >> >>>

_________________________________________________________________
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008

[Non-text portions of this message have been removed]

[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 )