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...
Want to share photos of your group with the world? Add a group photo to Flickr.

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 1592 - 1621 of 1912   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1592
Occasionally when calling AvrXDelay with interrupts blazing, I've noticed between the call to AvrXWaitTimer and the BeginCritical section below, that one of...
Rick Rees
rickrees
Offline Send Email
Jun 6, 2007
7:03 am
1593
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...
larry barello
lbarello
Offline Send Email
Jun 6, 2007
6:32 pm
1594
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...
Rick Rees
rickrees
Offline Send Email
Jun 7, 2007
1:44 am
1595
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...
Rick Rees
rickrees
Offline Send Email
Jun 14, 2007
2:38 am
1596
What hardware problem was it? Why would it cause th LPM instruction to not reliably read flash? Rick Rees <rees@...> wrote:...
harmon,jr sicat
hcsicat
Offline Send Email
Jun 14, 2007
3:53 am
1597
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...
Rick Rees
rickrees
Offline Send Email
Jun 14, 2007
4:03 am
1598
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....
shane_bolton
Offline Send Email
Jun 27, 2007
7:54 am
1599
... 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...
pederson_dave
Offline Send Email
Jun 27, 2007
3:57 pm
1600
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...
shane@...
shane_bolton
Offline Send Email
Jun 27, 2007
10:44 pm
1601
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...
Dave Hylands
dhylands_99
Offline Send Email
Jun 28, 2007
12:37 am
1602
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...
Steven Augustine
otsproductions
Offline Send Email
Jun 28, 2007
4:12 am
1603
1.AvrXWaitTask can not work. in Avrx.h typedef struct ProcessID { struct ProcessID *next; unsigned char flags, priority; void *ContextPointer; unsigned char...
dack_z
Offline Send Email
Jun 29, 2007
3:10 pm
1604
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:...
larry barello
lbarello
Offline Send Email
Jun 29, 2007
3:37 pm
1605
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...
dack_z
Offline Send Email
Jun 30, 2007
6:22 am
1606
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...
larry barello
lbarello
Offline Send Email
Jun 30, 2007
2:33 pm
1607
Thanks very much!...
dack_z
Offline Send Email
Jul 1, 2007
12:20 am
1608
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...
th0th696
Offline Send Email
Jul 5, 2007
3:10 am
1609
... 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...
rtstofer
Offline Send Email
Jul 5, 2007
1:24 pm
1610
... 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...
th0th696
Offline Send Email
Jul 5, 2007
6:10 pm
1611
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....
John Regehr
sbzz1e
Offline Send Email
Jul 5, 2007
7:33 pm
1612
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...
dack_z
Offline Send Email
Jul 6, 2007
9:32 am
1613
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...
shane_bolton
Offline Send Email
Jul 16, 2007
4:50 am
1614
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 ...
shane_bolton
Offline Send Email
Jul 16, 2007
4:53 am
1615
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:...
shane_bolton
Offline Send Email
Jul 16, 2007
11:00 am
1616
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 ...
larry barello
lbarello
Offline Send Email
Jul 16, 2007
2:10 pm
1617
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...
shane@...
shane_bolton
Offline Send Email
Jul 16, 2007
10:25 pm
1618
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...
larry barello
lbarello
Offline Send Email
Jul 16, 2007
11:39 pm
1619
Go it! In my case where I don't want to return until I have the memory requested I could do this: void *myMalloc(int size) { do { ...
shane@...
shane_bolton
Offline Send Email
Jul 17, 2007
4:37 am
1620
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...
Dave Hylands
dhylands_99
Offline Send Email
Jul 17, 2007
8:01 am
1621
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 barello
lbarello
Offline Send Email
Jul 17, 2007
4:40 pm
Messages 1592 - 1621 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