Hi,
I can upload a sketch and program a Arduino Pro Mini ok once only. What is loaded works OK. But I can't upload another sketch to program it again. That is to reprogram it. It keeps running the old program Sketch.
Thanks,
Hi,
I can upload a sketch and program a Arduino Pro Mini ok once only. What is loaded works OK. But I can't upload another sketch to program it again. That is to reprogram it. It keeps running the old program Sketch.
Thanks,
Please provide a detailed description of what you mean by "I can't upload".
Include the full and exact text of any error or warning messages that might be associated with the problem.
"upload works once after installing bootloader" is usually due to a non-functioning auto-reset circuit.
Hi,
A sketch was uploaded to a Pro Mini that works ok. Then on doing another upload to it. I get the following error message:
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega168 (5V, 16 MHz)"
Sketch uses 6896 bytes (48%) of program storage space. Maximum is 14336 bytes.
Global variables use 423 bytes (41%) of dynamic memory, leaving 601 bytes for local variables. Maximum is 1024 bytes.
avrdude: ser_open(): can't open device "\.\COM4": The system cannot find the file specified.
Thanks for your help.
Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Hi,
I have not installed a Bootloader. Is that what I should do?
It was a new (never used) Pro Mini that will upload a sketch once. But not the second time. All 3 new Pro Mini chips do the same thing.
Thanks.
If you could upload the first time via a TTL-to-USB converter, the ProMini has a boot loader. If you uploaded the first time via ICSP (via a programmer), the boot loader is wiped and an normal upload via using the TTL-to-USB converter is no longer possible.
What does Windowsd device manager think of your board when that happens. Be aware that Windows is free to assign whichever port number it wants to assign.
Hi,
Thanks for your help. Are you able to burn the Bootloader after it has been removed?
Thanks,
Under the tools menu is an option to burn the bootloader.
Hi, Thanks again for your help. I try that and see if it works, thanks,
This message has nothing to do with the bootloader. The computer can't find the USB to serial adapter. What are you using for that?
Hi,
Am I correct that I can not do a Burn Bootloader via the serial USB. And I need to install a Programmer to do that?
thanks,
See reply #10.
You can't do anything until your computer recognizes the USB to serial converter.
If you have successfully loaded a sketch, then the Arduino Pro Mini has a bootloader.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.