s5u1c17001c Epson Electronics America, Inc., s5u1c17001c Datasheet - Page 236

no-image

s5u1c17001c

Manufacturer Part Number
s5u1c17001c
Description
Cmos 16-bit Application Specific Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet
5 GNU17 IDE
Example 2: Changing the basic layout
5-130
Here, a ROM for storing constants is added to the system in Example 1. Shown below is an example of how to
locate the .rodata section.
Example of a source file configuration
boot.s
main.c
Editing of sections (contents set in the [Edit Section] dialog box)
Correct the .rodata and .data section information as shown below. Use all other sections with default set-
tings directly and unaltered.
1. Correcting the .rodata section
Correct [Virtual map address] to 0x080000.
(vector table and stack initialization, etc.)
(main and other functions)
0x080000
0x008000
0x000fbf
0x000000
Figure 5.7.6.4 Example of a memory configuration 2
Variables without initial
and other static data
values and work area
with initial values
with initial values
Unused area
Unused area
Vector table
Constants
Stack area
Variables
Variables
Program
ROM 2
ROM 1
RAM
EPSON
.rodata section (LMA=VMA)
.data section (LMA)
.text section (LMA=VMA)
.vector section (LMA=VMA)
.data section (VMA)
.bss section (VMA)
(C COMPILER PACKAGE FOR S1C17 FAMILY) (Ver. 1.1)
Data
copied
S5U1C17001C MANUAL

Related parts for s5u1c17001c