Hi, I'm a beginner with avrx. I've just run correcty a Timers example included in the library and i'm very happy. I have a library written in c++ for a 2x16...
Hi, I'm a beginner with avrx. I've just run correcty a Timers example included in the library and i'm very happy. I have a library written in c++ for a 2x16...
Hi! I'm somehow a beginer in AvrX (well, I have been using it for quite some time, but there are many things that I don't understand yet). I'm building a...
C++ has a different linkage and function prolog type than regular C functions. I never wrote AvrX for c++, but I believe it can be modified to work - if you...
120/sec with so little code is not significantly burdensome. ... From : José Ildefonso Camargo Tolosa <ildefonso_camargo@...> Date : Wednesday, July 13,...
Using AVRX_SIGINT() bypasses GCC's register save/restore mechanism and uses prolog/epilog. The latter not only save *all* registers, but also take care of...
Hi! Thanks for your answer, it has been very helpful, and off course, thanks for creating and maintaining this great software! I explain (just for the record,...
This sounds like a cake-walk for an AVR. The triac firing is interrupt driven so it is precise and everything else is a foreground loop. I am sure you will...
Before I reinvent the wheel, anyone have an existing AvrX task for the Polaroid sonar ranger ? ========================================================== Chris...
Actually, I would check the project area of the www.AvrFreaks.net web site as there's bound to be somebody who did it already. You'll only need to AvrXify it a...
Hello, Has anyone already made the changes required to get avrx to compile and execute on the Atmel Mega 88? I am currently working through the issues myself...
There is nothing magical about timer0. Any timer could be used for the system tick. If you are using C, the compiler should take care of the port addressing...
I'm starting to work with AVRX on the ATmega32 and the STK500 development board. I'm using AVRX 2.6e for WinAVR, with the WinAVR-20050214 GCC toolchain, and...
OK, so far, so good. I can send chars with your code. Still no RX chars, BUT... I begin to think I have a bad serial cable or a blown serial port on the PC; I...
Bad serial cable. BAD, BAD serial cable, no more bits for you! (if that weird wire really was a serial cable; I never saw a factory-made 9-pin cable before...
... Cables get you ever time. At least you're not trying to negotiate between three telcos as to who's cable the problem is in. I've been banging my head ...
... You may need to short CTS and RTS together as well. I forget which pin numbers they are at the moment. Jeff Engel Arlington, TX Happiness is - positive...
It looks like the serial code doesn't know about AVRs with more than one UART... For example, on the Mega32, the baud rate registers are UBRR0L, UBRR0H, ...
Indeed, RTS/CTS can cause that precise symptom, and it would fit the observed signs, so it's a good thing to check in the general case, but "flow control =...
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...
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...
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...
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...
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...
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...
... 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. ...
There is no "SIG_UARDT_..." on the mega162. Please review the appropriate header file (iom162.h) to get the right names. Unfortunately, GCC interrupt...
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...