The method defined below isn't correct in that the stack depth worst case is influenced by the coincidence in time of certain interrupts and the nesting of...
... Yes, you're right it does have the limitation you mention. I should have pointed that out. Probably why I like to leave 20 bytes or so spare per task. My...
Has anyone tried this "analysis-based" method? http://www.embedded.com/showArticle.jhtml?articleID=47101892 -Rick ... Rick Rees, Software Engineering...
The low-water-mark technique I described accounts for nesting that one can't predict through analysis for a program who's behavior is influenced by external...
... I think I see what you're getting at now. This is something else I assumed others would automatically take into account when checking stacks. I have a...
... There are RTOS's that are written in C such as uCOS II and FreeRTOS. These are easier to port to other uC's and already have ports for gcc/avr-libc/*nix as...
Oh, oh, oh, I have dreamed of this for a long, long rime. I went through a compiler revision (IAR 1.x - 2.x) where the subroutine calling parameter and return ...
Occasionally when calling AvrXDelay with interrupts blazing, I've noticed between the call to AvrXWaitTimer and the BeginCritical section below, that one of...
If all registers are saved & restored properly during and ISR then the following code can be interrupted and will continue properly upon return. AvrX only...
I confirmed that there are no non-AvrX interrupts. So I must be fooling IntProlog into not saving the context when it should. Perhaps I'm corrupting the...
This problem turned out to be hardware related. Once the hardware was fixed, I've had no trouble with AvrXDelay. FWIW, another symptom of the problem was that...
I'm no hardware engineer, but I was sure it was the external clock, however it always checked out OK. Turned out to be improper voltage to the chip for the...
I am implementing the AVRX FIFO on the serial port on a MEGA-8 running at 8MHz. I have been testing it at 38400bps and am loosing the occasional character....
... running ... from ... fifo ... testing. If ... it at ... before? ... My answer is not very AVRX oriented. I hope others in the group will tolerate this use...
Thanks Dave, More information available: I am not typing, you can configure the Bray terminal program with a string to send and then 'blast' it at the serial...
Hi Shane, ... So, another datapoint completely unrelated to avrx. I can receive a serial stream at 1 Mbs (mega-bit/sec) using an Atmega-8 at 8MHz. This is...
The performance/efficiency of the AvrX FIFO code isn't the issue here; it's very small and cycle-efficient. I think the most immediately relevant question here...
AvrXWaitTask is apparently an incomplete API. It appears in the header file but is otherwise never referenced. You are right it can't work... ... From:...
I am a green hand,I began to study avr mcu three weeks ago,and I began to study rtos a week ago,i don't know why do the avrx and the uc/os2 use static task...
There is no particular reason stacks and TCBs can't be dynamically allocated. All data structures are referenced by pointer. I used static allocation because...
I just found this kernel, and have been trying to experiment with it. But alas the example code always gets this error (along with others, but this appears to...