A quick tutorial on how to create, compile and debug an application for Freescale S12XS

From ErikaWiki

(Difference between revisions)
Jump to: navigation, search
(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/Eclipse environment, create a new RT-Druid project as shown in the following picture.
# In RT-Druid/Eclipse 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.
#; [[image:task.PNG|center]]
#; [[image:task.PNG|center]]
-
# Name your project.
+
# Give a name to your project.
#; [[image:name.PNG|center]]
#; [[image:name.PNG|center]]
-
#* the folder appears in the ''Project Explorer'';  
+
#* The new project folder appears in the ''Project Explorer'';  
#; [[image:oil.PNG|center]]
#; [[image:oil.PNG|center]]
# Build the project (click with the right button of the mouse on the project name);
# Build the project (click with the right button of the mouse on the project name);
Line 14: Line 12:
#* the compilation starts;  
#* the compilation starts;  
#; [[image:progress.PNG|center]]
#; [[image:progress.PNG|center]]
-
#* the executable file appear in the ''Debug'' folder of the project.
+
#* the executable file appear in the ''Debug'' folder inside the project.
#; [[image:elf.PNG|center]]
#; [[image:elf.PNG|center]]
# Open the RT-debugger.
# Open the RT-debugger.

Revision as of 14:17, 24 August 2011

How to build a project in RT-DRUID

  1. In RT-Druid/Eclipse environment, create a new RT-Druid project as shown in the following picture.
    Druid.PNG
  2. Select a template from the s12xs menu.
    Task.PNG
  3. Give a name to your project.
    Name.PNG
    • The new project folder appears in the Project Explorer;
    Oil.PNG
  4. Build the project (click with the right button of the mouse on the project name);
    Build.PNG
    • the compilation starts;
    Progress.PNG
    • the executable file appear in the Debug folder inside the project.
    Elf.PNG
  5. Open the RT-debugger.
    Hiwave.PNG
  6. From the menu File choose Open Configuration...;
    Conf.PNG
    • and load the debugger environment configuration (.ini);
    Fullchip.PNG
  7. From the menu HCS12XS click on Load....
    Load.PNG
    • and load the executable of your application;
    Load exe.PNG
  8. Then starts the simulation and enjoy!!!.
    Start.PNG
Personal tools