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.

Help : Firmware into Usbasp ( AVR Programmer) !!

Status
Not open for further replies.
You have to use an AVR programmer to build the USB programmer.

You can find many programmers in the Internet, a simple one is this
AVR Programmer

Alex

it necessary to set the fuse bits for the above programmer are it will set by itself ( ponyprog serial icsp programmer)
 

The fuses are set individually from the flash program , you have to select the appropriate fuse settings in the ponyprog dialog and write them
 

how to set the fuse settings in ponyprog, it depends on what the crystal used are any other.
 

If you open the readme file included in USBasp archive ( https://www.fischl.de/usbasp/ ) you will find
Firmware:
Flash "bin/firmware/usbasp.atmega88.xxxx-xx-xx.hex" or
"bin/firmware/usbasp.atmega8.xxxx-xx-xx.hex" to the used controller with a
working programmer (e.g. with avrdude, uisp, ...). Set jumper J2 to activate
USBasp firmware update function.
You have to change the fuse bits for external crystal (see "make fuses").
# TARGET=atmega8 HFUSE=0xc9 LFUSE=0xef
# TARGET=atmega48 HFUSE=0xdd LFUSE=0xff
# TARGET=atmega88 HFUSE=0xdd LFUSE=0xff

You can either enter these values to ponyprog or convert them to individual fuse setting using a calculator like https://www.engbedded.com/fusecalc
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top