Pumpkin User Forums
SB-17: Salvo: Problems with MPLAB-C18 v2.2x
|UBBFriend: Email This Page to Someone!||next newest topic | next oldest topic|
|Author||Topic: SB-17: Salvo: Problems with MPLAB-C18 v2.2x|
Salvo Tech Support
posted May 16, 2003 13:50
Description of Problem
MPLAB-C18's new procedural abstraction optimization causes run-time problems in Salvo tasks.
Specifically, an task with two or more context switches (OS_Xyz()) will fail to execute properly. Run-time behavior is therefore unknown.
The root of the problem is the procedural abstraction optimization introduced in MPLAB-C18 v2.2, and the method whereby functions that are procedurally abstracted are called through an intermediate / extra call...return stack level.
Disable procedural abstraction optimizations (which are enabled by default) by applying the -Opa- command-line switch to every source-code module that contains Salvo tasks.
This is an MPLAB-C18 issue for which there does not appear to be a workaround except for disabling procedural optimizations on a per-module basis. Whether a more elegant solution will be presented is unknown.
All times are ET
|next newest topic | next oldest topic|
©2000-2008 Pumpkin, Inc. All Rights Reserved. Pumpkin and the Pumpkin logo, Salvo and the Salvo logo, The RTOS that runs in tiny places, CubeSat Kit and the CubeSat Kit logo are all trademarks of Pumpkin, Inc. All other trademarks are the properties of their respective owners.
Ultimate Bulletin Board 5.46a