B
B
Brendan Castaneda2021-03-02 23:10:55
Arduino
Brendan Castaneda, 2021-03-02 23:10:55

How to flash atmega328p-au (smd) via USBAsp v2.0?

I have an atmega328p-au
I also have a USBAsp programmer
I need to flash this microcontroller, I have never done that!
1) I downloaded and installed the drivers for the programmer .. I took them from here.
2) AVRDUDE PROG 3.3 is available.
I found a wiring diagram on the Internet, but I don’t know if it will work or not.
603e94fb457fc255169596.png
And now I think if I order an adapter for the programmer and connect the microcontroller as in the diagram above through it to the programmer, I can flash it or not.
603e9bcb9ab9d230720846.jpeg
Also for the microcontroller, I want to order one (TQFP32 QFP32 to DIP32, adapter) for convenience.
603e9d790e215909512024.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Borys Latysh, 2021-03-03
@ae_ph

1. "I found a wiring diagram on the Internet" - the diagram is correct.
2. According to Feng Shui, this connector is displayed on the board as a system connector (for example, in Arduino).
3. We make boards with such a connector (I recommend taking Arduino ISP)
4. Order a cheap USBASP AVR programmer (Google will help you find it on Ali Express)
5. We flash all products on existing equipment.
6. Everything. Success!!!
In the second picture, both the Programmer and the pinout of the connector (upper part) - the correct ones correspond to points 2 and
3.
"I also want to order one for the microcontroller" - DO NOT. It's too much.

E
evgeniy_lm, 2021-03-03
@evgeniy_lm

I think it’s not worth contacting the TQFP32 adapter, it’s better to provide a connector for in-circuit programming on the printed circuit board. You will have to ask again and again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question