my programmer can't burn program to mcu

Go To Last Post
11 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi i have built an avr programmer according to the circuit diagram of fischl. i have installed the corresponding driver. now my device is displayed on the device manager as Libusb win 32 device. under this usbasp is shown. but i can't program atmega 32 ,or atmega 8 with this . i didn't connected slw_sck in my pcb. i have also didn't use Tx Rx gnd pin of the pcb. the pcb is shown in picture.

should i connect that slw_sck. i have bought similar programmer where i found that slw_sck is sorted with a wire. should i use that? or do what ? pls help

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

when i read microcontroller in extreme burner, it says found usbasp on port . but can't burn program. i have checked circuit several times sck ,mosi, miso, reset and ground pin but result is same.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You could use avrdude without hex file, and with the -vvv option.

Have you tried a 'real' USBasp programmer on your computer, to be sure that it is possible.

Did you also set the fuses the same as the USBasp programmer?

How did you program your programmer, and did you remove the jumper for programming it afterwards?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ya i tried real usbasp programmer and it has slw_sck sorted alltime. i set the low fuse as 0xEF,high fuse 0xC9 for atmega 8A microcontroller.
i didn't connect the jumper. i have programmed without the jumper and the jumper is still unconnected. i have programmed programmer with another programmer

Quote:

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So far so good I think.

The jumper for "slow SCK clock" is not needed most of the times for newer chips. The ATmega8 and ATmega32 are older chips, so you could set it.

In the official fischl.de schematic, to program the programmer, a jumper JP2 (self programming) should be used, and that jumper must be removed to be able to use it as an USBasp programmer. I wander how you programmed it.

Check all connections careful once more. Are your zener diodes soldered the other way around ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

YAAAAAHHHHHHHHOOOOOOOOOO IT WORKED FINE .. I HAVE SORTED THE SLW_SCK AND IT WORKED SIMPLY AWESOME........ I AM SO HAPPPPPPYYYYYYY........

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm glad to hear that.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

tnx kun :D

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

shahin MUnsi wrote:
I uses 16MHz oscillator

Are you referring to a "crystal oscillator"? I.e. something with two legs looking like this:

 

 

If so, do you have proper load capacitors in place?

 

Can you show a circuit schematic, detailing the clock section?

 


 

Are you absolutely sure you changed the fuses to H,L: 0xC9, 0xFF ?

 

Reason for asking is that if you accidentally changed to something else you might have set "external clock" (rather than "external crystal osillator"), and then the AVR needs an actual clean square wave as a clock.

 


 

Remedy for most "locked out" AVR cases is to inject a clean square wave on the clock pin. There is a tutorial here on AVRfreaks with the details. Look in the Tutorials section for something by user 'clawson' mentioning "locked out" or similar.

 



EDIT: Madness! The post I responded to has disappeared.

 

 

EDIT: Nope, it was split-moved. I have little (=no) power to sort the mess out. [shrugs,goes "whatever.." and moves on to other stuff..]

Happy 75th anniversary to one of the best movies ever made! Rick Blane [Bogart]: "Of all the gin joints, in all the towns, in all the world, she walks into mine."

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

Last Edited: Thu. Sep 28, 2017 - 12:28 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sorry Johan. I split that post off the unrelated 5 year old thread while you were typing and unfortunately there isn't a working "graft onto" feature that I can use to remedy the situation.

 

Ross

 

Ross McKenzie ValuSoft Melbourne Australia

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

New thread is here: http://www.avrfreaks.net/forum/s...