Skip to main content
Knowledgebase
Home
Renesas Electronics America - Knowledgebase

How to add program in an empty area in MAP file from 3CAH to 800H?

Latest Updated:12/01/2011

Question:

Looking at the MAP file, the area from 3CAH to 800H is a gap area.
I want to add a program to this empty area.
I have described the following before the code I would like to map from 3CAH.
Is this a problem?

#pragma section @@CODE ROM

Answer:

While this is not recommended, it is not a problem.
To use section specification, it is recommended to describe as

#pragma section @@CODE CODE 1

and specify

merge CODE1: AT (3CAH)

in the link directive file.

 

Suitable Products