I noticed two _exp.S file under my avrx. They are not used by makefile. I suppose there is some expriment features in it. Who can give more info about that? ...
Hello, I am trying to figure out if the following two snippets of code are valid and equivalent: /* Snippet 1 */ ISR(any_vect) { AvrXSendMessage(&foo, &bar); }...
All, I am using AvrX on a project that is processing a high-frequency communication protocol using an input capture interrupt. The pulses on this network...
What is your cpu clock speed? 12us is pretty fast. The handler you list, below, will have a minimum 250 cycle latency - however you can enable interrupts...
Thanks for the response. CPU clock speed is 8MHz, which is maximum for the ATmega64 device we are using. The minimum pulse I have to measure is 20us. I have 4 ...
if function A() is a task with a 128 byte stack, and just a few variables, and it calls B() which has perhaps 20 bytes of variables, one of which is an AVRX...
You just described your task trouble in enough detail that you explained the problem and its cause... if the TCB is an automatic variable in func B(), it can...
Thanks for the thoughtful responses... On the TCB as an automatic - I think I'm OK because the function declaring the TCB as an automatic is coded to not...
One of the later changes to AvrX was to make the prolog a "no return" vs. "naked". The state save/restore is handled in IntProlog/Epilog. When "naked" was...
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...