A quick tutorial on how to create, compile and debug an application for Freescale S12XS
From ErikaWiki
(Difference between revisions)
(→How to build a project in RT-DRUID) |
(→How to build a project in RT-DRUID) |
||
Line 1: | Line 1: | ||
= How to build a project in RT-DRUID = | = How to build a project in RT-DRUID = | ||
- | # In RT-Druid | + | |
+ | This page contains a description of how to install the necessary software to develop an Erika application for a Freescale HCS12 microcontroller. | ||
+ | |||
+ | RT-Druid/Erika, version 1.5.1: | ||
+ | * Download the installer from the web site of [http://erika.tuxfamily.org/erika-for-multiple-devices/oldversions.html Erika old versions] and update the software as shown [http://erika.tuxfamily.org/wiki/index.php?title=Tutorial:_Update_ERIKA_and_RT-Druid here]. | ||
+ | |||
+ | RT-Druid/Erika, version 1.6.0: | ||
+ | Erika Enterprise, for Microsoft Windows, can be freely downloaded from the following web address: | ||
+ | http://erika.tuxfamily.org/erika-for-multiple-devices.html EE_160_Win.zip | ||
+ | Once downloaded, extract all the files contained in it and copy the folder named “eclipse” in your preferred directory on your PC (a recommended path is: C:\Evidence\). | ||
+ | |||
+ | # In RT-Druid environment, create a new RT-Druid project as shown in the following picture. | ||
#; [[image:druid.PNG|center]] | #; [[image:druid.PNG|center]] | ||
# Select a template from the ''s12xs'' menu. | # Select a template from the ''s12xs'' menu. |
Revision as of 14:42, 24 August 2011
How to build a project in RT-DRUID
This page contains a description of how to install the necessary software to develop an Erika application for a Freescale HCS12 microcontroller.
RT-Druid/Erika, version 1.5.1:
- Download the installer from the web site of Erika old versions and update the software as shown here.
RT-Druid/Erika, version 1.6.0: Erika Enterprise, for Microsoft Windows, can be freely downloaded from the following web address: http://erika.tuxfamily.org/erika-for-multiple-devices.html EE_160_Win.zip Once downloaded, extract all the files contained in it and copy the folder named “eclipse” in your preferred directory on your PC (a recommended path is: C:\Evidence\).
- In RT-Druid environment, create a new RT-Druid project as shown in the following picture.
- Select a template from the s12xs menu.
- Give a name to your project.
- The new project folder appears in the Project Explorer;
- Build the project (click with the right button of the mouse on the project name);
- the compilation starts;
- the executable file appear in the Debug folder inside the project.
- Open the RT-debugger.
- From the menu File choose Open Configuration...;
- and load the debugger environment configuration (.ini);
- From the menu HCS12XS click on Load....
- and load the executable of your application;
- Then starts the simulation and enjoy!!!.