Mr Barello: Thank you. I have found the reaseon.The code was broken in the Serialio.S file .Beacaues the name of the UART interrupt Vector was different ...
Hi all, I have succesfully ported AVRX on to atmega64. It was very interesting. We have designed a Handheld device with LCD(graphics), and a keyboard...
I have a bunch of projects using AVRX on an ATMEGA64. Usually about 5 or 6 tasks. It works wonderfully, and there's plenty of internal RAM for both the OS and...
Hi, I am using the latest distribution of WinAVR and AvrX 2.6f for GCC. The problem I am having is that when I set the ADC up for single conversion mode and...
The pragma is for the IAR compiler. GCC ignores it. I have used ADC single conversion w/interrupts quite a bit (although more typically as a background...
Hi, I have tried to simplify my code as much as possible to identify the problem and still have no luck. My user code now consists of the bare minimum: a main...
... Code looks good to me. Have you tried commenting out the sleep enable line of code? Also, are you sure you have ATmega32 set in the makefile, as other...
This is a very bizarre problem but it does not look like the problem is with AVRx. When the sleep instruction is executed in IdleTask with the ADC enabled, an...
Ok, I have tried enabling the sleep mode in another simple program (in C) that doesn't use AvrX. Still had the same problem, so it's not an AvrX specific...
Look at page 31 of the mega32 data sheet. Read the paragraph titled "Idle Mode". ADC conversions starts upon entry into IDLE mode. I didn't know about this...
... Scary stuff! I wonder what the reasoning behind that was? I can understand an ADC conversion being started when going into ADC noise reduction mode, but...
Well spotted Larry, as Brian says... I wonder why this is. Anyway, since power consumption is not an issue here I can leave without the sleep mode, although I ...
I don't think this is a big deal. Turn off the interrupt flag (mask) after reading the ADC so you don't respond to the next conversion. I am pretty sure that...
Dear all, I'm a newbie to AvrX. I have some questions regarding AvrX. 1. In defining a task we should write: AVRX_TASKDEF(myTask, 10, 3) what the number 10 & 3...
... From: Giri Yagit Atmaja To: avrx@yahoogroups.com Sent: Tuesday, October 11, 2005 2:24 AM Subject: [avrx] avrx inquiry Dear all, I'm a newbie to AvrX. I...
I'm fairly new to AVRX myself, but here's what I know about these questions. Of course, you've already read up at www.barello.net/avrx and www.avrfreaks.net. ...
Hi, i tried to add some code to the AVRX timer routine. This code was for decoding a digiswitch. Without my code the software runs fine (two tasks are writing...
Hi, thanks for the fast answer, but that still does not work. I have to look deeper into the AVRx code... Usually gcc should take care about the register...
The problem occurs if one or both of the lines enc_last += i; enc_delta += (i & 2) - 1; are in the code. This code lines are special because enc_last is a...
... Normally, GCC would save the registers used in the interrupt handler, however, AvrX needs to save all the registers as it may need to switch tasks on exit...
Hi Brian, ... I don't think so at the moment. After hours searching the problem i am now simulating with AVR Studio R4.12. With hardware tests i found by...
... Ah, but Epilog() will switch back to user mode. The 0x10fx range address you're seeing will be the kernel stack. Calling Epilog() will switch the stack...
Hi Brian, thank you very much for your answer. I spend another ... But i learned a lot about the processor and the tools. Because i need to come to some result...
What you have done is essentially pushed all registers onto the stack (SIGNAL()) then pushed them again when you call IntProlog(). That is a large burden for...
I get the feeling reading this list that some people want Larry to do most of their work for them. Since Larry has already gone through the effort to provide...
... This makes me wonder. You did move the Intprolog to the beginning of the interrupt handler, as Larry suggested earlier, I take it? So that the code would...
BTW, I'm not singling any one out on this, and I don't speak for Larry. I mean these comments constructively, and not as a slam against anyone. -brian ...
Thank you Larry and Brian L. very much for your support. I would like to close this now. I have it running very stable, added already a lot of code without...
Hello, trying my first steps with avrx - and almost going crazy: Compiling avrx works like a charm, but: cd ../TestCases gmake 'shouts' me: richard(rfk)...