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.

Best way to program a atmega

Status
Not open for further replies.

jemazter

Newbie level 4
Newbie level 4
Joined
Sep 14, 2013
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
40

So, i start developing a atmega64 board, and i want to know the best way to program it?

I was think to use one of those: https://www.hobbyking.com/hobbyking/store/__21321__usbasp_avr_programming_device_for_atmel_proccessors.html
Will it work? Does that kind of programmer works with Ponyprog?

Is USB-TTL cable better for this aplication?

Thanks


Can you define "best way" ?

You can use USBasp or any other programmer suitable for this uC, or as additional solution you can use bootloader.

With USBasp you can use :

AVRDUDE supports USBasp since version 5.2.
BASCOM-AVR supports USBasp since version 1.11.9.6.
Khazama AVR Programmer is a Windows XP/Vista GUI application for USBasp and avrdude.
eXtreme Burner - AVR is a Windows GUI Software for USBasp based USB AVR programmers.


USBasp project page
https://www.fischl.de/usbasp/



Best regards,
Peter
 
Can you define "best way" ?

You can use USBasp or any other programmer suitable for this uC, or as additional solution you can use bootloader.

With USBasp you can use :

AVRDUDE supports USBasp since version 5.2.
BASCOM-AVR supports USBasp since version 1.11.9.6.
Khazama AVR Programmer is a Windows XP/Vista GUI application for USBasp and avrdude.
eXtreme Burner - AVR is a Windows GUI Software for USBasp based USB AVR programmers.


USBasp project page
https://www.fischl.de/usbasp/



Best regards,
Peter

Thanks Peter, i downloaded the extreme burner and it look like a good software. When i said "best way" i was meaning "easy way".

Now i only have to finish the layout for my board, and play with it.
 

Thanks Peter, i downloaded the extreme burner and it look like a good software. When i said "best way" i was meaning "easy way".

Now i only have to finish the layout for my board, and play with it.


Easy way give new light on this, you can see this programmer AVR ISP programmer you need only few parts, serial port and PonyProg software:

AVR Serial Port Programmer

https://www.circuitvalley.com/2011/04/avr-serial-port-programmer.html

Schematic.png


Untitled-3.png



There is one additional also simplified version of AVR programmer which use one IC (74HC244) and LPT port. If you need that say, but first simple version will do the job.



Best regards,
Peter
 

Hi

My 2 cents. It is good to start with self made programmer, but if you going to use Atmel AVR for long (as most get addicted to it), please invest in a good programmer. There is a good reason to it. When programming devices a lot of data is transfered and the data lines switch rapidly generating spikes. The Atmel programmers have schottky protection diodes on all lines minimising these spikes.

This is what I copied from the specs of AVRISP mkII

•Target interface protection
•Short-circuit protection

I am having a functional home made programmer for many years (I do use it sometimes). It has all protection using normal diodes but still I have purchased AVRISP mkII just to be sure.

AVRISP.jpg


Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top