Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ATmega644 DIY programmer and software with fuses setting needed.

Status
Not open for further replies.

neazoi

Advanced Member level 6
Advanced Member level 6
Joined
Jan 5, 2008
Messages
4,157
Helped
13
Reputation
26
Reaction score
15
Trophy points
1,318
Location
Greece
www.microwave.gr
Activity points
37,198
Hello, I need to make a project **broken link removed** and I need to make a simple programmer for the ATmega644. Also some software that can be able to set the fuses prior to programming.

The ponyprog can do that but the ATmega644 is not on the supported devices list.
Any ideas?
 


  • Like
Reactions: neazoi

    neazoi

    Points: 2
    Helpful Answer Positive Rating
Yes, simple programmator circuit works like charm.


Best regards,
Peter

I made it, it does not work at first. The ponyprog message is Device missing or unknown device (-24)
I have connected the output pins to the relevant pins on the micro including the vcc and gnd. then I apply power to the micro.
Note, I am trying to program the chip without taking it out of the board. My circuit is this http://www.jcwolfram.de/projekte/avr/chipbasic2/hard.php (the first picture)

PS, during experimentation I accidentally connected 9v instead 5v to the micro and the 2 external eeproms. Have I burned it out?
 
Last edited:

I made it, it does not work at first. The ponyprog message is Device missing or unknown device (-24)
I have connected the output pins to the relevant pins on the micro including the vcc and gnd. then I apply power to the micro.
Note, I am trying to program the chip without taking it out of the board. My circuit is this http://www.jcwolfram.de/projekte/avr/chipbasic2/hard.php (the first picture)

PS, during experimentation I accidentally connected 9v instead 5v to the micro and the 2 external eeproms. Have I burned it out?

Programmer support in-circuit programming.

Supplying 9V to uC and eeproms are not good at all. How long you supply 9V to these parts?



Best regards,
Peter
 
  • Like
Reactions: neazoi

    neazoi

    Points: 2
    Helpful Answer Positive Rating
Programmer support in-circuit programming.

Supplying 9V to uC and eeproms are not good at all. How long you supply 9V to these parts?



Best regards,
Peter

For 1-2 minutes max only the micro was a little bit hot but not too much.
I do not know why the programmer does not seem to work
 

Did you power PCB with external power source?

uC should receive 5V from programmer.

There is possibility if you longer expose uC to 9V that uC is damaged.



Best regards,
Peter
 
  • Like
Reactions: neazoi

    neazoi

    Points: 2
    Helpful Answer Positive Rating
Did you power PCB with external power source?

uC should receive 5V from programmer.

There is possibility if you longer expose uC to 9V that uC is damaged.
Best regards,
Peter
I connected an external 5v psu to the microcontroller PCB and then I "took" this 5 v and connected it in the ICSP connector of the programmer as well (It is connected internally in my PCB to the ICSP anyway)
 

Try without external powering of PCB, only use ICSP connector.

uC will receive 5V from programmer.

Also check transistor pins orientation.



Best regards,
Peter
 
  • Like
Reactions: neazoi

    neazoi

    Points: 2
    Helpful Answer Positive Rating
Try without external powering of PCB, only use ICSP connector.

uC will receive 5V from programmer.
Also check transistor pins orientation.
Best regards,
Peter

5V of the PCU PCB connects directly to the 5v on the ICSP (which inturn connects to the 5V on the programmer)
I have also tried to remove the MCU from it's PCB and connect the pins directly (with external supply). Nothing.
Is there any case that some BC547 have different pinout from others?
 

BC547 pinsout:

**broken link removed**


You can also use any other similar transistor for this purpose.


Best regards,
Peter

- - - Updated - - -

What PC you using for this, laptop ?
 
  • Like
Reactions: neazoi

    neazoi

    Points: 2
    Helpful Answer Positive Rating
BC547 pinsout:

**broken link removed**


You can also use any other similar transistor for this purpose.


Best regards,
Peter

- - - Updated - - -

What PC you using for this, laptop ?

I have tried both, laptop and desktop, with XP. I will recheck the connections when the new micro comes.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top