Probleme beim aufspielen

Hallo,

ich bin blutiger Anfänger. Ich kann den Sketch nicht hochladen und bekomme folgende Fehlermeldung. Kann mir jemand weiterhelfen?

Arduino: 1.8.13 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'void setup()':

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:758:27: warning: invalid conversion from 'int' to 'DfMp3_Eq' [-fpermissive]

   mp3.setEq(mySettings.eq - 1);

             ~~~~~~~~~~~~~~^~~

In file included from C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1:0:

C:\Users\manue\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:251:10: note:   initializing argument 1 of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::setEq(DfMp3_Eq) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify]'

     void setEq(DfMp3_Eq eq)

          ^~~~~

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'void adminMenu(bool)':

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1117:37: warning: default argument given for parameter 1 of 'void adminMenu(bool)' [-fpermissive]

 void adminMenu(bool fromCard = false) {

                                     ^

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:80:6: note: previous specification in 'void adminMenu(bool)' here

 void adminMenu(bool fromCard = false);

      ^~~~~~~~~

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'void adminMenu(bool)':

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1192:29: warning: invalid conversion from 'int' to 'DfMp3_Eq' [-fpermissive]

     mp3.setEq(mySettings.eq - 1);

               ~~~~~~~~~~~~~~^~~

In file included from C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1:0:

C:\Users\manue\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:251:10: note:   initializing argument 1 of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::setEq(DfMp3_Eq) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify]'

     void setEq(DfMp3_Eq eq)

          ^~~~~

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1318:22: warning: invalid conversion from 'int8_t* {aka signed char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

       if (askCode(pin)) {

                      ^

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1332:6: note:   initializing argument 1 of 'bool askCode(uint8_t*)'

 bool askCode(uint8_t *code) {

      ^~~~~~~

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)':

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1349:120: warning: default argument given for parameter 4 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^~~~~~~~~

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1349:120: warning: default argument given for parameter 5 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^~~~~~~~~

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1349:120: warning: default argument given for parameter 6 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^~~~~~~~~

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:1349:120: warning: default argument given for parameter 7 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

C:\Users\manue\AppData\Local\Temp\Temp1_TonUINO-DEV.zip\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^~~~~~~~~

Der Sketch verwendet 24668 Bytes (80%) des Programmspeicherplatzes. Das Maximum sind 30720 Bytes.

Globale Variablen verwenden 1005 Bytes (49%) des dynamischen Speichers, 1043 Bytes für lokale Variablen verbleiben. Das Maximum sind 2048 Bytes.

Beim Hochladen des Sketches ist ein Fehler aufgetreten

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x1f

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x1f

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x1f

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x1f

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x1f

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x1f

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x1f

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x1f

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x1f

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x1f




Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.

Nutz doch mal die Suchfunktion:
https://discourse.voss.earth/search?q=programmer%20is%20not%20responding
Hast du mal den ATmega328P ohne Old Bootloader probiert?

1 Like