Download Usage Restrictions - Renesas Electronics

Transcript
ZBG-CD-10-0030
Attachment 1 - 20/78
[Workaround]
Do one of the following:
(1)
Do not specify the –r option of the ld850.
(2)
Specify an even number as the size of a section without an initial value.
Example:
Before correction:
#pragma section sidata begin
static unsigned char a;
#pragma section sidata end
static unsigned long b;
After correction:
#pragma section sidata begin
static unsigned char a;
static unsigned char dummy;
 Add a dummy
#pragma section sidata end
static unsigned long b;
(3)
Initialize the char variable.
Example:
Before correction:
#pragma section sidata begin
static unsigned char a;
#pragma section sidata end
static unsigned long b;
After correction:
#pragma section sidata begin
static unsigned char a = 0;
 Initialize the variable
#pragma section sidata end
static unsigned long b;
[Correction]
This restriction has been removed in Ver. 2.30.
No. 42 Restriction on warning message related to EP-relative segment
[Description]
The Id850 outputs a warning message if the following conditions are satisfied:
(1)
A V850E device is specified.
(2)
The start address of the internal RAM in the device is not 0x03xxxxxx.
(3)
An SEDATA or SIDATA segment exists.
Message:
ld850: warning: segment "SIDATA" (0x03xxxxxx-0x03xxxxxx) must be in
EP-relative-address-able range (0x0xxxxxxxc000-0x0xxxxxxx).
[Workaround]
Check the link map and confirm that SEDATA and SIDATA segments are allocated before and after the internal
RAM address, and ignore the above message.
[Correction]
This restriction has been removed in Ver. 2.40.