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

Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | 68HC12 | Codewarrior - Speedy Debuging Help

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

Codewarrior - Speedy Debuging Help - johnpititto1976 - Oct 2 23:26:00 2002

Hi All,

I am currently developing the MC9s12dp256 using codewarrior.

I have thought of a method where the debugging time using the true-
time simulator and real time debugger could be reduced substantially.
Simply by saving the settings that each component window, has, i.e.
in the data window saving the file that it references to and the mode
of update. This would save time next time I start the debugger as I
don't have to set it up again.

Sure the layout and type of component windows displayed can be saved
under the configuration settings.

How can the settings of each component window be retained?

Thanks,

John





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


Re: Codewarrior - Speedy Debuging Help - Gilles Blanquin - Oct 3 8:30:00 2002


Hi John.

As you noticed, not all settings are saved when the Save button is pressed
in the debugger.

A good way to help you is to record all the settings you make:

Open the "Recorder" component. Press the record button, choose a file, etc.
Then do all your settings. Once done, stop and close the Recorder and edit
the recorded text file. (YOU MUST CLOSE THE RECORDER TO FIND SOMETHING IN
THIS FILE!!)

If you set for example a periodical refresh in the "Data:1" component, you
will get these commands:

Data:1 <updaterate 2000
Data:1 < attributes mode periodical

About the module to choose for data, it is not possible to record the
module to see, but if you click on the call chain in the "Procedure"
window, you will see that data display changes: This is recorded as:

in>data:1 <sproc 2

The number after sproc is the function stack level. Please check the manual
for details about this command.

All these commands are debugger commands that you can put in a
"startup.cmd" system command file. Then they will be executed each time you
start the debugger.

Regards,
Gilles At 06:26 AM 10/3/2002, you wrote:
>Hi All,
>
>I am currently developing the MC9s12dp256 using codewarrior.
>
>I have thought of a method where the debugging time using the true-
>time simulator and real time debugger could be reduced substantially.
>Simply by saving the settings that each component window, has, i.e.
>in the data window saving the file that it references to and the mode
>of update. This would save time next time I start the debugger as I
>don't have to set it up again.
>
>Sure the layout and type of component windows displayed can be saved
>under the configuration settings.
>
>How can the settings of each component window be retained?
>
>Thanks,
>
>John >
>
>--------------------------------------------------------
>To unsubscribe from this group, send an email to: >To learn more about Motorola Microcontrollers, please visit
>http://www.motorola.com/mcu





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

Serial programming for D60A??? - James M. Knox - Oct 3 8:32:00 2002


We are starting a new project that will require the units to be
reprogrammable in the field. We also plan to switch to the D60A in order
to get rid of the +12 Vpp power supply.

Now we *can* provide each site with a BDM pod, but it's not the best
solution. Not only the complexity, but also the requirement for a special
"socket" to the outside (or some rather tricky circuitry in order to make
one do double duty). Frankly, the old HC11 capability where the boot
loader was built in and used the serial port would be a LOT better! [We
have to allow for an external serial port anyway.]

Anyone have any thoughts on the best way to implement this? Alternatives?

jmk

-----------------------------------------------
James M. Knox
TriSoft ph 512-385-0316
1109-A Shady Lane fax 512-366-4331
Austin, Tx 78721
-----------------------------------------------





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

Re: Serial programming for D60A??? - Gordon Doughman - Oct 3 9:28:00 2002

James,

Checkout application note AN1718, "A Serial Bootloader for Reprogramming the
MC68HC912B32 Flash EEPROM" and AN2153, "A Serial Bootloader for Reprogramming
the MC9S12DP256 FLASH Memory". While the programming algorithm for the D60A
is different, these two app notes should get you started. I would also be
willing to share the source code for the D-Bug12 v3 bootloader which runs on
both the D60 & D60A, however, I can't provide any direct support. Let me know
if your interested.

Regards,
Gordon

"James M. Knox" wrote:

> We are starting a new project that will require the units to be
> reprogrammable in the field. We also plan to switch to the D60A in order
> to get rid of the +12 Vpp power supply.
>
> Now we *can* provide each site with a BDM pod, but it's not the best
> solution. Not only the complexity, but also the requirement for a special
> "socket" to the outside (or some rather tricky circuitry in order to make
> one do double duty). Frankly, the old HC11 capability where the boot
> loader was built in and used the serial port would be a LOT better! [We
> have to allow for an external serial port anyway.]
>
> Anyone have any thoughts on the best way to implement this? Alternatives?
>
> jmk
>
> -----------------------------------------------
> James M. Knox
> TriSoft ph 512-385-0316
> 1109-A Shady Lane fax 512-366-4331
> Austin, Tx 78721
> ----------------------------------------------- > --------------------------------------------------------
> To unsubscribe from this group, send an email to: > To learn more about Motorola Microcontrollers, please visit
> http://www.motorola.com/mcu >

--
===============================================================
Gordon Doughman Ph: 937-438-6811
Motorola Semiconductor Fax: 937-434-7457
Field Applications Engineer Pager: 800-759-8352 Pin: 1304089
Suite 175
3131 Newmark Drive
Miamisburg, OH 45342

Check out my HC12 book at:
http://www.rtcgroup.com/books/





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

Re: Serial programming for D60A??? - James M. Knox - Oct 3 11:16:00 2002

At 10:28 AM 10/3/2002 -0400, you wrote:
>Checkout application note AN1718, "A Serial Bootloader for Reprogramming the
>MC68HC912B32 Flash EEPROM" and AN2153, "A Serial Bootloader for
>Reprogramming the MC9S12DP256 FLASH Memory". While the programming
>algorithm for the D60A is different, these two app notes should get you
>started.

I've got the boot loader source for the HC11. I was hoping to re-invent
the wheel (i.e. not having to write the flash programming code itself).

>I would also be willing to share the source code for the D-Bug12 v3
>bootloader which runs on both the D60 & D60A, however, I can't provide any
>direct support. Let me know if your interested.

Thanks... I may take you up on it. Let me get a little further in deciding
what route I want to take.

jmk -----------------------------------------------
James M. Knox
TriSoft ph 512-385-0316
1109-A Shady Lane fax 512-366-4331
Austin, Tx 78721
-----------------------------------------------




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

Re: Serial programming for D60A??? - zeta_alpha2002 - Oct 6 11:24:00 2002

Gordon,

> willing to share the source code for the D-Bug12 v3 bootloader
which runs on
> both the D60 & D60A, however, I can't provide any direct support.
Let me know
> if your interested.

Would you send a copy of the source code, I am planning on changing
it for the DG128A, unless someone out there has already done and is
willing to share it.

Regards




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

Re: Serial programming for D60A??? - Andy Reynolds - Oct 19 5:32:00 2002

--- In 68HC12@y..., Gordon Doughman <g.doughman@m...> wrote:
> ... I would also be
> willing to share the source code for the D-Bug12 v3 bootloader
which runs on
> both the D60 & D60A, ...

Gordon,

It would be great if you could share the bootloader code - could you
upload it here?

Thanks,

Andy





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

Re: Re: Serial programming for D60A??? - James M. Knox - Oct 22 12:54:00 2002

At 10:32 AM 10/19/2002 +0000, you wrote:
>--- In 68HC12@y..., Gordon Doughman <g.doughman@m...> wrote:
> > ... I would also be willing to share the source code for the D-Bug12
> v3 > > bootloader which runs on both the D60 & D60A, ...
>
>It would be great if you could share the bootloader code - could you
>upload it here?

Gordon,

If you can't upload it, then it looks like I do indeed need a copy. [I
fully understand that I will receive all the product support I paid for! <G>] [From an old Dr. Who episode:

K9: I fear the utilitarian functionality of this
unit has deteriorated to below the zero percentile.

Boy: You mean that you are worse than useless!

K9: Affirmative.
]
-----------------------------------------------
James M. Knox
TriSoft ph 512-385-0316
1109-A Shady Lane fax 512-366-4331
Austin, Tx 78721
-----------------------------------------------



______________________________
controlSUITE™ software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!



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

how to build from scratch.... - Author Unknown - Oct 23 15:38:00 2002

Hi

I am new to this groups. I am an application developer
writing low level ethernet 10/100/1000 device drivers
for telecom products. I have a 68HC912B32...something
like that a evaluation board which I bought when I was
doing my graduation 3 years back. I feel comfortable
in writing application in c. I want boot some kind of
OS on HC12 and want to run/develop some application in
c ( for self technical improvement). I need help in
how to start, run a OS, run some compilers, and
finally write some hello world kind of
program...basically from the scratch. I have the
evaluation board, good powersupply, i can hook up the
eval board to my pc(running windows 98 using D9
connector). Need some help ....

Thanks in advance
Kittu

__________________________________________________






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

Re: how to build from scratch.... - Author Unknown - Oct 23 16:47:00 2002

In a message dated 10/23/02 4:39:16 PM Eastern Daylight Time,
writes:

> I want boot some kind of
> OS on HC12 and want to run/develop some application in
> c ( for self technical improvement). I need help in
> how to start, run a OS, run some compilers, and
> finally write some hello world kind of
> program...basically from the scratch.

Why not download the Imagecraft hc12 c compiler and try it? It lets you use
it for 30 days... that should be long enough to get the 'hello' program
compiled and running..... [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: how to build from scratch.... - Steve Russell - Oct 23 21:54:00 2002

Hi,

Try µC/OS-II http://www.ucos-ii.com/. If you buy the book for around $55
at Amazon you get a personal license. The book describes how the system
works and how to use it.

The system has been ported to many architectures, including the PC and HC-12.

Steve

You should spend At 01:38 PM 10/23/2002, you wrote:
>Hi
>
>I am new to this groups. I am an application developer
>writing low level ethernet 10/100/1000 device drivers
>for telecom products. I have a 68HC912B32...something
>like that a evaluation board which I bought when I was
>doing my graduation 3 years back. I feel comfortable
>in writing application in c. I want boot some kind of
>OS on HC12 and want to run/develop some application in
>c ( for self technical improvement). I need help in
>how to start, run a OS, run some compilers, and
>finally write some hello world kind of
>program...basically from the scratch. I have the
>evaluation board, good powersupply, i can hook up the
>eval board to my pc(running windows 98 using D9
>connector). Need some help ....
>
>Thanks in advance
>Kittu
>
>__________________________________________________
>
>Yahoo! Groups Sponsor
>ADVERTISEMENT
><http://rd.yahoo.com/M=237459.2482214.3917349.2146399/D=egroupweb/S=1706554205:HM/A=1267611/R=0/*http://ad.doubleclick.net/jump/N2524.Yahoo/B1071650;sz=300x250;ord=1035405520018075?>1d450fe.jpg
>1d45108.jpg
>
>--------------------------------------------------------
>To unsubscribe from this group, send an email to: >To learn more about Motorola Microcontrollers, please visit
><http://www.motorola.com/mcu>http://www.motorola.com/mcu >>Yahoo! Terms of Service. *************************************************************************
Steve Russell mailto:
Senior Software Design Engineer http://www.nohau.com
Nohau Corporation phone: (408)866-1820
51 East Campbell Avenue fax: (408)378-7869
Campbell, CA 95008
*************************************************************************

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