Pumpkin, Inc.

Pumpkin User Forums

ARM, V.4.00

If you can't make Salvo do what you want it to do, post it here.

ARM, V.4.00

Postby Bummibaer » Fri Sep 14, 2007 12:44 am

Hello,

I've have some difficulties with the version.
- When I switch OSLOG_MESSAGES to OSLOG_WARNINGS
the line in salvodebug.c:
char *OSMakeStr(char * fmt, ...)
has to be
unsigned char *OSMakeStr(char * fmt, ...)

- OSSignalBinSem doesn't work.
I have found the following suspicious
lines in source:

u.tcbP = ecbP->tcbP;

if (u.tcbP)
{
u.tcbP->status.bits.state == OSTCB_TASK_SIGNALED;
OSInsSigQ(u.tcbP, ecbP);
}
else
{
ecbP->event.binSem = 1;
}

What does the == mean?

Our sources are installed from:
salvo-pro-arm-4.0.0-rc50.exe

Thanks,
S.Netz

BTW: What's about a better forum-software?
It looks rather ugly.

regards,
Steffen

Bummibaer
 
Posts: 15
Joined: Thu Sep 13, 2007 11:00 pm
Location: Dresden,Germany

Re: ARM, V.4.00

Postby Salvo Tech Support » Fri Sep 14, 2007 8:52 am

Hello BummiBaer

The OSMakeStr() issue was resolved in 4.0.1-rc1.

The assignment issue for binSems (and Sems, Msgs and MsgQs) is a real bug. See SB-30 .

A new release for ARM (4.0.2-rc1) is now online and has implemented the fix.

Note that the problem only occured for a particular combination of configuration options -- I don't know if these are the config options you were using.

------------------
--------
Salvo Technical Support
Please request all tech support through the Forums.

[This message has been edited by Salvo Tech Support (edited September 14, 2007).]

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Re: ARM, V.4.00

Postby Bummibaer » Tue Sep 18, 2007 12:29 am

O.K.
What's about the combinations of
OSCOMBINE_EVENT_SERVICES
and
OSENABLE_FAST_SIGNALING ?

If I switch the first one to TRUE, I get
the Errors:
Fatal Error[Pe035]: #error directive: OSCOMBINE_EVENT_SERVICES Not yet supported in Salvo 4.
!?

regards,
Steffen

Bummibaer
 
Posts: 15
Joined: Thu Sep 13, 2007 11:00 pm
Location: Dresden,Germany

Re: ARM, V.4.00

Postby aek » Wed Sep 19, 2007 9:53 am

We'll try to get that fixed, in the near future. Salvo 4 fixed a longstanding eFlag bug and that fix has not yet been applied to the code block that is made active by OSCOMBINE_EVENT_SERVICES.

OSCOMBINE_EVENT_SERVICES was created more for very small (e.g. PIC-class) uC's to further shrink the size of Salvo's footprint in Program memory. With an ARM-class processor the need for it is less, hence its low priority on the fixing list.

------------------

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm


Return to Coding

Who is online

Users browsing this forum: No registered users and 0 guests

cron