it works also at ATMega8535.... I think .. it applies to mega8515 too.... I will not AT90S8535 compatable mode anymore. :p Thanks~~ (sorry.. my terrible...
I am getting some very strange behaviour when I use local variables within a task. I am using WinAVR (latest release). Once I move them to global then all is...
The original GCC port of AvrX used the "naked" attribute for the task. An unfortunate side effect is that the frame pointer (to stuff on the stack) isn't...
See: http://groups.yahoo.com/group/avrx/message/46 ... From: shane_bolton [mailto:shane.bolton@...] I am getting some very strange behaviour when I use...
Sorry for this dumb question, but I don't know anything about the assembler. I can build avrx for GCC without a problem. I now notice that there is a...
Understanding why, or at least having a model that allows you to fix stuff on your own is what I strive for. Well, I must say, no one ever has used the...
Thanks again Larry, That worked without any problem. I can't believe no one else is using TaskYield() - very clean and elegant solution to a cpu intensive...
Hello, I am new to AVRX. I succeed to build the avrx.r90 library for IAR. But when I try to build the examples I get the following error: Error[e6]: Program...
Hi all, I was playing around with the MessageTimersAlt.c example and set the timer delay to 60 seconds i.e. AvrXStartTimerMessage(&Timer, 60000, &MyQueue)....
The timers are unsigned ints so they are good to ~65000 counts. ... From: gordonrice Hi all, I was playing around with the MessageTimersAlt.c example and set...
The timer value is 'unsigned' meaning 16 bit therefore the maximum value is 65535 - about 65.5 seconds. Regards, Shane ... the timer delay to 60 seconds i.e....
Hi! Could someone please explain why I get all these warnings? A cof-file is generated but when I try to open it in AVRStudio 3.56 I get the message "Error in...
... No, float version of printf() calls the malloc() function but it doesn't work in AvrX therads. There is a few solutions to make it works. Look at...
This is from a recent message in the avr-gcc-list. It is a way to work around the printf problem: Just don't use "printf" (or make your own) and use...
Mea culpa, mea maximu culpa: I was in a hurry... ... From: stevech [mailto:stevech@...] hey - how 'bout crediting the author! ... From: Larry Barello...
It has been a long time, but. Malloc should work as long as only one task is accessing it. if more than one, then you need to protect it with a semaphore (or...
Hi Larry, I've got a question for you: I've been using timer messages and message queues as a way to wait for some event, but with a timeout if the event ...
Sure, become famous. The message queue can be thought of as a semaphore with attitude. Each message conveys something. So, an interrupt handler completing can...
Yeah, I guess a simple wrapper function for malloc with a semaphore should do. Kind of like I would do with my I2C or Serial library right? Thanks, ... 1...
Hi, ... Using printf as it is provided by avrlibc seems often to be a problem with our used architectures. In a project (which is not using avrx) I ported one ...
So the idea of using AvrXCancelTimer() to signal something seems to work great until I get a lot of interrupts. In one application I have an interrupt handler...
Clearly I have been away from AvrX for too long. AvrXCancelTimer was never written to be called from an interrupt handler. It just blindly modifies the timer...
Ok, great. I'll take a few pokes at it. If you come up with anything please pass it along. Might be a few days before I get back into the lab. I'm pretty sure...
BTW, I assume you mean to take out the first EndCriticalSection and the second BeginCriticalSection, effectively placing the whole routine in a critical...