Technical information
Operating Precautions for CPDW9X/NT-CDR-V85X, Y-GHS-MULTI-V800
TM
  Customer Notification r20tu0003ed1812  101 
No. a99 
Address Assignment set to 0 with pragma ghs io 
Version Information  
V5.1.7D 
Details: 
The assignment of an address of a variable which has been declared with "#pragma ghs io var" 
will be set to value 0. Prerequisite is that the assignment is placed in different C-Module than the 
reference to the variable (see example). 
Example: 
C-Module 1: 
extern volatile unsigned short* port_register_0; 
volatile unsigned short * address_2; 
void main (void) 
{ 
 address_2 = port_register_0; 
} 
C-Module 2: 
#include "df3580_0.h" 
volatile unsigned short* port_register_0 = &PMC0; 
Command Line 
ccv850 –cpu=v850e3v5 @df3358.ld –O test.c –o test 
Workaround 
1. Please use version V5.3.0, or 
2. Update with latest patch for V5.1.7D, Patch04 or later from 
http://www.renesas.eu/updates?id=26 










