Questions tagged [usbasp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
71 views

How to program an ATmega328p using a USBasp programmer?

I'm learning to program an atmega328p using a usbasp programmer. I'm using this datasheet, page 2, PDIP pin configuration. The usbasp programmer I'm using is this. The armega328p chip I am using is ...
kovac's user avatar
  • 357
0 votes
1 answer
69 views

Problems getting USBasp to connect with ATMEGA16 / ATMEGA32 Development board and PC in order to flash a bios chip

AVR ATMEGA16 Minimum System Board ATmega32 Development Board + USB ISP USBasp Programmer ISP ATTiny 51 Board and PLCC32 to DIP32 EZ Programmer Adapter Socket Hi all, Very very new to all this... I ...
randompunk's user avatar
1 vote
0 answers
132 views

avrdude OS error: file not readable invalid argument

I decided to get into the world of "naked" microcontrollers (started with Arduino), found an ATtiny 85 among my parts and an USBasp and decided to first make a blink sketch. Did everything ...
Post Fah's user avatar
0 votes
0 answers
61 views

ATmega8 answers and is programmed, but the program doesn't work

I'm having trouble with ATmega8 programming. I'm using the USBasp programmer and the PlatformIO IDE and everything goes smoothly, AVRDUDE doesn't show any errors, but the program doesn't work on the ...
Einaudi's user avatar
2 votes
2 answers
340 views

How to do a factory-reset on an AVR micro-controller?

I'm programming an ATmega32 chip, and have set some bits as 1 in some DDRs and PORTs. In case I forget what bits I had set to 1, is there a way to set all the register bits to a value(1 or 0) that was ...
Somanna's user avatar
  • 317
1 vote
1 answer
106 views

Why does AVRDUDE require part ID as an input parameter when it detects the device signature by itself?

When I type the following in terminal avrdude -p m32 -c usbasp I get the following as output ...
Somanna's user avatar
  • 317
2 votes
1 answer
227 views

Unbrick my ATmega 8

It looks like I've bricked my chip (ATMEGA8-16PU) by setting the WTDON fuse and flashing an empty loop as the main program. I suspect that the chip constantly goes into reboot every ~60 ms, which is ...
user324050's user avatar
0 votes
0 answers
27 views

What are the steps to program an ATmega8 using only USBasp and breadboard? [duplicate]

Sorry to ask this again but this one post seems not to answer my question as I'm literally a complete beginner on programming microcontroller. Power on failed; cannot communicate with target chip ...
MathematicsBeginner's user avatar
1 vote
3 answers
802 views

Power on failed; cannot communicate with target chip error eXtreme Burner

I checked Electronics Stackexchange and other sources, but I can't figure out what's wrong with my set-up. Some say that I need to check my connections, which I've done many times, checking all the ...
MathematicsBeginner's user avatar
0 votes
1 answer
78 views

GBoard SIM900 and Usbasp - power supply issue

I bought Gboard module with Atmega328P inside: https://wiki.iteadstudio.com/Gboard I don't want to use Arduino at all. I just want to upload my own code into Atmega328P and make a phone calls without ...
sticker's user avatar
0 votes
2 answers
95 views

Isp reprogramming of Attiny167 MCU while soldered in a circuit is possible?

Is it possible to re-program a soldered attiny167 on a pcb, by using isp, when one of the pins needed (MISO) has a 10K resistor pulled to ground, and the RESET pin is pulled HIGH with a 10K resistor ...
Rodrigo's user avatar
  • 469
0 votes
1 answer
119 views

Controlling AVR reset via voltage divider

I have an AVR atmega32u4 which is being run on 3.3v. I program it using a avr usbisp, which runs at 5v.. The problem i'm having is driving the reset pin.. I currently have this schematic where ...
Rando Hinn's user avatar
1 vote
0 answers
70 views

Fischi.de/usbasp programmer

I have constructed the usbasp programmer that is described on the https://www.fischl.de/usbasp/ website. I uploaded the firmware to the atmega8 using an arduino uno and avrdudess I set the hfuse to ...
John's user avatar
  • 11
0 votes
1 answer
709 views

Why did my Atmega328p chips stop working?

I am fairly new to embedded programming. I bought some Atmega328P U chips (not Atmega328P-PU). I have two Arduino boards and the chips worked just fine, and were letting me upload sketches. One of ...
J J's user avatar
  • 17
0 votes
2 answers
53 views

What is IDC connector pitch on a USBAsp?

I am planning to use a USBASP programmer to program one of my boards, and I want to use a fitting receptacle on my board. I fail to find the exact pitch that the USBAsp's IDC connector has (as I ...
Anthropomorphous Dodecahedron's user avatar
5 votes
4 answers
128k views

AVRDUDE does not recognize USBasp device

I'm am having issues with my USBasp programmer (Windows 10). I installed the WinUSB driver using zadig 2.4. When I run AVR dude with the following parameters ...
bas's user avatar
  • 541
0 votes
1 answer
1k views

Slow clock speed with Atmega328P AVR microcontroller on breadboard

I have a small breadboard with an Atmega328p 28 pin microcontroller with a 16 MHz crystal and two 20 pF capacitors on it (similar to this demo: https://www.arduino.cc/en/Tutorial/ArduinoToBreadboard). ...
C. Dunn's user avatar
2 votes
4 answers
21k views

avrdude: error: program enable: target doesn't answer. 1

Before I can program my ATmega32 through USBasp but now only in 30 times or more try I can program ATmega32. I get this error ...
user3865434's user avatar
1 vote
2 answers
424 views

Estimating the frequency at which your microcontroller is running

I have recently started programming an ATtiny85 microcontroller, which as per the datasheet runs at 10Mhz given 3v3 supply. So, to experiment, I have created a small program, as shown below. ...
C--'s user avatar
  • 691
-1 votes
1 answer
278 views

Downloading program onto Atmega 16 using USBASP

I am trying to download program from laptop to my Atmega16. For this purpose I am using USBASP. The link for the USBASP is: https://robu.in/product/usbasp-avr-programming-device-for-atmel-...
Shrishailan Srinidhi's user avatar
0 votes
1 answer
1k views

Can not flash ATmega328p with USBasp

My USBasp was working fine. I could burn a program to the ATmega328p. But last night I wanted to change the clockspeed using clock_prescale_set(clock_div_t x). ...
Zarzisur's user avatar
  • 102
0 votes
2 answers
5k views

usbasp with avrdude: error: program enable: target doesn't answer. 1

I purchased a "usbasp" programmer from AliExpress for use with my ATtiny84A AVR devices. This has the text "USBASP V2.0 LC Technology" screenprinted on the top of the PCB, and it looks very much like ...
davidA's user avatar
  • 101
1 vote
5 answers
553 views

Programming a AVR in TQFP package

So I got an ATmega328P in a 32 pin TQFP package, along with the breakout board shown. I have connected the pins in accordance with the datasheet. I added the decoupling capacitors after searching ...
hacker804's user avatar
  • 602
1 vote
2 answers
917 views

ARM Cortex M4f microcontroller on a breadboard

I recently bought an ARM based microcontroller from Texas Instruments (MSP432P401R). However I found out too late that it is not a in a Dual In-line Package and so I cannot use it on a breadboard. ...
Ris97's user avatar
  • 121
0 votes
1 answer
1k views

Trying to flash Atmega-328P with a zhifengsoft USBASP

I'm trying to flash Atmega-328P using avrdude. I've written a custom config for my USBASP to be recognised. ...
user avatar
1 vote
1 answer
238 views

USBasp programmer first firmware

I am building an evaluation board for ATmega32, I am designing an embedded USBasp programmer (The programmer will be also in the board and they will be a micro-usb header to connect the board to PC). ...
A. Kier's user avatar
  • 77
0 votes
1 answer
463 views

USBasp Difficulties

I am new to the USBasp. I am trying to program a Mega1284. I have a cheap Chinese one, it is recognized in XP as well as win7. I made a board with a ZIF socket, 10 MHz xtal, 22p cap, 10k pullup on ...
carpboy's user avatar
  • 51
0 votes
1 answer
210 views

Can I plug USBasp to an outlet via cellphone charger adapter and therefore power my standalone ATmega328p?

I wanted to power my circuit (ATmega, 2 LEDs and crystal) but I do not really want to use batteries. Can I just plug USBasp into cellphone charger (5V - 1A) and then with plugged USBasp power my ...
Adrian Dąbek's user avatar
0 votes
1 answer
950 views

how to reset atmega16a fuse bits?

I am using usbasp with atmega16a. I try to use external crystal 16MHZ with 22p capacitor. With mistake i use this command to change the fuse setting. ...
Alex Cerry's user avatar
0 votes
2 answers
351 views

Atmega was loose during programming, now target doesn't answer, and device signature keeps changing

I'am using an atmega328p with a custom build programming board connected to an usbasp. While programming with arvdude, the atmega chip was not perfectly placed in the board header, and the atmega ...
fpinto's user avatar
  • 1
1 vote
2 answers
982 views

How to program ATmega with fuses set to 32.768kHz clock?

I've been programming my ATmega328P's using USBasp programmer for a while. For my new project, I wanted to use 32.768kHz oscillator as an external clock, so I programmed the ATmega to appropriate ...
akrasuski1's user avatar
1 vote
0 answers
2k views

Atmega328P is not responding in avrdude using usbasp

I have a cheap Chinese USBASP clone and it works fine with my ATtiny13A, but I always get this: ...
Tym3k's user avatar
  • 13
1 vote
2 answers
408 views

USBasp progarammer with ZIF socket?

I want to make a USBasp programmer for myself. I have the schematic. But they used a 10 pin ISP connector, whereas I want to use a 40 pin ZIF socket. How do I change the circuit for this purpose? I'...
Nafis's user avatar
  • 147
0 votes
1 answer
119 views

If I Don't Wire USBASP to ATmega 328-PU Will I Burn Out My Chip

This is a simple, noob question. I'm trying to connect a USBASP with an ATmega 328-PU. If I incorrectly connect them, such as put ground into vcc or miso into mosi, will I kill my chip?
Laxmidi's user avatar
  • 147
1 vote
2 answers
4k views

ATMega32 USBasp not programming

I use no Arduino just trying to program a simple ATMega32 using USBASP. Getting this message: ...
barej's user avatar
  • 163
1 vote
3 answers
11k views

How to program an ATMega328 using a Serial Port without using programmers such as USBasp

I am currently learning electronics. I recently bought an ATMega328 and an USBasp programmer to begin my learning. But I couldn't use the USBasp to program my chip. So I researched on other ways to ...
Vishal Subramanyam's user avatar
0 votes
1 answer
211 views

No output from programmed attiny2313

I flashed a simple led blink program to an attiny2313 with a usbasp type programmer. Avrdude confirmed that the chip was programed, but the led is not blinking. I tried switching the led, varying ...
Danny's user avatar
  • 11
2 votes
1 answer
2k views

Has anyone programmed ATmega8A using USBasp?

I have failed to program ATmega8A using USBasp. I am sure that the wiring is ok. I have programmed an ATtiny13A several times with the same USBasp. However, no luck with the ATmega8A. This is the ...
Amit Hasan's user avatar
4 votes
4 answers
26k views

How can I tell that USBasp is working?

I have the USBasp programer and I'm trying to burn bootloader on Atmega328 so that it can be used as a replacement chip in Arduino board (replacement chips with the bootloader installed are quite ...
Tomáš Zato's user avatar
  • 1,054
1 vote
1 answer
3k views

Do I need to install Bootloader on my new AtMega32? Can I do it with USBasp?

I had a Sparkfun Redboard for some time and I liked playing with it, blinking LEDs and writing to an LCD and such. Now I want to design my own similar development board for similar set of applications....
nikee's user avatar
  • 11