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...
Hi Larry, I think i identified the problem, structure was like: while 1{ StartTimer x Waittimer x myCode... } As myCode takes a considerable amount of runtime,...
Hi, I encoutered that problem today as well, trying to get thing goiing in avrstudio/winavr. I solved it bij changing line 148: UBBR was filled with the low...
There is a serial io and buffer example for Avrx that is written in C. I would strongly encourage you to dump the assembly version... If you don't want to...
... Thanks for your reply! I had no success with simulating AvrX but I got it to run on the development board and the real hardware and everything works fine...
Ladies and Gents, I'm new to AVR-X, but I've been tinkering with AVRs for many years. I'm now looking atusing AVR-X on my next project to help keep thing...
There are only the 2 versions (GCC and IAR). Although, this gent implemented AvrX in C: http://www.foleysystems.co.uk/avrx.html so that might run in your...
Paul, a few years ago I had the same question has I had been using CodeVision since the first version. I don't remember if it was for AVRX or another RTOS but...
Hello, so first sorry for my english :). I have a problem with a task, that used a infinity loop like while(1) or for(;;). The problem is that only this task...
One important thing i realized a few minutes ago is that the task don't switch if the have a while(1) loop like this: AVRX_GCC_TASKDEF(Led, 8, 2) { unsigned...
Hi, ... What is the priority of the LED task? What you are trying to do does work - I use the same method in my own systems. But clearly you are not doing...
"But clearly you are not doing something right" I agree :) So it works when i use AvrXYield() in the inner while(1) loop. The task re-queued behind the next....