We have application with Salvo Pro 8051 v.3.2 with Keil Tools : C51 and BL51,
Large model memory,C8051F124. I use standard library slc51lxta.lib and
salvocfg.h:
/* Salvo LE & Pro library build
#define OSUSE_LIBRARY TRUE
#define OSLIBRARY_TYPE OSL
#define OSLIBRARY_GLOBALS OSX
#define OSLIBRARY_CONFIG OST #define OSLIBRARY_VARIANT OSA
#define OSEVENTS 20
#define OSEVENT_FLAGS 20
#define OSMESSAGE_QUEUES 1
#define OSTASKS 20
#define OSBYTES_OF_EVENT_FLAGS 2 // ????
#define OSENABLE_INTERRUPT_HOOKS TRUE
#define OSENABLING_IDLING_HOOK TRUE
#define OSENABLE_SEMAPHORES TRUE //??
#define OSENABLE_IDLING_HOOK TRUE // ??
#define OSTIMER_PRESCALAR 32 // ????
#define OSBIG_MESSAGES_POINTERS TRUE //
#define OSMESSAGE_TYPE xdata // ????
//***********************************************************
I've been experiencing problems concerning the RTOS and interrupts. There is extern interrupt INT0,which handlers incoming cyclic bursts and sends OSSignalBinSem and OSSetEFlag to the task.The task receive these events and get some intermediate
information from interrupt handler.I use interrupt because the application
needs high precision tied to time (binding) . The problem is that, sometimes,
the receiving is broken because Salvo disables interrupts in some specific times.
This is good for Salvo,but it is not very good for application.
What is the solution of this problem ?
Any ideas ???
Sincerely,
ILIAKG