Download Salvo User Manual
Transcript
Compiled code doesn't work
Make sure you're using the latest version of PICC, including any
patches that are available. Check http://www.htsoft.com for version updates.
PIC17CXXX pointer passing bugs
On the 17C756, in certain cases PICC failed to correctly dereference pointers passed as parameters. This affected Salvo's queueing
routines.
Note This was fixed in PICC v7.84.
While() statements and context switches
You may encounter a subtle problem if you use a while() statement immediately following a Salvo context switch, e.g.
...
OS_Delay(5);
while ( rxCount )
{
...
if rxCount is a banked variable, after optimization the compiler
may fail to set the register page bits properly when accessing the
variable. This will probably lead to incorrect results. A simple
workaround is to add the line
rxCount = rxCount;
between the context switch and the while() statement. This will
"force" the proper RP bits.
Note This was fixed in PICC v7.85.
Library generation in HPDPIC
If you are using HPDPIC projects to compile libraries for use with
PIC processors with different numbers of ROM and RAM banks
(e.g. PIC16C61 and PIC16C77), you may encounter an error when
linking your application(s) to one of those libraries. This is because
the PICC preprocessor CPP.EXE may be fed the wrong processor-
Salvo User Manual
Chapter 11 • Tips, Tricks and Troubleshooting
465
Related documents
Salvo User Manual
Salvo User Manual
Release Notes
Downloading - Pumpkin, Inc.
RM-MSCX86 Salvo Compiler Reference Manual
Application Note
RM-MCC18 Salvo Compiler Reference Manual
GSG-STELLARIS- KRVMDK-ARM Building a Salvo
AVR-GCC - Pumpkin, Inc.
RM-PICC Salvo Compiler Reference Manual – HI
RM-HTARCLITE Salvo Compiler Reference Manual
AN-4 Building a Salvo Application with HI-TECH