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...
... I get a ton of errors (but not the one you got) with 'make Timers' but everything works great with just 'make' I didn't try to find out why there are...
... I forgot to mention I started with 'make all' in the first place and only moved on to make Timers when trouble arose. I also forgot to mention I was using...
To the original poster: dynamic memory allocation is often frowned upon in very small embedded systems since it can make programs much harder to reason about....
I don't use malloc/free.I think that it's very slow. I've defined a large array,and create task stack and PID in array in AvrXInitTask,in AvrXTerminate,I mark...
After implementation I can report back on my limited findings. An ATMEGA8 running at 8MHz using AvrXFifo has no problem supporting 38400 bps on the serial...
I have a gap in my knowledge about AVRX and hope the group can provide the answers. Will a task swap happen as a consequence of a timer interrupt and ...
I believe the AvrXFifo.h file is faulty. When AVRX_INIT_FIFO is used in the same source file as AVRX_EXT_FIFO <fifoName>FifoSz is undeclared The macro:...
Yes, assuming a higher priority task has been scheduled as a result of the timer tick. The answer to your second question is No. The calling task will simply ...
Thanks Larry, That clears it up for me. Pretty much works as I expected. I agree with your comment about AvrXYield but I have myself in a situation where I...
You are close. Yield is unnecessary and wasteful and won't do what you want. What you want is to protect shared data structures accessed with non-reentrant...
Hi Shane, ... You want to put a small sleep between each request. Otherwise, your thread may consume all of the CPU and not allow other threads to even release...
If the system can run out of buffer space and needs to wait, then some sort of message queue of malloc requests could be set up. The "myFree" routine would...
Larry, I like the idea of a message queue - a very elegant solution. Just goes to prove there is always someone out there smarter than me! Thanks, Shane ... ...
Be careful: The queue idea is a dead-lock waiting to happen, unless you rummage through the queue looking for request to satisfy in which case the use of a...
Hi, I am new to this AVRx. I did some c programs with ATMega16 microcontrollers long back. Now I started working on ATMega1280 and have to port AVRx on to this...
From a quick glance at the data sheet, the 1280 should require no changes to AvrX. There will be changes for the 256kb chips as the return address is three...
Hi, I am new to this avrx. when I tried compiling an example that comes with AVRx package, I am getting the following error. Kindly help me in resolving it...
Hi, I am able to generate the avrx.a file successfully after goin through the documentation from AVR freaks.net. Kindly tell me how can I generate the hex...
... through ... generate ... microcontroller. ... If you download version 2.6f from http://www.barello.net/avrx/index.htm the entire directory structure will...
... Simply put, the system can not find one of the input files and, since there is only one, it probably can't find Timers.c. Are you in the Examples...
Hi all, I am herewith pasting the output that i got when i do a "make gcc". C:\avrx\Examples>make clean rm -f Timers.d90 Messages.d90 MessagesAndData.d90...
Hi all, I could successfully compiled avrx and got avrx.a file using the make file for library in DOS mode (make gcc command). Then I went in to Examples ...
... the make ... Examples ... it has ... Which device are you using? Did you select the proper device in the Examples/makefile? You can get a list of "Known...
Hi, i want to develop a firmware for a robot with an ATMega644. Unfortunatly i don't have a starter kit so I will have to use the AVR Studio 4 simulator for...
... I see nobody has jumped in on this. One big reason is that the simulator isn't the hardware. It's one thing to simulate simple, linear, programs. It is...
Hi dudes, I am new to this community. I am facing problem interfacing DS1307 with AVR. Can anyone provide code in ASSEMBLY only to access DS1307 (as slave)...
... with AVR. Can anyone provide code in ASSEMBLY only to access DS1307 (as slave) connected on TWI (I2c) bus of Atmega 8/16/32 ? I need just the code for...