The link leads to "cjoint.com": it is a secure image hosting website for the forums, and the file is just a JPG image of the compilation error.
The Arduino IDE version is 1.8.19 and my OS is Windows 1-64 bits.
Here is the uploading error message:
Le croquis utilise 5814 octets (18%) de l'espace de stockage de programmes. Le maximum est de 32256 octets.
Les variables globales utilisent 667 octets (32%) de mémoire dynamique, ce qui laisse 1381 octets pour les variables locales. Le maximum est de 2048 octets.
Une erreur est survenue lors du transfert du croquis
avrdude: ser_open(): can't open device "\\.\COM1": Acc�s refus�.
Une erreur est survenue lors du transfert du croquis
I believe that the importaant part of the error message is: avrdude: ser_open(): can't open device "\\.\COM1": Acc�s refus�.
The Arduino UNO board is correctly recognized by the IDE.
I tried these suggestions, but none worked: the problem is still there.
The problem doesn't come from the bootloader because I have tried with another board, an Arduino NANO, and the problem is the same.
I suspected that the CH340 driver could be the problem, so here is what I did:
-Download an older version of the CH340 driver: I have downloaded the v3.4.2014.8., that was a Windows 10 version.
-Uninstall the CH340 driver: I had a newer version v3.9.2024.9
-Install the older version v3.4.2014.8
-Check that the Arduino boards are recognized by Windows when there are connected to the PC.
Therefore, when using an Arduino NANO (with the "Old Bootloader" option chosen in the "CPU choice" of the Tools menu), the uploading is OK.
You have to take care that the Arduino IDE does not detect properly the right USB port: mine has detected Port COM1 instead of Port COM5. But the uploading failed even with COM5 selected with the previous version of the CH340 driver.
So the problem is solved for the NANO boards.
But the problems still remains for the UNO R3 board: the upload fails with the same error message.