- 205 -
6.
Applications Development Procedure
Overview
6.1 Overview
Application programs for MR100 should generally be developed following the procedure described below.
1. Generating
a
project
When using HEW
, create a new project using MR100 on HEW.
2. Coding the application program
Write the application program in code form using C or assembly language. If necessary, correct the sample star-
tup program (crt0mr.a30) and section definition file (c_sec.inc or asm_sec.inc).
3. Creating a configuration file
Create a configuration file which has defined in it the task entry address, stack size, etc. by using an editor.
The GUI configurator available for MR100 may be used to create a configuration file.
4. Executing the configurator
From the configuration file, create system data definition files (sys_rom.inc, sys_ram.inc), include files
(mr100.inc, kernel_id.h).
5. System
generation
Execute the make
command or execute build on HEW to generate a system.
6. Writing to ROM
Using the ROM programming format file created, write the finished program file into the ROM. Or load it into
the debugger to debug.
Figure 6.1 shows a detailed flow of system generation.
37
It is abbreviation of High-performance Embedded Workshop.
38
The make command comes the UNIX standard and UNIX compatible.