Sorry, but I checked it in the debugger and the watchdog is disabled and for security I but the command "wdt_disable()" into the main code. Do you have an...
Salaam All i am new in AVR and AVRX. i want to configure the avrx2.6 with WinAVR-20060421 (with AVR Studio 4). how can i do this??? please Help thanks alot to...
Hi Larry, Do you know how I should access the message queue appropriately with critical section? I have the following code to access it It seems that it cannot...
Larry, Are you sure to use "tmp0" to save SREG ?. It seems to me that "tmp0" is allready used in this function. Isn't it better to use "tmp2"? Rody. ... Van:...
tmp0 is used briefly to store SREG before pushing that value onto the stack. It is used again, briefly, to hold the popped value before storing it into SREG...
Hi All I'm new in AVR and AVRX. I cann't compile the examples comes with the avrx2.6 with the WinAVR-20060421 (with AVR Studio 4). I tried many times but...
Hello everyone, I am a Chinese student and sorry my English is poor :) I got an error with the serialio.s when compliling the kernel. The error massage are : ...
Hello, I just started to work with AvrX2.6g for our embedded PowerPC project, where an ATmega168 will do some Power Management and System Monitor functions. I...
serialio.S is a very old assembly file used only with the debug monitor. Because it was written in the days of the "classic" avr and the GCC assembler has...
Hello AvrX Friends, I have damaged two MAVRIC-IIB boards (Atmega128) in 7 months... Initially I thought that I damaged the MCU because I was trying to load a...
Unfortunately you're not alone. When I first started with the AVR mega103 I lost like 3 chips that way. It seems noise/glitches on the ISP lines change the...
The most common error that “kills” a processor is corrupting the fuse bits and selecting an external clock. Now the processor is dead from both an ISP and...
Yeah, I forgot that. The external clock trick worked for me once or twice but the other cases weren't. A jtag is a great thing to have. Any particular model to...
No, I have never used a clone unit, although I have hacked & fixed my Atmel unit several times :-) You might find some reviews at Avr Freaks. There are...
I have used the 128 a fair amount this year and hae experienced many problems in corrupting fuse bits. I have also had some problems where if the power comes...
I use AVRDUDE and the parallel port dongle from Sparkfun http://www.sparkfun.com/commerce/product_info.php?products_id=13 It is absolutely certain that the...
I use the STK500 with AvrDude and Astudio and JTAG with Astudio and have never had an issue with trashing the fuse bits (other than fat-fingering the dialog or...
Hello all, I had problem when compiling the kernel in Linux, the xterm out messages are: **********************************************************************...
Thank you for all your advices, I have tried to use JTAG and serial ISP to program again the (Mavric-IIB board) Atmega128 without success. Normally I use JTAG...
If your version of avr-gcc is installed properly, it will already know where avr/io.h is located. From the GCC manual section 2.3 Search Path, GCC will look...
Hi, ... So here we can see that the -I/usr/local/atmel/include is being passed into avr-gcc. ... Here I don't see the -I option ... I see this: CFLAGS +=...
A simple relaxation oscillator can be made with an Schmitt inverter (74hc14, for example) a resister and capacitor. Or, if you are in some sort of electronics...
Hi Richard, thanks for your answer. I try to remove the "EXTRAINCDIRS = /usr/local/atmel/include" line from Makefile, but then it doesn't work. so, how to make...
I have seen this exact problem when the wrong CPU chip is selected in the ISP software drop down menu. Fuses are all screwed up (or look that way) too. Easy...
... I don't see anything wrong with the instructions but the 'prefix' is what controls where GCC looks for things. The 2004 update may be useful as it is at...