Page 1 of 1

Need help with software

Posted: Tue Nov 30, 2010 1:20 pm
by adii.shamz
EB019......i have installed AVR studio and installed the drivers for it also but now when i open my software it say:

gcc plug-in: No WinAVR installation found. The AVR GCC plug-in can still be used if you set up your own build tools.

but if i ignore this warning and continue to check if my test program works fine. it gives the following error.

Getting isp parameter.. SD=0x03 .. OKOK
Reading FLASH input file.. OK
Setting mode and device parameters.. OK!
Entering programming mode.. OK!
Erasing device.. OK!
Programming FLASH .. OK!
Reading FLASH .. OK!
WARNING: FLASH byte address 0x0100 is 0xFF (should be 0x68).. FAILED!
Leaving programming mode.. OK!

Re: Need help with software

Posted: Wed Dec 08, 2010 11:05 pm
by adii.shamz
is there anyone who can help me about this problem please??????????????????????

Re: Need help with software

Posted: Thu Dec 09, 2010 9:27 am
by Benj
Hello,

Did you purchase a course or any software or did you simply purchase the EB019 E-block?

WINAVR is a free download and can be found here.
http://winavr.sourceforge.net/

I have had similar programming problems using an AVR device that had its configuration set to divide the clock frequency by 8. This made the ISP run too fast to program it and it usually bailed out with the error you are seeing. Try disabling the divide by 8 configuration using AVR studio and see if this helps.

If it does not then you may want to try another AVR device.

Re: Need help with software

Posted: Thu Dec 09, 2010 9:57 am
by Sean
Hello,

WinAVR is not part of AVR Studio, so it must be installed separately. AVR Studio then needs to locate WinAVR so it can be used as an external tool.

To make sure AVR Studio has located WinAVR, the path can be located in the following menu:

Project -> Configuration options -> Project options -> Custom Options -- External tools.

The check box 'Use WinAVR' should be present and checked.

The paths should be appropriate for the WinAVR installation on your PC

Examples for a standard installation:

avr-gcc: C:\WinAVR-20090313\bin\avr-gcc.exe
make: C:\WinAVR-20090313\utils\bin\make.exe

If these are correct, but compilation still fails, please let us know the version of Windows you are using, and any other installation information that might be relevant.