Sorry, I didn't understand what he meant, I thought he said I needed to use a Promini.
So I tried to upload the blink sketch on NanoB using Promini/Atmega168 5V 16MHz options, but it leads to the same errors.
Then I chose Promini/Atmega168 to program the bootloader using NanoA and Gammon's board programmer. I get another kind of error here :
Arduino : 1.8.2 (Windows 10), Carte : "Arduino Pro or Pro Mini, ATmega168 (5V, 16 MHz)"
Le croquis utilise 10286 octets (71%) de l'espace de stockage de programmes. Le maximum est de 14336 octets.
Les variables globales utilisent 241 octets (23%) de mémoire dynamique, ce qui laisse 783 octets pour les variables locales. Le maximum est de 1024 octets.
C:\Users\Chuwi\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/bin/avrdude -CC:\Users\Chuwi\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf -v -patmega168 -carduino -PCOM4 -b19200 -D -Uflash:w:C:\Users\Chuwi\AppData\Local\Temp\arduino_build_997042/Atmega_Board_Programmer.ino.hex:i
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Users\Chuwi\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino9/etc/avrdude.conf"
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 19200
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x0a
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x4f
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x70
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x74
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x69
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x4c
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x6f
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x61
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x64
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x65
avrdude done. Thank you.
Une erreur est survenue lors du transfert du croquis
Bibliothèque non valide trouvée dans C:\Users\Chuwi\Documents\Arduino\libraries\arduino_sketches-master : C:\Users\Chuwi\Documents\Arduino\libraries\arduino_sketches-master
Bibliothèque non valide trouvée dans C:\Users\Chuwi\Documents\Arduino\libraries\arduino_sketches-master : C:\Users\Chuwi\Documents\Arduino\libraries\arduino_sketches-master
Ce rapport pourrait être plus détaillé avec
l'option "Afficher les résultats détaillés de la compilation"
activée dans Fichier -> Préférences.
I'll try using the regular ArduinoISP sketch