views:

301

answers:

7

i have recently purchased an AVR USB programmer from robokits.co.in, was trying to program atmeg8 using AVR studio4 and i get the following when i click on the program options:

a problem occurred when executing the command. make sure u are using the correct programming method. current mode is ISP verify that the device is placed in the correct socket, and that the ISP cable is connected properly.check that the programming frequency specified in the main page is well below 1/4th of the clock frequency of the device.

i have tried all that i could think of, i have checked the connections and the freq is below 1/4th of the device.

but that doesn't solve this problem

i have made the circuit for blinking LEDs program

please help me out

see the image for details thanking you

A: 

Double check that the jumpers on the programming board that you are using (if you are) are set correctly.

mdec
A: 

yes the jumpers are set right, the USB HID and the slow SCK jumper removed. i get the same errors for all combos of the jumper

A: 
PersistenceOfVision
A: 

hi the target is fresh i.e never programmed, i haven't tried any other MC, i have bought the programmer only few days ago. the programmer has its power supply from the USB, i have tried to connecting a 5v supply in the external supply mode but this does not solve the problem. the circuit rigged up is from: http://www.micahcarrick.com/02-24-2006/avr-toggle-led-test-program-for-avrusb500.html i am using the C program from this site.

shubhang
A: 

Well this is hardly the venue to trouble shoot different hardware issues.

So if you think there is an issue with the programmer, contact www.robokits.com. I would start with contacting robokits.

Since you can't even enter the programming mode, you can ignore your source code. You should be able to verify fuses/lock bits w/o programming any code into the Mega8.

To give you a head start before you contact robokits:

1. Verify the programmer is properly installed on your computer following robokits instructions.

2. Verify the +5Vdc on Pins 20 & 7 of the Mega8

3. Verify Pins 22 & 8 are grounded properly.

4. Verify that Pin 1 is pulled up to +5Vdc (when the programmer is not connected)
Pin 1 should be pulled down by the programmer when it attempts to connect to the Mega8

5. Double check all the connections between the programmer to your target. Since the programmer is a 10 pin IDC and the test circuit has an in-line style connector you must have an IDC cable that has been broken out, stripped and connected to the test circuit.

PersistenceOfVision
A: 

i have already contacted robokits, they say: that either connections to your target device is not proper or the connector is pulled hence damaged or you have given wrong supply to your programmer hence programmer is damaged.

Please check continuity from avr programmer to avr pins with multimeter. If it is correct you can send the programmer back to us. If it is faulty from our side we will ship it back to you without any charges.

also please note this is a 6 pin header not 10

shubhang
A: 

I am facing a similar problem. Did your problem get sorted after that?