beautypg.com

Configurator execution, System generation, Writing rom – Renesas 70 User Manual

Page 75: Figure 4.4 configurator execution, Figure 4.5 system generation, 3 configurator execution, 4 system generation, 5 writing rom

background image

Chapter 4 Applications Development Procedure Overview

- 65 -

4.2.3 Configurator

Execution

When using HEW, select "Build all," which enables the user to execute the procedures described in 4.2.3,
"Executing the Configurator," and 4.2.4, "System Generation."

Execute the configurator cfg308 to generate system data definition files (sys_rom.inc, sys_ram.inc), include files
(mr308.inc, kernel_id.h), and a system generation procedure description file (makefile) from the configuration
file.

A> cfg308 -mv lbp.cfg

MR308 system configurator V.4.00.06
Copyright 2003,2005 RENESAS TECHNOLOGY CORPORATION
AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED.

MR308 version ==> V.4.00 Release 01

A>

Figure 4.4 Configurator Execution

4.2.4 System

generation

Execute the make command

43

to generate the system.


A> make -f makefile

as308 -F -Dtest=1 crt0mr.a30

nc308 -c task.c

ln308 @ln308.sub


A>

Figure 4.5 System Generation

4.2.5 Writing

ROM

Using the lmc308 load module converter, convert the absolute module file into a ROM writable format and then
write it into ROM. Or read the file into the debugger and debug it.

43

There are two types of make commands, one of which conforms to the MS-DOS standard, and the other conforms to or is compliant with

the UNIX standard. MR308 accepts only the make command that conforms to or is compliant with the UNIX standard. When using MS-DOS,
use a UNIX compatible make command (e.g., the make command included with the C compiler from Microsoft Corporation). For details
about the usefulness of UNIX compatible make commands, refer to the release notes from Renesas. The description in this chapter is made
for the case where a UNIX compatible make command is executed, as an example.