Hi, I've updated my project to your version of AvrX and it works normally, as good as with Larrys code. What, exactly, was your problems you notified? ...
Brian, I tried to compile your AVRx in C with BasicTest1 and I get the following errors: Build started 3.5.2008 at 19:20:06 avr-gcc.exe -mmcu=atmega128 -Wall...
... Are you compiling from within AVR Studio? If so, I think this is getting the Makefile from somewhere other than the one I put in the zip file. When I...
Brian, you are correct, I forgot that AVRStudio creates its own makefile. After selecting "use external makefile" it build correctly. Thank you for the help...
Task A does AvrXSetSemaphore(&s) and the semaphore becomes SEM_DONE Later if Task A does AvrXTestSemaphore(&s) the semaphore becomes SEM_PEND (SEM_DONE is...
Hi all, I'm in the middle of writing a menu system for a mobile robot. I already use a handful of AvrX tasks on the robot. I would like to have a menu...
Hello, my name is gaurav and I´m new in this group! I have a problem with tht compiling of the AvrX 2.6e modified to ATmega16. That is my error when I want to...
Hello friends! I am working with the AvrX 2.6f on Atmega128 microcontroller. I am doing a Rs485 comunication with one PC sending the information that I gather...
Can you run your software on a simulator? Do you have a JTAG system you can connect to your ATmega? A program dying after a long time is usually a stack size...
Thank you Dean!! Yes, I was using malloc for my messages because I do not know how long they are. I will use a static memory instead. So, I can not use malloc,...
In embedded systems, using malloc() can be hazardous if you do not know exactly what it is doing. So it is usually better to use static memory. Since you were...
Hello, I'm just new to AVRX and have a question. I read, that it is possible to configure AVRX e.g. without the timer management and the debug support. So the...
Avrx is built as a library so only those functions you use are included. The debugging support is minimal but can be removed by changing a #define and...
Hello Larry, the chief himself ;-) Thanks for your answer. hmmm... what should I say, if I use my brain a little bit more, then I can give the answer to...
Hello Larry, I'm impressed, I start the examples on a atmega8515 and it works. Very nice. Only still my question up to now, what I have to do to port the AVRX...
... You're having two problems: 1) things in the Mega324 use extended I/O which means that in/out do not work on some registers where they used to (say, on the...
... These things are clear to me. I now about that problem. The error message is due to the unknown register TCCR0A is in the address range where in/out are...
Hello, I try to test the AVRX at the first time. Now I see something strange. I try to run the BasicTests (delivered with AVRX) on a ATMEGA16. All tests are...
Hello friends! I have a newbie problem I think. If I make a project without using the AvrX, the Avr Studio can debug properly the code on my Atmega128. But If...
... Thank you Robert for help. At the moment I found all the things to change I hope :-) But I got a error when try to test the programs BasicTest*.c in...
Hello together, The following code shall measure the time, but unfortunately, using the AVRxTimer, the time seems running too fast. Can somebody point me to...
You can't get 1000 hz with your code, below. Do the math, your reload value is a fraction... You need to pick a different tick rate, or, change how you use...
Thank you, changing to a non-fraction value helped, took 1250 for TICKRATE. Nice weekend! And really nice work creating AVRx! ... reload value ... how you...
Timers are specified in ticks, not milliseconds... ... From: avrx@yahoogroups.com [mailto:avrx@yahoogroups.com] On Behalf Of punanipirat Sent: Saturday, June...
I learned that meanwhilst ;) I used 10(!ms ticks) and that worked, because i get an error when lets say setting TICKRATE to 1250 and serving timers with 125...
If the timer interrupt is set up properly, Avrx maintains perfect timing. Your problem is somewhere else. Either you are missing ticks or your crystal isn't...