Hi all, I have some trouble using AVRX on an ATMega2561. I've been using AVRX for a few years on an ATMega32 und it works very well. Now I want to use this...
Have you taught AvrX about the two words return address pushed on the stack? ... From: avrx@yahoogroups.com [mailto:avrx@yahoogroups.com] On Behalf Of ...
... This was also my thought and this was the reason why I tried to use the 'C' version of AVRX where the right width of the return address should be choosen...
There should be four bytes of ret address, not two for machines > 128kb of flash. You need to adjust the task structure and add extra ldd and std instructions...
Considering the changes in winavr syntax for interrupt handlers, is this the correct interrupt declaration for the external interrupt #4 (mega128) ? ...
... 128kb of The return address is stored in the stack with 3 bytes and this is the reason why the offsets for reading the return address are wrong. I will try...
 hi , i am new to avr ,i am trying to control the RGB led throug the PWM signals generated from timers ,i am using timer1 and timer2 for this , but i am...
Hi All, I have done porting uIP TCP/IP stack by Adam Dunkel using AvrX. You can get it from "Files" of our yahoogroups. and more information about uIP TCP/IP...
Great work! Can you give some idea of the code (ROM) and data (RAM) sizes needed by your port? Thanks, Neil ... -- http://www.njohnson.co.uk ... Email sent...
I've always felt these two projects would be a good match. I've never had a need for ethernet in my projects, so I haven't pursued it, but I've always thought...
Dear neil, Here is messages appear while compile process, I don't ROM and RAM required, but the hex file size is 61,2 KB (62.756 bytes). Build started...
Suggestions please... task A needs to sleep, and wait for either (1) a wake-up issued by an interrupt routine or (2) a timeout. I didn't see a timed...
I've used AvrXStartTimerMessage/AvrXWaitMessage and it works nicely. I followed the example from Examples/MessageTimers.c, but my message originated from an...
My AvrX application that gets the time via the Internet from a NIST server. It uses this to set some date/time variables. This happens at startup. In the 1000...
stevech11 sez, ... Um... first off 4-5 seconds every 24 hours is like 45ppm. A craptacular xtal might be 50ppm. If you have a frequency counter you can set...
Adding the init value to the counter works as well as CTC as long as you don't miss a complete rollover cycle. Even CTC fails if you completely miss the...
Ah so, I screwed up the math, eh, on 45ppm. Are the 32768Hz crystals in watches, etc, trimmed somehow? ... completely miss ... hasn't been ... Of Pink...
stevech11 sez, ... One other thing to watch out for is the load capacitors. They may well be wrong. Too much and the xtal runs slow, not enough to bother a...
Larry - with a 1000Hz interrupt rate, I tried to get a feel for the clock ISR execution time. Hard to do just looking at the listing file. Do you know? While...
It has been a long time since I counted cycles, but the overall cost of a AvrXTimer interrupt is ~250 cycles with a maximum latency (time interrupts off) of...
"The actual timer code takes more time" - is this on the order of a few tens of uSec (@16MHz)? Probably depends on length of linked lists for timers and...
In other RTOSes I've used, there's a "test and set" semaphore call. It returns the state of the semaphore before the attempt to set it true is made. So if the...
AvrXTestSemaphore() and AvrXIntTestSemaphore() if you're in an interrupt. Larry's website lists the APIs available grouped by RTOS element (task, semaphore,...
AvrXTestSemaphore() doesn't do test-and-set, as I understand. So making test-and-set needs two calls? If so, something better than cli() would be used to make...
I´m trying to build the avrx with aStudio 4.13. and i getting this error: c:/winavr-20071221/bin/../lib/gcc/avr/4.2.2/../../../../avr/bin/ld.exe: cannot find...
Someone here probably knows... Task A wants to use a global resource, let's say a RAM buffer. Other tasks may also want to use it. So we need mutual exclusion....
... I had the problem one day, that Messages were lost which are send from an Irq-Handler. Then I found out that there is a AvrXIntSendMessage function. Since...