Chapter 5: EmbeddedGNU
Eric Engler
has published the EmbeddedGNU IDE that supports GNU C compiler and assembler for
any 68HC11/HC12/HCS12 boards including our FOX11, EVBplus2, Dragon12 and Min
boards. It's free software under Open Source, GNU GPL License. It's not freeware nor shareware (be
aware that some freeware are not free). To download Eric's free tools including the GNU C compiler
and assembler please visit his web site at:
http://www.geocities.com/englere_geo/
For your convenience, we downloaded the egnu094.zip for you.
The following page shows the exact terms of the license (Mozilla Public License)
http://www.geocities.com/englere_geo/License.txt
The steps to set up the EmbeddedGNU are as follows:
1.
Download the GNU GCC compiler from:
http://m68hc11.serveftp.org/m68hc11_pkg_zip.php
Select the release 3.1 to download. It has the following components in it:
Gcc 3.3.6
Gdb 6.4
Binutils 2.15
Newlib 1.12.0
2. Run the file that you downloaded to install GNU 68HC11/68HC12 tools into the default directory
of C:\usr.
3. Install the EmbeddedGNU on your PC by double clicking on the egnu094.zip. If the egnu094.zip
is not on the CD, you can download it from
http://www.ericengler.com/EmbeddedGNU.aspx
Extract all files into a new directory that you need to create on any hard drive. The name of the
new directory can be like c:\egnu094 or d:\egnu094. The EmbeddedGNU.exe and example
programs will be located at \egnu094, but your application programs can be located in any other
directories.
4. Filename
Association.
When you first start EmbeddedGNU.exe it will ask if you want to associate the filename
extensions used by EmbeddedGNU with itself. This lets you double-click on a filename and the
EmbeddedGNU will be launched to let you edit the file. The default option is to associate ".prj"
with EmbeddedGNU. This is the main project file type used by EmbeddedGNU.
You also should choose to associate .c, .h, and .s files with EmbeddedGNU.
WARNING
: if you are on WinNT/Win2K/WinXp, then you must be logged in as an administrator
to use this option.
Press OK to continue
5. COM Port Selection.
It asks if you want to select your COM port. Say Yes. Select your port in the dropdown box. It
defaults to 9600 baud, which is normally correct. Now press OK.
6. Select Option-> Environment Options->AutoDownload, then disable ALL automatic commands.
7. The current egnu094.zip is properly set up with the newest release version 3.1 (GCC 3.3.6). In
the future when upgrading to a newer version you have to update the linker’s search directory.
See help file related version upgrade issues.
30
Содержание MiniDragon-Plus2 Trainer
Страница 1: ...MiniDragon Plus2 Trainer ForFreescaleHCS12microcontrollerfamily User sManual Revision 1 03 ...
Страница 6: ...Fig 1 1 MC9S12DG256 Memory map 6 ...
Страница 7: ...Fig 1 2 MC9S12DG256 MCU block diagram 7 ...
Страница 35: ...8 2 Interrupt vector table Fig 8 2 MC9S12DG256 Interrupt vector table 1 35 ...
Страница 36: ...Fig 8 3 MC9S12DG256 Interrupt vector table 2 36 ...
Страница 37: ...Fig 8 4 MC9S12DG256 secondary interrupt vector table 37 ...