EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

To activate m68hc11 minikit

Started by ilyana rizmi March 29, 2004
Hello,

I would like to know from this group on how could I activate my last semester miniproject m68hc11A1 minikit. I have read the the HC11 book and browse through the websites but I am still quite confused about the concept of startup procedure. I would be very grateful if somebody expert from this group could explain to me in a simple way Thank you for your participation ---------------------------------



I know nothing of a "minikit", I suggest contacting the manufacturer for
technical data. Since you hint that this is a university project, I also
suggest that you contact your tutor for guidance.

Having said that, I go on to describe the usual method for starting up
(bootstrapping) an unprogrammed MC68HC11.

The HC11 contains a small 'bootstrap' loader in ROM. See the White Book,
Section 3, especially Section 3.7.4 "Special Bootstrap Mode" and its
subsections for details of operation.

There is available special debug and programming software which can be run
on a PC compatible host computer that knows how to operate the HC11 in
bootstrap mode and download and program the devices. These programs require
a serial communications connection between the PC and the target HC11.

Two examples of such software are PCBUG11, available at the Motorola MCU
website and JBUG11 available at
http://freespace.virgin.net/john.beatty/Jbug11_main.html

You may also want to consider joining the Jbug11 email group at YaHoo.

Good luck, Bob Smith

--- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
----- Original Message -----
From: "ilyana rizmi" <>
To: <>
Sent: Monday, March 29, 2004 7:31 PM
Subject: [m68HC11] To activate m68hc11 minikit > Hello,
>
> I would like to know from this group on how could I activate my last
semester miniproject m68hc11A1 minikit. I have read the the HC11 book and
browse through the websites but I am still quite confused about the concept
of startup procedure. I would be very grateful if somebody expert from this
group could explain to me in a simple way
>
>
> Thank you for your participation > --------------------------------- >
> --
------
> Yahoo! Groups Links
>
> a.. To



Actually we name it as minikit since it is our mini project that we build from fresh components. As mentioned in the book (I have HC11 rev 3 with me), the M68HC11A1 has ROM disabled. So how about the bootstrap loader?

Robert Smith <> wrote:I know nothing of a "minikit", I suggest contacting the manufacturer for
technical data. Since you hint that this is a university project, I also
suggest that you contact your tutor for guidance.

Having said that, I go on to describe the usual method for starting up
(bootstrapping) an unprogrammed MC68HC11.

The HC11 contains a small 'bootstrap' loader in ROM. See the White Book,
Section 3, especially Section 3.7.4 "Special Bootstrap Mode" and its
subsections for details of operation.

There is available special debug and programming software which can be run
on a PC compatible host computer that knows how to operate the HC11 in
bootstrap mode and download and program the devices. These programs require
a serial communications connection between the PC and the target HC11.

Two examples of such software are PCBUG11, available at the Motorola MCU
website and JBUG11 available at
http://freespace.virgin.net/john.beatty/Jbug11_main.html

You may also want to consider joining the Jbug11 email group at YaHoo.

Good luck, Bob Smith

--- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
----- Original Message -----
From: "ilyana rizmi" <>
To: <>
Sent: Monday, March 29, 2004 7:31 PM
Subject: [m68HC11] To activate m68hc11 minikit > Hello,
>
> I would like to know from this group on how could I activate my last
semester miniproject m68hc11A1 minikit. I have read the the HC11 book and
browse through the websites but I am still quite confused about the concept
of startup procedure. I would be very grateful if somebody expert from this
group could explain to me in a simple way
>
>
> Thank you for your participation > --------------------------------- >
> --
------
> Yahoo! Groups Links
>
> a.. To

---------------------------------
Yahoo! Groups Links

To

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


In a message dated 3/30/04 3:04:11 AM Eastern Standard Time,
writes:

Actually we name it as minikit since it is our mini project that we build
from fresh components. As mentioned in the book (I have HC11 rev 3 with me),
the M68HC11A1 has ROM disabled. So how about the bootstrap loader? =========================================
I have used several hc11 models in bootstrap mode.... hc11e2,f1,d0 and e0...
there are subtle differences in how the boot program works, but they are
clearly described in a moto app note on the moto site. The bootstrap program
just waits for an $FF to come in the serial port at 1200 baud, then will load a
binary program into ram, then jump to the start of ram after either a pause
of 4 character times, or after 256 bytes have been loaded into ram. The pc
basically just does a file transfer of the little binary bootstrap program out
the serial port at 1200 baud. (The various flavors of hc11 have ram at
different locs, and regs at different locs, so the boostrap program is specific to
the processor type) After the bootstrap program has been booted into ram, it
starts running. The program booted is usually a rom burner program that will
read s-records in from the serial port and burn them into rom byte by byte.
The simpler programs run at 1200 baud because this is slow enought to allow a
10ms per bte burn as the next chars are arriving. The company that makes the
little 'Micro Stamps', Technological Arts, provides both programs for all
their products and a windows program to control the whole thing, but the boards
that we make on our own I wrote the bootstrap prog in assembler and just
download it with a bat file that copies it to com1. What model of hc11 is used in
the minikit? Maybe one of the techarts bootloaders will work. The imagecraft
hc11 c compiler ide also has a boot download option.


See below ---

--- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
----- Original Message -----
From: "ilyana rizmi" <>
To: <>
Sent: Tuesday, March 30, 2004 3:02 AM
Subject: Re: [m68HC11] To activate m68hc11 minikit > Actually we name it as minikit since it is our mini project that we build
from fresh components.

Then your university would be considered to be the "manufacturer" and should
be able to supply you with a technical description of the board. At a
minimum, they should be able to supply you with layout of the board, a
schematic, and a BOM. There should also be a Theory of Operation available
although you should be able find the required information in the White Book
once you understand what you do and don't have on your board.

Your board should look very much like Figure 2-23, "Basic Single-Chip Mode
Connections" except that I would expect to find a RS232 to TTL level
converter section to establish communications between the board and your
host PC.

>As mentioned in the book (I have HC11 rev 3 with me), the M68HC11A1 has ROM
disabled. So how about the bootstrap loader?

The bootloader and main program ROM are separate sections of memory. The
bootstrap ROM is pesent in all HC11 family devices (with possible
exceptions) and is enabled by entering "Special Bootstrap Mode".
This process is separate from the main program memory ROMs.

I recommend reading Section 3.7.4 of the "White Book" again. Apparently you
missed the first sentence which I will quote here.

"When the MCU is reset in the special bootstrap mode, a small on-chip ROM is
enabled at address $BF40-$BFFF. . . . . . . . . . . . . . . . . " The
paragraph continues by giving an overview of the bootloader process. Actual
bootloader listings are given in Appendix B of the White Book.

You appear to be working with obsolete documentation. Rev 3 refers to the
Old "Pink Book" which is the Motorola M68HC11 Reference Manual (Motorola P/N
M68HC11RM/AD, Rev 3) This book is dated 1991 and was superceeded about two
years ago by the White Book (Motorola P/N M68HC11RM/D, Rev 6, 4/2002) I
recommend that you trash the Pink Book and obtain a current copy of this
essential reference ASAP. You can order single hard copy issues from the
Motorola web site. While waiting for delivery, you can download the
essential sections (the ones I have recommended) in .PDF format and print
them locally.
While you are at it, you should also probably obtain a Technical Data
Reference for the A Series devices. The White (nee Pink) books are generic
reference manuals for the HC11 family devices. The Technical Data Reference
contains importaint information specific to your particular device series
and often covers details not treated in the White Book.

>
> Robert Smith <> wrote:I know nothing of a "minikit",
I suggest contacting the manufacturer for
> technical data. Since you hint that this is a university project, I also
> suggest that you contact your tutor for guidance.
>
> Having said that, I go on to describe the usual method for starting up
> (bootstrapping) an unprogrammed MC68HC11.
>
> The HC11 contains a small 'bootstrap' loader in ROM. See the White Book,
> Section 3, especially Section 3.7.4 "Special Bootstrap Mode" and its
> subsections for details of operation.
>
> There is available special debug and programming software which can be run
> on a PC compatible host computer that knows how to operate the HC11 in
> bootstrap mode and download and program the devices. These programs
require
> a serial communications connection between the PC and the target HC11.
>
> Two examples of such software are PCBUG11, available at the Motorola MCU
> website and JBUG11 available at
> http://freespace.virgin.net/john.beatty/Jbug11_main.html
>
> You may also want to consider joining the Jbug11 email group at YaHoo.
>
> Good luck, Bob Smith
>
> --- Avoid computer viruses, Practice safe hex ---
>
> -- Specializing in small, cost effective
> embedded control systems --
>
> http://www.smithmachineworks.com/embedprod.html > Robert L. (Bob) Smith
> Smith Machine Works, Inc.
> 9900 Lumlay Road
> Richmond, VA 23236 804/745-1065 >
> ----- Original Message -----
> From: "ilyana rizmi" <>
> To: <>
> Sent: Monday, March 29, 2004 7:31 PM
> Subject: [m68HC11] To activate m68hc11 minikit > > Hello,
> >
> > I would like to know from this group on how could I activate my last
> semester miniproject m68hc11A1 minikit. I have read the the HC11 book and
> browse through the websites but I am still quite confused about the
concept
> of startup procedure. I would be very grateful if somebody expert from
this
> group could explain to me in a simple way
> >
> >
> > Thank you for your participation
> >
> >
> > ---------------------------------
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
> ------
> > Yahoo! Groups Links
> >
> > a.. To
> >
> >
>
> ---------------------------------
> Yahoo! Groups Links
>
> To >
>
> --------------------------------- >
>
> --
------
> Yahoo! Groups Links
>
> a.. To



I & my friend failed to run pcbug.exe. What are the possible reasons for this?

Robert Smith <> wrote: See below ---

--- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
----- Original Message -----
From: "ilyana rizmi" <>
To: <>
Sent: Tuesday, March 30, 2004 3:02 AM
Subject: Re: [m68HC11] To activate m68hc11 minikit > Actually we name it as minikit since it is our mini project that we build
from fresh components.

Then your university would be considered to be the "manufacturer" and should
be able to supply you with a technical description of the board. At a
minimum, they should be able to supply you with layout of the board, a
schematic, and a BOM. There should also be a Theory of Operation available
although you should be able find the required information in the White Book
once you understand what you do and don't have on your board.

Your board should look very much like Figure 2-23, "Basic Single-Chip Mode
Connections" except that I would expect to find a RS232 to TTL level
converter section to establish communications between the board and your
host PC.

>As mentioned in the book (I have HC11 rev 3 with me), the M68HC11A1 has ROM
disabled. So how about the bootstrap loader?

The bootloader and main program ROM are separate sections of memory. The
bootstrap ROM is pesent in all HC11 family devices (with possible
exceptions) and is enabled by entering "Special Bootstrap Mode".
This process is separate from the main program memory ROMs.

I recommend reading Section 3.7.4 of the "White Book" again. Apparently you
missed the first sentence which I will quote here.

"When the MCU is reset in the special bootstrap mode, a small on-chip ROM is
enabled at address $BF40-$BFFF. . . . . . . . . . . . . . . . . " The
paragraph continues by giving an overview of the bootloader process. Actual
bootloader listings are given in Appendix B of the White Book.

You appear to be working with obsolete documentation. Rev 3 refers to the
Old "Pink Book" which is the Motorola M68HC11 Reference Manual (Motorola P/N
M68HC11RM/AD, Rev 3) This book is dated 1991 and was superceeded about two
years ago by the White Book (Motorola P/N M68HC11RM/D, Rev 6, 4/2002) I
recommend that you trash the Pink Book and obtain a current copy of this
essential reference ASAP. You can order single hard copy issues from the
Motorola web site. While waiting for delivery, you can download the
essential sections (the ones I have recommended) in .PDF format and print
them locally.
While you are at it, you should also probably obtain a Technical Data
Reference for the A Series devices. The White (nee Pink) books are generic
reference manuals for the HC11 family devices. The Technical Data Reference
contains importaint information specific to your particular device series
and often covers details not treated in the White Book.

>
> Robert Smith <> wrote:I know nothing of a "minikit",
I suggest contacting the manufacturer for
> technical data. Since you hint that this is a university project, I also
> suggest that you contact your tutor for guidance.
>
> Having said that, I go on to describe the usual method for starting up
> (bootstrapping) an unprogrammed MC68HC11.
>
> The HC11 contains a small 'bootstrap' loader in ROM. See the White Book,
> Section 3, especially Section 3.7.4 "Special Bootstrap Mode" and its
> subsections for details of operation.
>
> There is available special debug and programming software which can be run
> on a PC compatible host computer that knows how to operate the HC11 in
> bootstrap mode and download and program the devices. These programs
require
> a serial communications connection between the PC and the target HC11.
>
> Two examples of such software are PCBUG11, available at the Motorola MCU
> website and JBUG11 available at
> http://freespace.virgin.net/john.beatty/Jbug11_main.html
>
> You may also want to consider joining the Jbug11 email group at YaHoo.
>
> Good luck, Bob Smith
>
> --- Avoid computer viruses, Practice safe hex ---
>
> -- Specializing in small, cost effective
> embedded control systems --
>
> http://www.smithmachineworks.com/embedprod.html > Robert L. (Bob) Smith
> Smith Machine Works, Inc.
> 9900 Lumlay Road
> Richmond, VA 23236 804/745-1065 >
> ----- Original Message -----
> From: "ilyana rizmi" <>
> To: <>
> Sent: Monday, March 29, 2004 7:31 PM
> Subject: [m68HC11] To activate m68hc11 minikit > > Hello,
> >
> > I would like to know from this group on how could I activate my last
> semester miniproject m68hc11A1 minikit. I have read the the HC11 book and
> browse through the websites but I am still quite confused about the
concept
> of startup procedure. I would be very grateful if somebody expert from
this
> group could explain to me in a simple way
> >
> >
> > Thank you for your participation
> >
> >
> > ---------------------------------
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
> ------
> > Yahoo! Groups Links
> >
> > a.. To
> >
> >
>
> ---------------------------------
> Yahoo! Groups Links
>
> To >
>
> --------------------------------- >
>
> --
------
> Yahoo! Groups Links
>
> a.. To

---------------------------------
Yahoo! Groups Links

To ---------------------------------


Some things that come quickly to mind.

1. Do you have the PCBUG11 documentation including the latest revisions?
Have you read it? If so, then pay particular attention to the sections
showing how to interface PCBUG11 to a PC.

2. Is your communications cable connected correctly and working? How is
the mini-board configured? If DTE, are you using a crossover cable? If
DCE, are you using a straight through cable?

3. Have you jumpered the MCU to start up in special bootstrap mode? Does
the MCU send BREAK after RESET? Does PCBUG11 respond with $FF and then
send the program?

4. Do you have the correct crystal frequency installed. Do communications
take place at the correct baud rate?

5. Have you configured PCBUG11 for your CPU? Do you have the correct
talker selected?

I have not used PCBUG11 in a long time so my memory of how to get it to go
the first time is rather fuzzy. I use Jbug11 these days.

Best wishes, Bob Smith
--- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
----- Original Message -----
From: "ilyana rizmi" <>
To: <>
Sent: Thursday, April 01, 2004 12:03 AM
Subject: Re: [m68HC11] To activate m68hc11 minikit > I & my friend failed to run pcbug.exe. What are the possible reasons for
this?
>
> Robert Smith <> wrote: See below ---
>
> --- Avoid computer viruses, Practice safe hex ---
>
> -- Specializing in small, cost effective
> embedded control systems --
>
> http://www.smithmachineworks.com/embedprod.html > Robert L. (Bob) Smith
> Smith Machine Works, Inc.
> 9900 Lumlay Road
> Richmond, VA 23236 804/745-1065 >
> ----- Original Message -----
> From: "ilyana rizmi" <>
> To: <>
> Sent: Tuesday, March 30, 2004 3:02 AM
> Subject: Re: [m68HC11] To activate m68hc11 minikit > > Actually we name it as minikit since it is our mini project that we
build
> from fresh components.
>
> Then your university would be considered to be the "manufacturer" and
should
> be able to supply you with a technical description of the board. At a
> minimum, they should be able to supply you with layout of the board, a
> schematic, and a BOM. There should also be a Theory of Operation
available
> although you should be able find the required information in the White
Book
> once you understand what you do and don't have on your board.
>
> Your board should look very much like Figure 2-23, "Basic Single-Chip Mode
> Connections" except that I would expect to find a RS232 to TTL level
> converter section to establish communications between the board and your
> host PC.
>
> >As mentioned in the book (I have HC11 rev 3 with me), the M68HC11A1 has
ROM
> disabled. So how about the bootstrap loader?
>
> The bootloader and main program ROM are separate sections of memory. The
> bootstrap ROM is pesent in all HC11 family devices (with possible
> exceptions) and is enabled by entering "Special Bootstrap Mode".
> This process is separate from the main program memory ROMs.
>
> I recommend reading Section 3.7.4 of the "White Book" again. Apparently
you
> missed the first sentence which I will quote here.
>
> "When the MCU is reset in the special bootstrap mode, a small on-chip ROM
is
> enabled at address $BF40-$BFFF. . . . . . . . . . . . . . . . . " The
> paragraph continues by giving an overview of the bootloader process.
Actual
> bootloader listings are given in Appendix B of the White Book.
>
> You appear to be working with obsolete documentation. Rev 3 refers to the
> Old "Pink Book" which is the Motorola M68HC11 Reference Manual (Motorola
P/N
> M68HC11RM/AD, Rev 3) This book is dated 1991 and was superceeded about two
> years ago by the White Book (Motorola P/N M68HC11RM/D, Rev 6, 4/2002) I
> recommend that you trash the Pink Book and obtain a current copy of this
> essential reference ASAP. You can order single hard copy issues from the
> Motorola web site. While waiting for delivery, you can download the
> essential sections (the ones I have recommended) in .PDF format and print
> them locally.
> While you are at it, you should also probably obtain a Technical Data
> Reference for the A Series devices. The White (nee Pink) books are
generic
> reference manuals for the HC11 family devices. The Technical Data
Reference
> contains importaint information specific to your particular device series
> and often covers details not treated in the White Book.
>
> >
> > Robert Smith <> wrote:I know nothing of a
"minikit",
> I suggest contacting the manufacturer for
> > technical data. Since you hint that this is a university project, I
also
> > suggest that you contact your tutor for guidance.
> >
> > Having said that, I go on to describe the usual method for starting up
> > (bootstrapping) an unprogrammed MC68HC11.
> >
> > The HC11 contains a small 'bootstrap' loader in ROM. See the White
Book,
> > Section 3, especially Section 3.7.4 "Special Bootstrap Mode" and its
> > subsections for details of operation.
> >
> > There is available special debug and programming software which can be
run
> > on a PC compatible host computer that knows how to operate the HC11 in
> > bootstrap mode and download and program the devices. These programs
> require
> > a serial communications connection between the PC and the target HC11.
> >
> > Two examples of such software are PCBUG11, available at the Motorola MCU
> > website and JBUG11 available at
> > http://freespace.virgin.net/john.beatty/Jbug11_main.html
> >
> > You may also want to consider joining the Jbug11 email group at YaHoo.
> >
> > Good luck, Bob Smith
> >
> > --- Avoid computer viruses, Practice safe hex ---
> >
> > -- Specializing in small, cost effective
> > embedded control systems --
> >
> > http://www.smithmachineworks.com/embedprod.html
> >
> >
> > Robert L. (Bob) Smith
> > Smith Machine Works, Inc.
> > 9900 Lumlay Road
> > Richmond, VA 23236 804/745-1065
> >
> >
> >
> > ----- Original Message -----
> > From: "ilyana rizmi" <>
> > To: <>
> > Sent: Monday, March 29, 2004 7:31 PM
> > Subject: [m68HC11] To activate m68hc11 minikit
> >
> >
> > > Hello,
> > >
> > > I would like to know from this group on how could I activate my last
> > semester miniproject m68hc11A1 minikit. I have read the the HC11 book
and
> > browse through the websites but I am still quite confused about the
> concept
> > of startup procedure. I would be very grateful if somebody expert from
> this
> > group could explain to me in a simple way
> > >
> > >
> > > Thank you for your participation
> > >
> > >
> > > ---------------------------------
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
> --
> > ------
> > > Yahoo! Groups Links
> > >
> > > a.. To
> > >
> > >
> >
> >
> >
> >
> > ---------------------------------
> > Yahoo! Groups Links
> >
> > To
> >
> >
> >
> >
> > ---------------------------------
> >
> >
> >
> >
>
> --
> ------
> > Yahoo! Groups Links
> >
> > a.. To
> >
> >
>
> ---------------------------------
> Yahoo! Groups Links
>
> To > --------------------------------- >
> --
------
> Yahoo! Groups Links
>
> a.. To


One further thought has occured.

Are you possibly using a USB to RS-232 converter on one of the new computers
that come complete without serial ports.

I know of at least two of these devices that do not handle the BREAK
sequence correctly. Since BREAK is common to most Motorola debug start up
sequences, it is not possible to use these converters with such debuggers.
If this is the case, get yourself an old, unloved, legacy machine with
_real_ RS-232 ports and try again.

Good luck, Bob Smith

--- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
----- Original Message -----
From: "Robert Smith" <>
To: <>
Sent: Thursday, April 01, 2004 8:38 AM
Subject: Re: [m68HC11] To activate m68hc11 minikit > Some things that come quickly to mind.
>
> 1. Do you have the PCBUG11 documentation including the latest revisions?
> Have you read it? If so, then pay particular attention to the sections
> showing how to interface PCBUG11 to a PC.
>
> 2. Is your communications cable connected correctly and working? How is
> the mini-board configured? If DTE, are you using a crossover cable? If
> DCE, are you using a straight through cable?
>
> 3. Have you jumpered the MCU to start up in special bootstrap mode?
Does
> the MCU send BREAK after RESET? Does PCBUG11 respond with $FF and then
> send the program?
>
> 4. Do you have the correct crystal frequency installed. Do
communications
> take place at the correct baud rate?
>
> 5. Have you configured PCBUG11 for your CPU? Do you have the correct
> talker selected?
>
> I have not used PCBUG11 in a long time so my memory of how to get it to go
> the first time is rather fuzzy. I use Jbug11 these days.
>
> Best wishes, Bob Smith >
> --- Avoid computer viruses, Practice safe hex ---
>
> -- Specializing in small, cost effective
> embedded control systems --
>
> http://www.smithmachineworks.com/embedprod.html > Robert L. (Bob) Smith
> Smith Machine Works, Inc.
> 9900 Lumlay Road
> Richmond, VA 23236 804/745-1065 >
> ----- Original Message -----
> From: "ilyana rizmi" <>
> To: <>
> Sent: Thursday, April 01, 2004 12:03 AM
> Subject: Re: [m68HC11] To activate m68hc11 minikit > > I & my friend failed to run pcbug.exe. What are the possible reasons for
> this?
> >
> > Robert Smith <> wrote: See below ---
> >
> > --- Avoid computer viruses, Practice safe hex ---
> >
> > -- Specializing in small, cost effective
> > embedded control systems --
> >
> > http://www.smithmachineworks.com/embedprod.html
> >
> >
> > Robert L. (Bob) Smith
> > Smith Machine Works, Inc.
> > 9900 Lumlay Road
> > Richmond, VA 23236 804/745-1065
> >
> >
> >
> > ----- Original Message -----
> > From: "ilyana rizmi" <>
> > To: <>
> > Sent: Tuesday, March 30, 2004 3:02 AM
> > Subject: Re: [m68HC11] To activate m68hc11 minikit
> >
> >
> > > Actually we name it as minikit since it is our mini project that we
> build
> > from fresh components.
> >
> > Then your university would be considered to be the "manufacturer" and
> should
> > be able to supply you with a technical description of the board. At a
> > minimum, they should be able to supply you with layout of the board, a
> > schematic, and a BOM. There should also be a Theory of Operation
> available
> > although you should be able find the required information in the White
> Book
> > once you understand what you do and don't have on your board.
> >
> > Your board should look very much like Figure 2-23, "Basic Single-Chip
Mode
> > Connections" except that I would expect to find a RS232 to TTL level
> > converter section to establish communications between the board and your
> > host PC.
> >
> > >As mentioned in the book (I have HC11 rev 3 with me), the M68HC11A1 has
> ROM
> > disabled. So how about the bootstrap loader?
> >
> > The bootloader and main program ROM are separate sections of memory.
The
> > bootstrap ROM is pesent in all HC11 family devices (with possible
> > exceptions) and is enabled by entering "Special Bootstrap Mode".
> > This process is separate from the main program memory ROMs.
> >
> > I recommend reading Section 3.7.4 of the "White Book" again. Apparently
> you
> > missed the first sentence which I will quote here.
> >
> > "When the MCU is reset in the special bootstrap mode, a small on-chip
ROM
> is
> > enabled at address $BF40-$BFFF. . . . . . . . . . . . . . . . . " The
> > paragraph continues by giving an overview of the bootloader process.
> Actual
> > bootloader listings are given in Appendix B of the White Book.
> >
> > You appear to be working with obsolete documentation. Rev 3 refers to
the
> > Old "Pink Book" which is the Motorola M68HC11 Reference Manual (Motorola
> P/N
> > M68HC11RM/AD, Rev 3) This book is dated 1991 and was superceeded about
two
> > years ago by the White Book (Motorola P/N M68HC11RM/D, Rev 6, 4/2002) I
> > recommend that you trash the Pink Book and obtain a current copy of this
> > essential reference ASAP. You can order single hard copy issues from
the
> > Motorola web site. While waiting for delivery, you can download the
> > essential sections (the ones I have recommended) in .PDF format and
print
> > them locally.
> > While you are at it, you should also probably obtain a Technical Data
> > Reference for the A Series devices. The White (nee Pink) books are
> generic
> > reference manuals for the HC11 family devices. The Technical Data
> Reference
> > contains importaint information specific to your particular device
series
> > and often covers details not treated in the White Book.
> >
> > >
> > > Robert Smith <> wrote:I know nothing of a
> "minikit",
> > I suggest contacting the manufacturer for
> > > technical data. Since you hint that this is a university project, I
> also
> > > suggest that you contact your tutor for guidance.
> > >
> > > Having said that, I go on to describe the usual method for starting
up
> > > (bootstrapping) an unprogrammed MC68HC11.
> > >
> > > The HC11 contains a small 'bootstrap' loader in ROM. See the White
> Book,
> > > Section 3, especially Section 3.7.4 "Special Bootstrap Mode" and its
> > > subsections for details of operation.
> > >
> > > There is available special debug and programming software which can be
> run
> > > on a PC compatible host computer that knows how to operate the HC11 in
> > > bootstrap mode and download and program the devices. These programs
> > require
> > > a serial communications connection between the PC and the target HC11.
> > >
> > > Two examples of such software are PCBUG11, available at the Motorola
MCU
> > > website and JBUG11 available at
> > > http://freespace.virgin.net/john.beatty/Jbug11_main.html
> > >
> > > You may also want to consider joining the Jbug11 email group at
YaHoo.
> > >
> > > Good luck, Bob Smith
> > >
> > > --- Avoid computer viruses, Practice safe hex ---
> > >
> > > -- Specializing in small, cost effective
> > > embedded control systems --
> > >
> > > http://www.smithmachineworks.com/embedprod.html
> > >
> > >
> > > Robert L. (Bob) Smith
> > > Smith Machine Works, Inc.
> > > 9900 Lumlay Road
> > > Richmond, VA 23236 804/745-1065
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: "ilyana rizmi" <>
> > > To: <>
> > > Sent: Monday, March 29, 2004 7:31 PM
> > > Subject: [m68HC11] To activate m68hc11 minikit
> > >
> > >
> > > > Hello,
> > > >
> > > > I would like to know from this group on how could I activate my last
> > > semester miniproject m68hc11A1 minikit. I have read the the HC11 book
> and
> > > browse through the websites but I am still quite confused about the
> > concept
> > > of startup procedure. I would be very grateful if somebody expert from
> > this
> > > group could explain to me in a simple way
> > > >
> > > >
> > > > Thank you for your participation
> > > >
> > > >
> > > > ---------------------------------
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> >
>
> --
> > > ------
> > > > Yahoo! Groups Links
> > > >
> > > > a.. To
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > ---------------------------------
> > > Yahoo! Groups Links
> > >
> > > To
> > >
> > >
> > >
> > >
> > > ---------------------------------
> > >
> > >
> > >
> > >
> >
>
> --
> > ------
> > > Yahoo! Groups Links
> > >
> > > a.. To
> > >
> > >
> >
> >
> >
> >
> > ---------------------------------
> > Yahoo! Groups Links
> >
> > To
> >
> >
> >
> >
> >
> > ---------------------------------
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
> ------
> > Yahoo! Groups Links
> >
> > a.. To
> >
> >
>
> --
------
> Yahoo! Groups Links
>
> a.. To



Hi,
Does anyone know about a tool that can convert 68hc11 assmebly code into C
code?The assembely code was written to be assembled with A6801 IAR
assembler?
thanks
anees

-----Original Message-----
From: Robert Smith [mailto:]
Sent: Thursday, April 01, 2004 8:38 AM
To:
Subject: Re: [m68HC11] To activate m68hc11 minikit Some things that come quickly to mind.

1. Do you have the PCBUG11 documentation including the latest revisions?
Have you read it? If so, then pay particular attention to the sections
showing how to interface PCBUG11 to a PC.

2. Is your communications cable connected correctly and working? How is
the mini-board configured? If DTE, are you using a crossover cable? If
DCE, are you using a straight through cable?

3. Have you jumpered the MCU to start up in special bootstrap mode? Does
the MCU send BREAK after RESET? Does PCBUG11 respond with $FF and then
send the program?

4. Do you have the correct crystal frequency installed. Do communications
take place at the correct baud rate?

5. Have you configured PCBUG11 for your CPU? Do you have the correct
talker selected?

I have not used PCBUG11 in a long time so my memory of how to get it to go
the first time is rather fuzzy. I use Jbug11 these days.

Best wishes, Bob Smith
--- Avoid computer viruses, Practice safe hex ---

-- Specializing in small, cost effective
embedded control systems --

http://www.smithmachineworks.com/embedprod.html
<http://www.smithmachineworks.com/embedprod.html Robert L. (Bob) Smith
Smith Machine Works, Inc.
9900 Lumlay Road
Richmond, VA 23236 804/745-1065
----- Original Message -----
From: "ilyana rizmi" <>
To: <>
Sent: Thursday, April 01, 2004 12:03 AM
Subject: Re: [m68HC11] To activate m68hc11 minikit > I & my friend failed to run pcbug.exe. What are the possible reasons for
this?
>
> Robert Smith <> wrote: See below ---
>
> --- Avoid computer viruses, Practice safe hex ---
>
> -- Specializing in small, cost effective
> embedded control systems --
>
> http://www.smithmachineworks.com/embedprod.html
<http://www.smithmachineworks.com/embedprod.html>
>
>
> Robert L. (Bob) Smith
> Smith Machine Works, Inc.
> 9900 Lumlay Road
> Richmond, VA 23236 804/745-1065 >
> ----- Original Message -----
> From: "ilyana rizmi" <>
> To: <>
> Sent: Tuesday, March 30, 2004 3:02 AM
> Subject: Re: [m68HC11] To activate m68hc11 minikit > > Actually we name it as minikit since it is our mini project that we
build
> from fresh components.
>
> Then your university would be considered to be the "manufacturer" and
should
> be able to supply you with a technical description of the board. At a
> minimum, they should be able to supply you with layout of the board, a
> schematic, and a BOM. There should also be a Theory of Operation
available
> although you should be able find the required information in the White
Book
> once you understand what you do and don't have on your board.
>
> Your board should look very much like Figure 2-23, "Basic Single-Chip Mode
> Connections" except that I would expect to find a RS232 to TTL level
> converter section to establish communications between the board and your
> host PC.
>
> >As mentioned in the book (I have HC11 rev 3 with me), the M68HC11A1 has
ROM
> disabled. So how about the bootstrap loader?
>
> The bootloader and main program ROM are separate sections of memory. The
> bootstrap ROM is pesent in all HC11 family devices (with possible
> exceptions) and is enabled by entering "Special Bootstrap Mode".
> This process is separate from the main program memory ROMs.
>
> I recommend reading Section 3.7.4 of the "White Book" again. Apparently
you
> missed the first sentence which I will quote here.
>
> "When the MCU is reset in the special bootstrap mode, a small on-chip ROM
is
> enabled at address $BF40-$BFFF. . . . . . . . . . . . . . . . . " The
> paragraph continues by giving an overview of the bootloader process.
Actual
> bootloader listings are given in Appendix B of the White Book.
>
> You appear to be working with obsolete documentation. Rev 3 refers to the
> Old "Pink Book" which is the Motorola M68HC11 Reference Manual (Motorola
P/N
> M68HC11RM/AD, Rev 3) This book is dated 1991 and was superceeded about two
> years ago by the White Book (Motorola P/N M68HC11RM/D, Rev 6, 4/2002) I
> recommend that you trash the Pink Book and obtain a current copy of this
> essential reference ASAP. You can order single hard copy issues from the
> Motorola web site. While waiting for delivery, you can download the
> essential sections (the ones I have recommended) in .PDF format and print
> them locally.
> While you are at it, you should also probably obtain a Technical Data
> Reference for the A Series devices. The White (nee Pink) books are
generic
> reference manuals for the HC11 family devices. The Technical Data
Reference
> contains importaint information specific to your particular device series
> and often covers details not treated in the White Book.
>
> >
> > Robert Smith <> wrote:I know nothing of a
"minikit",
> I suggest contacting the manufacturer for
> > technical data. Since you hint that this is a university project, I
also
> > suggest that you contact your tutor for guidance.
> >
> > Having said that, I go on to describe the usual method for starting up
> > (bootstrapping) an unprogrammed MC68HC11.
> >
> > The HC11 contains a small 'bootstrap' loader in ROM. See the White
Book,
> > Section 3, especially Section 3.7.4 "Special Bootstrap Mode" and its
> > subsections for details of operation.
> >
> > There is available special debug and programming software which can be
run
> > on a PC compatible host computer that knows how to operate the HC11 in
> > bootstrap mode and download and program the devices. These programs
> require
> > a serial communications connection between the PC and the target HC11.
> >
> > Two examples of such software are PCBUG11, available at the Motorola MCU
> > website and JBUG11 available at
> > http://freespace.virgin.net/john.beatty/Jbug11_main.html
<http://freespace.virgin.net/john.beatty/Jbug11_main.html>
> >
> > You may also want to consider joining the Jbug11 email group at YaHoo.
> >
> > Good luck, Bob Smith
> >
> > --- Avoid computer viruses, Practice safe hex ---
> >
> > -- Specializing in small, cost effective
> > embedded control systems --
> >
> > http://www.smithmachineworks.com/embedprod.html
<http://www.smithmachineworks.com/embedprod.html>
> >
> >
> > Robert L. (Bob) Smith
> > Smith Machine Works, Inc.
> > 9900 Lumlay Road
> > Richmond, VA 23236 804/745-1065
> >
> >
> >
> > ----- Original Message -----
> > From: "ilyana rizmi" <>
> > To: <>
> > Sent: Monday, March 29, 2004 7:31 PM
> > Subject: [m68HC11] To activate m68hc11 minikit
> >
> >
> > > Hello,
> > >
> > > I would like to know from this group on how could I activate my last
> > semester miniproject m68hc11A1 minikit. I have read the the HC11 book
and
> > browse through the websites but I am still quite confused about the
> concept
> > of startup procedure. I would be very grateful if somebody expert from
> this
> > group could explain to me in a simple way
> > >
> > >
> > > Thank you for your participation
> > >
> > >
> > > ---------------------------------
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
> --
> > ------
> > > > .




--- In , Anees Hameed <ahameed@a...> wrote:

> Does anyone know about a tool that can convert 68hc11 assmebly
> code into C code? The assembely code was written to be assembled
> with A6801 IAR assembler?

I have never encountered such a tool for the HC11 or any other CPU.

While translating C syntax to assmebly/machine code is a difficult
task, translating in the opposite direction would be considerably
more difficult. While I can envision some possibilities for
translating well-behaved asm code into something roughly C-like, I
have a hard time imagining any tool that could do this reliably and
accurately for all possible cases. The code that such a theoretical
tool would generate would likely be less readable and comprehensible
than the original assembly source.

I am afraid that your only real option if you want to maintain an
existing project written in assembly language is to either continue
to work in the asm environment, or re-write the code in C by hand.



The 2024 Embedded Online Conference