Page 3 of 3

Re: messages from ISR

PostPosted: Tue Dec 11, 2007 9:01 am
by aek
At this point, my guess is that there is something re data spaces and rxUART0 that is causing the problem ... my guess is that instead of placing the data you think it's placing into the ecb for the msg, it's placing a zero, and if it's a zero, then the waiting task never unblocks.

If you watch OSecbArea[] in uVision, do you see the msgP field of the message (OSecbArea[2]) change to non-zero when the message is signaled?

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


Re: messages from ISR

PostPosted: Tue Dec 11, 2007 9:03 am
by aek
quote:
how does it know there is 0 data? you mean if you use a pointer to address zero?

because the format of the message the pointer points to is pretty much custom correct?

also, what do you mean by a "Pro build"? is that using Salvo Pro with a L (vs F) library?

(none of which is the issue here, but something good to know)


The message format is "pretty much anything" modulo the various 8051 memory spaces. That's why I think that it's not mapping to what you may expect.

A "Pro build" means building a Salvo application only from Salvo source code -- no library. The salvocfg.h format is different.

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


Re: messages from ISR

PostPosted: Tue Dec 11, 2007 9:22 am
by PresbyopticProgrammer
quote:
Originally posted by aek:
If you watch OSecbArea[] in uVision, do you see the msgP field of the message (OSecbArea[2]) change to non-zero when the message is signaled?

no hardware debugger at this point to do the watch. just working over a serial connection with a bootloader

if OSecbArea[2] is available to code I will make a task to spit a message out the serial port every second or so with the value -> for the moment that is how I am debugging


Re: messages from ISR

PostPosted: Tue Dec 11, 2007 9:31 am
by aek
uVision's simulator is extremely good -- if you can simulate the problem in uVision then that's the best way for us to debug it here at Pumpkin.

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


Re: messages from ISR

PostPosted: Tue Dec 11, 2007 10:09 am
by PresbyopticProgrammer
I have emailed the entire app to support@pumpkininc.com