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 your group to be featured on the Yahoo! Groups website? 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 1857 - 1886 of 1912   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1857
Thanks Larry for the reply. Yup, I set the /SS pin as an output. But anyway I've solved the problem. It's because of the optimization. When I change the...
Giri Y. Atmaja
giri_y_atmaja
Offline Send Email
Feb 1, 2009
9:06 am
1858
Hi, There is a simple solution for the optimalisation fun in combination with while loops define a nop #define nop() __asm__ __volatile__ ("nop" ::) And in...
Robert Evers
evers4202000
Offline Send Email
Feb 1, 2009
9:43 am
1859
thanks a lot....
Giri Y. Atmaja
giri_y_atmaja
Offline Send Email
Feb 1, 2009
12:38 pm
1860
Sounds like you have a variable shared between an interrupt handler and your main code. The main code doesn’t realize that the variable can change abruptly...
larry barello
lbarello
Offline Send Email
Feb 1, 2009
1:10 pm
1861
All control registers should be declared volatile. If this one isn’t that is a bug in the chip header file (avr/io.h…) I use the code, below, without the...
larry barello
lbarello
Offline Send Email
Feb 1, 2009
1:10 pm
1862
I'm still trying to figure out why I can't use AvrxDelay function but I can use _delay_ms I also tested both Timers 0 and 2 with a diagnostic I wrote to...
Dan Roganti
rogsys
Offline Send Email
Feb 1, 2009
3:28 pm
1863
Dan, You should be able to debug this in the simulator without too much trouble. Set the delay to 1 or 2 so you don't need to wait for too many interrupts...
Shane Bolton
shane_bolton
Offline Send Email
Feb 1, 2009
4:21 pm
1864
If you are using _delay_ms() from avr-libc's #include <util/delay.h>, then you are not using a timer. avr-libc's _delay_ms() uses a code loop that calculates...
Dean Hall
dwhall256
Offline Send Email
Feb 1, 2009
4:29 pm
1865
Shane, My code hasn't had signal.h in a long time either, I'm just trying to run the demos as delivered. I had updated to 2.6g and avrx_signal.h asks for...
brucesherry1
Offline Send Email
Feb 3, 2009
5:16 am
1866
This is probably a question for Larry, following up on my R2-R8 reserved registers modification. While everything appeared to be working 100%, I changed the...
Richard F
richardcfart...
Offline Send Email
Feb 4, 2009
10:16 am
1867
I don’t recall using anything other than the C call parameters and two temporary (c clobber) registers. A bad pointer ($0004) would write to R4 but that...
larry barello
lbarello
Offline Send Email
Feb 4, 2009
6:11 pm
1868
Larry, thanks for your reply, I did some more digging... Unfortunately I only have a AVR Dragon, but it's good enough to single step the avrx functions. Turns...
Richard F
richardcfart...
Offline Send Email
Feb 5, 2009
6:18 pm
1869
Z should be pointing to a timer control block. CancelTimer is trying to add the count of the canceled timer to the count of the next timer in the queue. Why...
larry barello
lbarello
Offline Send Email
Feb 5, 2009
7:49 pm
1870
Hi Larry, I just did an experiment - reverting to the vanilla kernel, and the problem still exists. It's just that it is masked when the registers are popped...
Richard F
richardcfart...
Offline Send Email
Feb 5, 2009
11:42 pm
1871
Richard, I can attest that the assembly is fine. I've used AvrXCancelTimer() many times. Look further up in the AvrXCancelTimer source to see that the Z...
Dean Hall
dwhall256
Offline Send Email
Feb 6, 2009
1:16 am
1872
As you probably noticed AvrX does absolutely no runtime or compile time checking of parameters or arguments. One of the reasons it is so small and fast. I...
larry barello
lbarello
Offline Send Email
Feb 6, 2009
1:22 am
1873
... Bruce, do you also try to run the BasicTest*.c which are delivered with AVRx? I had problems in the past with the Basictest3. I use several AVRs, several...
Hans-Joachim Borchers
hjbathb
Offline Send Email
Feb 6, 2009
7:22 am
1874
Thanks Dean, Well the call is so simple and I use it elsewhere in the code. So I have TimerControlBlock relay_timer; // Control block for the relay...
Richard F
richardcfart...
Offline Send Email
Feb 9, 2009
3:50 pm
1875
Is the declaration for the tcb is outside all functions in the global scope? Is there anything "next" to the tcb in memory, such as an array, that is exceeding...
Dean Hall
dwhall256
Offline Send Email
Feb 9, 2009
4:12 pm
1876
I want a quick running ISR sample bits and send it to a process waiting for it, the ISP shall at the most send four different messages in one loop to the same...
tord.lindner
Offline Send Email
Feb 11, 2009
2:09 pm
1877
Don't use message ack-ing from an ISR... the ISR is waiting for an ACK, but because it's in an interrupt, the task doesn't get to run until the interrupt is...
Dean Hall
dwhall256
Offline Send Email
Feb 11, 2009
2:13 pm
1878
... wait, ignore that last message. I misread your code. I'm looking at it some more. !!Dean...
Dean Hall
dwhall256
Offline Send Email
Feb 11, 2009
2:18 pm
1879
Well, it's hard to say exactly what's going on because you haven't included all the code. For example, I don't see where Uart4_Sample and Uart5_Sample are set...
Dean Hall
dwhall256
Offline Send Email
Feb 11, 2009
2:58 pm
1880
The time tick is running at 1ms, why not use a delay with the task for 1ms then check the message queues, create a seperate task that is a queue manager, don't...
STEVEN HOLDER
steven724930
Offline Send Email
Feb 11, 2009
4:37 pm
1881
I want to have four 4800 SW-uarts (need the other two as well on the mega128). My idea was to have a bit sampler which goes on 50uS ticks and every 1mS do a...
tord.lindner
Offline Send Email
Feb 11, 2009
6:13 pm
1882
Perhaps an intermediate step would be to define a rx_queue for each uart, it seems that the first ackmessage is getting confused and is sending to the wrong...
Steven Holder
steven724930
Offline Send Email
Feb 11, 2009
8:17 pm
1883
Good point, I thought since it's a queue, FIFO, that the first message would be done first and the ack would correspond to that first message and so on. A good...
tord.lindner
Offline Send Email
Feb 11, 2009
8:34 pm
1884
Acks apply to the element pulled off the queue. Queues are FIFO. ... From: avrx@yahoogroups.com [mailto:avrx@yahoogroups.com] On Behalf Of tord.lindner Sent:...
larry barello
lbarello
Offline Send Email
Feb 12, 2009
6:00 am
1885
Waits are on a semaphore buried in the object (message, timer, whatnot). Consumers wait on the semaphore in the queue head, Producers wait on the (ACK)...
larry barello
lbarello
Offline Send Email
Feb 14, 2009
5:47 pm
1886
I'm sure most of you have seen the Vex 6-channel remote sets that have been on the surplus sites for a while now. MPJA just closed theirs out for $10 each and...
Christopher X. Candreva
ccandreva
Offline Send Email
Feb 25, 2009
1:19 am
Messages 1857 - 1886 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