-
Hello! I am new to this but I wanted to program my m328ú (ATMega328p) using this command:
Can somebody help me please? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
Please read the FAQ on how to report an issue. As per the FAQ, please also read the know limitation and see if you can figure out the issue. |
Beta Was this translation helpful? Give feedback.
-
OS : Windows 11
Please try to use the latest released version : Tried |
Beta Was this translation helpful? Give feedback.
-
I conncted SCK with CLK and RESET with CS |
Beta Was this translation helpful? Give feedback.
-
Good progress: you got over the "compile again with libusb installed" hurdle. Now there is a permission problem.
Does another program use the ch341a programmer? That could interfere with avrdude, so close that program if so. Maybe it is as simple as giving COM4 read/write permission (this is an OS thing: I don't know how you would do that in Windows). You get more info if you run your command with |
Beta Was this translation helpful? Give feedback.
-
Thank you
|
Beta Was this translation helpful? Give feedback.
@lixtheyt
Please also read the known limitation of the programmer here. CH341A is not supported by the MSVC build.
https://github.com/avrdudes/avrdude/wiki/Known-limitations-of-avrdude
CH341A is not well supported by avrdude. I will recommend you to go with another programer like usbasp.
If you want to continue, please try the mingw64 build here. You have to use Zadig to change the vendor driver to WinUSB as well.
https://github.com/avrdudes/avrdude/wiki/Getting-Nightly-Builds-for-AVRDUDE
https://nightly.link/avrdudes/avrdude/workflows/build/main/avrdude-mingw-x86_64.zip