Uploading to pro mini fails

I have not uploaded my programs to a pro mini in some time now. I clicked on Pro mini programmer USBasp the right com port. I even loaded a newer version the 2.1. Still does not down load. Any suggests please.

USBasp is not a com port.

It is clear that you are frustrated and angry. Please take the time to become calm and then explain the problem again in more detail.

Thank you. Let me try this again I am using a Cp2102 usb board connected to the pro mini. I am using version 1.857.0. I have the board set to pro mini or pro, programmer is USBasp, com1, and Atmega(5v, 16MHtz). Normally what I see when after I compile, is green lights and then flashing green lights when uploading. Not the case now. I have two solid green light and they are steady. On the pro mini I see a red light I believe is the VCC. I hit upload and the program says uploading but eventually say " programmer not responding. I changed ports but same thing happens. Any thoughts please?

Sorry ATmega 328P (5v, 16MHtz)

I moved your topic to an appropriate forum category @rayluc.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Hi @rayluc

It is possible, but unlikely that this is the port of your CP2102. Usually COM 1 is an internal built-in serial port of the computer's motherboard. Attempting an upload with the wrong port selected would cause the symptoms you describe.

This error might be caused by having the wrong port selected from the Tools > Port menu in Arduino IDE.

Please perform this experiment to verify that the port you have selected is your Arduino board:

  1. Disconnect the USB cable of the Arduino board from your computer.
  2. Select Tools > Port from the Arduino IDE menus.
  3. Take note of the ports, if any, listed in the menu.
  4. Close the Tools menu.
    :exclamation: The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  5. Connect the Arduino board to your computer with a USB cable.
  6. Select Tools > Port from the Arduino IDE menus. - If a new port is listed in the menu, that is the port of your Arduino board.

Select that port from the menu and try uploading again.

If the upload still fails, or if no new port appeared after you plugged the Arduino board into your computer, add a reply here to let us know and we'll investigate the problem further.

Thank you for helping. Doing as you suggested the port that comes up is Com1. Plugging into com1 and uploading I get the same error which is programmer not responding. The green lights on my usb co 2102 are on but normally as it uploads those lights blink . They are not. Any ideas? I am going to order a new co 2102 6 pin

Can we clarify something? Are you attempting to use a USBasp to upload the code? A USBasp looks like this:

I suspect the answer is no, you don't even own a USBasp. If that's true, then we now know that what you really mean is "USBasp is selected as the programmer in the IDE menu". Here's the thing: this setting does not matter at all, it is irrelevant here. It is only important when you use the "Upload using Programmer" option. When you use the normal "Upload" option or click the Upload button, the "Programmer" option in the menu is not used.

Hope this helps with your understanding. You are not the first to be confused about this setting and you won't be the last. I think this aspect of the Arduino IDE's user interface could have been designed in a way that's less confusing to beginners.

But addressing your actual problem, uploading your sketch using the USB-Serial adapter, have you tried testing the adapter using the "loopback test"?

To do this test, do not connect the USB-Serial adapter to the pro mini. Connect the rx and tx pins on the adapter together. Plug the adapter into the pc/laptop, select the port that appears in the menu and open the serial monitor. Type some text into the input box on the serial monitor and hit enter. The text you typed should be immediately echoed back in the output area of serial monitor.

I have not tried the loopback test. I will look for how to do that. I was able to upload to my uno successfully.

I did the looptest and the usb adapter passed. I was able to upload the program to my uno. I am baffled?????

I did the looptest and the usb adapter passed. I was able to upload to the uno. I am baffled

I hope someone has the answer here

Time to try another pro mini, I think.

I have tried several pro minis nothing. Now I really did it. I read where one party reinstalled their program and it worked for them. Well not me. I dug a deep hole. I installed Ardunio 2.2 for windows and now I get this erroe message. avrdude: can't open config file "C:\Users\Lucking\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf": No such file or directory
avrdude: error reading system wide configuration file "C:\Users\Lucking\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
Failed uploading: uploading error: exit status 1

I really Ty need help here. Please someone come up with advise.

I have calmed down. I deleted the Arduino program I had because I read online that it would correct my issues. It did not. Hitting upload I get the error message, "error reading system wide configuration file" I really need this to get up and running. Please help

I saw this from Pert and I did this….

This error indicates something has gone wrong with a hardware package installed via Boards Manager. The solution is to remove and then re-install the packages. Be aware this will remove any boards you have installed via Boards Manager:

  • (In the Arduino IDE) File > Preferences
  • Click the link on the line following "More preferences can be edited directly in the file". This will open the C:\Users\John\Documents\ArduinoData folder.
  • Delete all files and folders under the ArduinoData folder except for preferences.txt. Please be very careful when deleting things from your computer. When in doubt, back up!
  • (In the Arduino IDE) Tools > Board > Boards Manager
  • Wait for the downloads to finish.
  • Reinstall the boards platform for your Trinket.
  • Click "Close"

Also I do t know from the instructions what”reinstall the board platform for your trinket”. Means

I was able now to load a program to my uno but not the pro mini

A Trinket is an Arduino compatible board made by Adafruit. Many 3rd party boards need a boards/cores package to be installed to enable the IDE to work with/support them. Pro Mini is one of the boards where support is built in to the IDE when you install it, so nothing for you to do there.