Technical information

Operating Precautions for CPDW9X/NT-CDR-V85X, Y-GHS-MULTI-V800
TM
Customer Notification r20tu0003ed1812 62
No. a47
The linker option codefactor breaks the code in interrupt functions when code is
optimized for speed
Version Information
V4.0.5, V4.0.5c
Details
The linker option -codefactor modifies the prologue of an interrupt routine in a way that writes on
r6 and r7. This is correct in non-interrupt routines but not here, overwriting those registers might
cause the code to break
Command Line
ccv850e codefactor Ospeed
Workaround
Use new compiler Version 4.07.
No. a48
Any macro containing a sequence with a '.' followed by other characters is not expanded
correctly.
Version Information
V3.5, V4.0.5, V4.0.5c
Details
When a macro like this:
#define LEAF( name) .section name;
is expanded by the preprocessor, the result is a white space separated text like this
. section name
Workaround
1. Use option “–option=98” to preprocess as expected.
2. Use new compiler Version 4.07.