Hi, I've been using AvrX with success for a few weeks, but would like to reserve some low registers for interrupts and key static variables, as it reduces...
Richard, Just so you don't think you were being ignored... I've been on the list for a few years and don't remember anyone doing this. You could search the...
This should work. There are some indexes to grab the return address from the stack - you must have fixed that or nothing would have worked. You need to make...
Thanks Larry and Dean. Yes it seems to work OK, provided you use the -ffixed-regs switches in your AVR studio compiler setup. If anyone else is interested,...
Hi, I'm stuck with a problem, I'm using SIG_INPUT_CAPTURE1 and SIG_OUTPUT_COMPARE1B to decode Raymarine SeaTalk (serial multidrop protocol, much similar to...
Without the #defines, etc. it is hard to say what is going on, but it does seem likely that your index into the buffer might be going over the end by one and...
Thanks, yes that was what I thought, so all buffers where comment out. The strange thing though, now when I've removed the SWITCH case and replaced with...
Dear Sir, Congratulations for your success. Also, I would like to develop a tool for refuelling using the AvrX + AVR Studio 4 with ATMega8535. Unfortunatelly,...
Dear all, Went though some examples and read the manual of Stevech11 (great work), but can not find the solution or misunderstand something. Situation: * 3...
If your display task is only going to read from the Global Variable, then it is unlikely you will need to protect it. Generally you will only need to...
For just a variable, the easiest thing (and most computationally efficient) is to disable interrupts temporarily. Check out the GCC file “util/atomic.h” ...
While trying to port bits of some of my projects into AvrX, I noticed that there seem to be some omissions in the avrx-signal.h file, specifically, the...
Dear all I have done it as Wayne did, on the atmega8535, but the error is: C:\avrx\Examples>make all Compiling: Timers.c avr-gcc -c -mmcu=atmega8535 -I....
Hi all, I have a program that handle keypads, time display (7-segments), LEDs, serial com and LCD using ATMega 128. When I pushed a keypad button, it should...
Is the /SS io pin programmed as an output? From: avrx@yahoogroups.com [mailto:avrx@yahoogroups.com] On Behalf Of Giri Y. Atmaja Sent: Friday, January 30, 2009...
Hello, Our robot club is trying to install Avrx on the microcontroller board, AVR-MT-128 (Olimex). We have a new project called Roboswarm based on this...
We made some progress ! so far we got the string "Type something within 5 seconds" output to our terminal. We had to edit a few things in the source code for ...
We made some more progress tonight, I'm able to enter some text on my keyboard, the testcode then outputs the same exact text back to the terminal. If I don't...
well, after some more reading, I see in AvrxSimpleSerial.c that the handler only buffers 3 characters in the hardware. Still trying to figure out why I can't...
Thanks Larry for the reply. Yup, I set the /SS pin as an output. But anyway I've solved the problem. It's because of the optimization. When I change the...
Hi, There is a simple solution for the optimalisation fun in combination with while loops define a nop #define nop() __asm__ __volatile__ ("nop" ::) And in...
Sounds like you have a variable shared between an interrupt handler and your main code. The main code doesn’t realize that the variable can change abruptly...
All control registers should be declared volatile. If this one isn’t that is a bug in the chip header file (avr/io.h…) I use the code, below, without the...
I'm still trying to figure out why I can't use AvrxDelay function but I can use _delay_ms I also tested both Timers 0 and 2 with a diagnostic I wrote to...
Dan, You should be able to debug this in the simulator without too much trouble. Set the delay to 1 or 2 so you don't need to wait for too many interrupts...
If you are using _delay_ms() from avr-libc's #include <util/delay.h>, then you are not using a timer. avr-libc's _delay_ms() uses a code loop that calculates...
Shane, My code hasn't had signal.h in a long time either, I'm just trying to run the demos as delivered. I had updated to 2.6g and avrx_signal.h asks for...