Need help with software

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
adii.shamz
Posts: 2
Joined: Mon Nov 22, 2010 11:20 am

Need help with software

Post 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!

adii.shamz
Posts: 2
Joined: Mon Nov 22, 2010 11:20 am

Re: Need help with software

Post by adii.shamz »

is there anyone who can help me about this problem please??????????????????????

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Need help with software

Post 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.

Sean
Valued Contributor
Valued Contributor
Posts: 548
Joined: Tue Jun 26, 2007 11:23 am
Has thanked: 6 times
Been thanked: 44 times

Re: Need help with software

Post 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.

Post Reply