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 1106 - 1135 of 1912   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
1106
I'm merrily coding away on my first serious project using AVRX under GCC, and I have a question: How does one properly (and safely) calculate the stack space...
Steve Hersey
n1xnx
Offline Send Email
Aug 5, 2005
2:57 pm
1107
It is essentially impossible to calculate the stack needed. I allocate plenty of extra and inspect a running system to figure out how much is used. Then I...
Larry Barello
lbarello
Offline Send Email
Aug 5, 2005
6:35 pm
1108
Hi @ all, at the first, sorry for my bad english. I want to use avrx in the future, but i want to 'debug' the functionality of my code with simple PrintString...
mrweblover2002
Offline Send Email
Aug 8, 2005
2:29 am
1109
A single character is classic of the interrupts not being enabled, or having the wrong text name for the handler, so it never gets called. If you use stdio...
Larry Barello
lbarello
Offline Send Email
Aug 8, 2005
3:11 am
1110
I would second Larry's comments. Note that if your code is supposed to print "Hi!" and the terminal displays "~!@#$&^&*(d", you probably have a baud rate...
Steve Hersey
n1xnx
Offline Send Email
Aug 8, 2005
1:21 pm
1111
I am fighting this right now and finally tracked it down to the SIG_UART_DATA and SIG_UART_RECV interrupts not being the in vector table. After the second...
bpar1999
Offline Send Email
Aug 8, 2005
2:14 pm
1112
... You might look at my library (previously mentioned) in the files area of this Yahoo group. It works, so you can use it as an example -- or just use it. ...
Christopher X. Candreva
ccandreva
Offline Send Email
Aug 8, 2005
2:19 pm
1113
There is no "SIG_UARDT_..." on the mega162. Please review the appropriate header file (iom162.h) to get the right names. Unfortunately, GCC interrupt...
Larry Barello
lbarello
Offline Send Email
Aug 8, 2005
2:45 pm
1114
There is a "#if defined (SIG_UART0_RECV)" in the serialio.s file that I added "#define SIG_UART_DATA SIG_UART0_DATA" in there. It compiled so I thought...
Barry Sanders
bpar1999
Offline Send Email
Aug 8, 2005
6:26 pm
1115
Yeah, the #defines change every so often. The rule is that the GCC header files try to match Atmel documentation as much as possible, so if Atmel decides to...
Larry Barello
lbarello
Offline Send Email
Aug 8, 2005
9:31 pm
1116
Thanks too all replies.... It works now *smile*...
mrweblover2002
Offline Send Email
Aug 9, 2005
7:51 am
1117
I wrote a short article on stack depth that you might take a look at: http://www.embedded.com/showArticle.jhtml?articleID=47101892 John Regeh -- John Regehr,...
John Regehr
sbzz1e
Offline Send Email
Aug 12, 2005
9:19 pm
1118
Hi @ all, at the first, sorry for my bad english. Is there any way to calculate the time between two timerticks ? If i run the avr with a 16 MHz crystal, and...
mrweblover2002
Offline Send Email
Aug 18, 2005
8:18 am
1119
I can recommend two methods of actually measuring the time required; in my opinion, this is a necessary complement to calculation, as it is based on actual...
Steve Hersey
n1xnx
Offline Send Email
Aug 18, 2005
7:37 pm
1120
I have the same problem. It compiled after inserting the following lines to Serialio.s: #if defined(UBRRL) # define UBRR UBRRL #endif ... (before the ... ...
test_code
Offline Send Email
Aug 19, 2005
4:19 am
1121
The timer ticks are precise. They have (almost) nothing to do with the time it takes to execute the timer routine. The issue is: can you really represent a...
Larry Barello
lbarello
Offline Send Email
Aug 19, 2005
4:32 am
1122
... the time ... I'd like to explain why this is the case, as it is rather interesting. The timer is set to use the system clock / 256, and is not ...
Steve Hersey
n1xnx
Offline Send Email
Aug 19, 2005
5:26 pm
1123
Excellent explanation Steve. With the newer mega parts you can put the timers into CTC mode, where one of the compare registers acts like the reset count. The...
Larry Barello
lbarello
Offline Send Email
Aug 19, 2005
8:23 pm
1124
I tried to compiler the samples in "Examples" and "TestCases" Folders, but I always got the following errors: BasicTest1.c:66: error: invalid lvalue in...
test_code
Offline Send Email
Aug 20, 2005
5:34 am
1125
... Looks very much like you either have a bad installation of the compiler tools, or haven't selected the chip to use in the AVRX example/test code makefiles,...
Steve Hersey
n1xnx
Offline Send Email
Aug 22, 2005
5:20 pm
1126
Thank you for the reply!!! I found out my problem, and it works after I command out the following line: //#define _SFR_ASM_COMPAT 1 ... Folders, ... variables ...
test_code
Offline Send Email
Aug 22, 2005
7:34 pm
1127
Hi, I am a beginner using avrx. I would like to structure my source tree such that each file contains only one task and including them in the main file ...
tailopan2002
Offline Send Email
Aug 24, 2005
10:51 pm
1128
I think you use AVRX_EXTERNTASK(start) for external prototype. So in your case, below, task1.h would contain AVRX_EXTERNTASK(task1); And task1.c would have ...
Larry Barello
lbarello
Offline Send Email
Aug 25, 2005
1:41 am
1129
I'm prototyping a closed-loop PWM DC motor controller with the ATMega32, and I'm looking with interest at smaller chips, as my code uses about 5500 bytes of...
Steve Hersey
n1xnx
Offline Send Email
Aug 26, 2005
3:50 pm
1130
TQFPs are very easy to solder. Just get liquid flux (like a felt tip pen) and paint all the PCB lands. Then hold the chip with your finger against the board...
Larry Barello
lbarello
Offline Send Email
Aug 26, 2005
4:41 pm
1131
Indeed, I've been there. Most SOIC are easy to solder, but the 0.8 mm pitch chips are a bit harder (though still not beyond reason; still, I've had assembly...
Steve Hersey
n1xnx
Offline Send Email
Aug 26, 2005
5:05 pm
1132
Avrx can shoehorn two or three processes + the kernel stack into 512 bytes but that would leave little else for other stuff and wouldn't support many ...
Larry Barello
lbarello
Offline Send Email
Aug 26, 2005
7:20 pm
1133
Thanks! Since I have two tasks and two interrupt sources, one within AVRX and one outside, it *should* work in 512 bytes. Gotta see what the run-time analysis...
Steve Hersey
n1xnx
Offline Send Email
Aug 26, 2005
8:19 pm
1134
Hi, Whilst looking through the timer code for AvrxStartTimer, I think I've found a small window of opportunity for the function to fail due to an interrupt at...
getsmedown2001
Offline Send Email
Aug 30, 2005
9:50 pm
1135
I have had similar problems but the fault was mine ... I was starting a timer, then starting the timer again. Start Timer1 Start Timer1 WRONG! The following,...
kc_nokidding
Offline Send Email
Aug 31, 2005
1:22 pm
Messages 1106 - 1135 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