Search the web
Sign In
New User? Sign Up
avrx · Support group for the AvrX RTOS
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 1709 - 1741 of 1912   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1709
AvrX fans interested in TCP/IP networking and web servers I posted info on avrfreaks.net. ...
stevech11
Offline Send Email
Mar 11, 2008
5:03 am
1710
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
Offline Send Email
Mar 18, 2008
3:52 am
1711
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...
Pink Boy
dasfoo
Offline Send Email
Mar 18, 2008
7:04 am
1712
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...
larry barello
lbarello
Offline Send Email
Mar 18, 2008
2:38 pm
1713
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
Offline Send Email
Mar 18, 2008
7:01 pm
1714
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...
Pink Boy
dasfoo
Offline Send Email
Mar 19, 2008
1:52 am
1715
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...
stevech11
Offline Send Email
Mar 19, 2008
4:57 am
1716
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...
larry barello
lbarello
Offline Send Email
Mar 19, 2008
5:05 am
1717
"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...
stevech11
Offline Send Email
Mar 19, 2008
5:36 am
1719
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...
stevech11
Offline Send Email
Mar 19, 2008
5:48 am
1720
AvrXTestSemaphore() and AvrXIntTestSemaphore() if you're in an interrupt. Larry's website lists the APIs available grouped by RTOS element (task, semaphore,...
Dean Hall
dwhall256
Offline Send Email
Mar 19, 2008
1:17 pm
1721
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...
stevech11
Offline Send Email
Mar 19, 2008
3:59 pm
1722
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...
moofcba
Offline Send Email
Mar 27, 2008
12:43 pm
1723
... I struggle with path names in GCC/Studio too. For the liba case you wrote of, the studio Project Config Options for Libraries has one pathname:...
stevech11
Offline Send Email
Mar 28, 2008
2:22 am
1724
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....
stevech11
Offline Send Email
Mar 28, 2008
4:28 am
1725
... 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...
lrangar
Offline Send Email
Mar 28, 2008
1:59 pm
1726
Three things worth mentioning: - When used correctly, the AvrX API calls provide atomic access for you. You don't need to do test-and-set manually unless you...
Dean Hall
dwhall256
Offline Send Email
Mar 28, 2008
2:17 pm
1728
Not sure if the header below is really the cause, but I do know that compiling the library with 20080402 and the Studio project with 20071221 produces a...
darkdragonnascar
darkdragonna...
Offline Send Email
Mar 28, 2008
7:54 pm
1729
Found that it's a compiler bug (note the jump address): 134: 0e 94 6a 03 call 0x6d4 ; 0x6d4 <AvrXDelay> 138: 01 99 sbic 0x00, 1 ; 0 13a: fd cf...
darkdragonnascar
darkdragonna...
Offline Send Email
Mar 28, 2008
9:05 pm
1730
... This would have to be done AFTER some task does an AvrXWaitSemaphore(), right? Per what you suggested, the initialization would need to launch the task(s)...
stevech11
Offline Send Email
Mar 29, 2008
2:45 am
1731
I also recently found that the new compiler SINGNAL(BLAH) { static uint8_t int_blk = 0; if(int_blk) --- On Fri, 3/28/08, darkdragonnascar...
Pink Boy
dasfoo
Offline Send Email
Mar 29, 2008
3:51 am
1733
I'm making great progress in getting the WizNet 810MJ (now 811MJ) Ethernet module with IP aboard to interface via SPI to a mega128 using AvrX and 100% my own...
stevech11
Offline Send Email
Apr 9, 2008
6:30 am
1734
If you turn interrupts off you will reduce the possibility of your issue to just one instruction time slot. I wrote the code below in this way because I...
Dean Hall
dwhall256
Offline Send Email
Apr 9, 2008
1:07 pm
1735
thanks. Worried about impact of cli() to interrupt latency, I looked at the code for AvrXCancelTimerMessage(). It has a "BeginCritical" (an asm macro for cli,...
stevech11
Offline Send Email
Apr 10, 2008
2:34 am
1736
stevech11 sez, ... Usually I would expect that a function like AvrXCancelTimerMessage() would be thread safe. BeginCritical sure seems like an indication that...
Pink Boy
dasfoo
Offline Send Email
Apr 10, 2008
9:57 pm
1737
He's extending the time interrupts are off in order to reduce the likelihood of a race condition where a timer expires after a message is handled, but before...
Dean Hall
dwhall256
Offline Send Email
Apr 10, 2008
10:32 pm
1738
Right, Dean. I don't see any way to avoid using the cli() to eliminate the race condition. A new AvrXAPI call could be created to do the work (cancel a timer...
stevech11
Offline Send Email
Apr 11, 2008
6:03 am
1739
AvrXCancelTimerMessage was written to do the right thing regardless of the state of the system. If you get your message or semaphore from the ISR, calling ...
larry barello
lbarello
Offline Send Email
Apr 11, 2008
5:44 pm
1740
Larry - thanks very much. From the documents, it wasn't apparent that AvrXCancelTimerMessage() does as said below. I've created a MS Word and PDF document on...
stevech11
Offline Send Email
Apr 12, 2008
2:28 am
1741
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the avrx group. File : /AvrX API Docs...
avrx@yahoogroups.com
Send Email
Apr 12, 2008
3:02 am
Messages 1709 - 1741 of 1912   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help