EVBplus.com

 

 

Home

University web sites

Sample programs

HANtune

CodeWarrior IDE

EmbeddedGNU

 

 

 

 

 

 

 
   
 

Eric Engler had published the EmbeddedGNU IDE that supports GNU C compiler and assembler for any 68HC11, HC12 and HCS12 boards including our FOX11, EVBplus2, DRAGON12 and MiniDragon+ boards. It's free software under Open Source, GNU GPL License. 


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.  Download the EmbeddedGNU egnu094.zip.

 

4.  Install the EmbeddedGNU on your PC.  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. 

5.  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 

6.  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. 

7.  Select Option-> Environment Options->AutoDownload,  then disable ALL automatic commands.

8.  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.

              

 

To change the linker search directory (search path) for GNU C compiler toolset you click options->project options->edit profile.  As it can be seen from above Linker Search Directory, the GCC 3.3.6 is installed on C drive.