as the title suggests, I'm having problems loading the sketches onto the Chinese Arduino pro-mini AT328P(5V,16MHz).
detects the ttyusb0 port and I also tried with the old bootloader. the connection is made via a USB-serial adapter CP2102. I repeat the port is detected as /dev/ttyusb0. strange thing, the same modules loaded very well with the before formatting the PC (Ubuntu Mate 20.04LTS).
what do you recommend me to do?
HI @alejandro57. I'm going to ask you to provide the full verbose output from an upload attempt.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open. - Uncheck the box next to Show verbose output during:
☑compile in the "Preferences" dialog. - Check the box next to Show verbose output during: ☐ upload.
- Click the "OK" button.
The "Preferences" dialog will close. - Attempt an upload, as you did before.
- Wait for the upload to fail.
- You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
- Open a forum reply here by clicking the "Reply" button.
- Click the
<CODE/>icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.

- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the error output from the upload into the code block. - Move the cursor outside of the code block markup before you add any additional text to your reply.
- Click the "Reply" button to post the output.
Lo sketch usa 914 byte (2%) dello spazio disponibile per i programmi. Il massimo è 30720 byte.
Le variabili globali usano 10 byte (0%) di memoria dinamica, lasciando altri 2038 byte liberi per le variabili locali. Il massimo è 2048 byte.
"/home/alejandro/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude" "-C/home/alejandro/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-P/dev/ttyUSB1" -b57600 -D "-Uflash:w:/tmp/arduino/sketches/EB0A5F57C785701BBCE7D1BB9179FBE3/Blink_Nano.ino.hex:i"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/home/alejandro/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/home/alejandro/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyUSB1
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done. Thank you.
Caricamento non riuscito: errore durante il caricamento: exit status 1
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 "/dev/ttyUSB1" port you have selected is the port of your CP2102 USB-serial adapter:
- Disconnect the USB cable of the USB-serial adapter from your computer.
- Select Tools > Port from the Arduino IDE menus.
- Take note of the ports, if any, listed in the menu.
- Close the Tools menu.
The ports list is only updated when the Tools menu is re-opened, so this step is essential. - Connect the USB-serial adapter to your computer with a USB cable.
- Select Tools > Port from the Arduino IDE menus. - If a new port is listed in the menu, that is the port of your USB-serial adapter.
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 USB-serial adapter into your computer, add a reply here to let us know and we'll investigate the problem further.
A post was split to a new topic: Upload fails: "stk500_recv(): programmer is not responding"
I followed your instructions step by step and tried to upload a simple Blink sketch. nothing, always the same error
Lo sketch usa 914 byte (2%) dello spazio disponibile per i programmi. Il massimo è 30720 byte.
Le variabili globali usano 10 byte (0%) di memoria dinamica, lasciando altri 2038 byte liberi per le variabili locali. Il massimo è 2048 byte.
"/home/alejandro/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude" "-C/home/alejandro/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-P/dev/ttyUSB0" -b57600 -D "-Uflash:w:/tmp/arduino/sketches/EB0A5F57C785701BBCE7D1BB9179FBE3/Blink_Nano.ino.hex:i"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/home/alejandro/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/home/alejandro/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/ttyUSB0
Using Programmer : arduino
Overriding Baud Rate : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done. Thank you.
Caricamento non riuscito: errore durante il caricamento: exit status 1
However, still using Arduino IDE with Ubuntu Mate 20.04LTS on the other PC (laptop), I can upload the same sketch to the same Chinese board
Maybe the bootloader is missing on this specific board. You have to upload it via ISP if it is the case.
if there was no bootloader it wouldn't load on the other PC, or am I wrong?
load instead.
If you can upload program to this specific board on other PC then there is the bootloader, of course. The problem must be something else then.
So you are saying the board works on other PC and on your PC does not and other boards work on your PC, right?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.