Technical information
Operating Precautions for CPDW9X/NT-CDR-V85X, Y-GHS-MULTI-V800
TM
Customer Notification r20tu0003ed1812 29
No. a17
The element pointer will be destroyed within interrupt service routine
Version Information
V3.5.1
Details
The element pointer will be destroyed within interrupt service routine. The element pointer is used
for register storing within the function prologue. After function prologue "__ghs32rsave00i" was
executed the EP will not be recovered. The following access to variables in the tiny data area
fails.
Example:
test.c:
#pragma ghs starttda
volatile unsigned foo;
#pragma ghs endtda
void main(void)
{
while(1);
}
#pragma ghs interrupt
void timer(void)
{
foo++;
}
Command Sequence
ccv850 –noobj -c -g -list -passsource -no_inline_prologue v021021a.c
Workaround
A new compiler (PATCH to 3.5.1b4), which fixes this problem, can be downloaded from the NEC
WEB page(s) at http://www.renesas.eu/updates?id=443










