Software mit PlatformIO aufspielen mit Classic 5

Hallo

Habe es heute noch mit Nano Classic 5 versucht und erhalte folgende Meldung

Executing task: C:\Users\RUALB.platformio\penv\Scripts\platformio.exe run --target upload --environment TonUINO_Classic_5

Warning! Ignore unknown configuration option lib_deps_esp32 in section [env]Processing TonUINO_Classic_5 (platform: atmelavr; board: nanoatmega328; framework: arduino)

Verbose mode can be enabled via -v, --verbose optionCONFIGURATION: PLATFORM: Atmel AVR (5.1.0) > Arduino Nano ATmega328HARDWARE: ATMEGA328P 16MHz, 2KB RAM, 30KB FlashDEBUG: Current (avr-stub) External (avr-stub, simavr)PACKAGES:

  • framework-arduino-avr @ 5.2.0

  • tool-avrdude @ 1.60300.200527 (6.3.0)

  • toolchain-atmelavr @ 1.70300.191015 (7.3.0)LDF: Library Dependency Finder → LDF Modes: Finder ~ chain, Compatibility ~ softFound 9 compatible librariesScanning dependencies…Dependency Graph|-- JC_Button @ 2.1.2|-- MFRC522_fix @ 1.4.12|-- DFPlayer Mini Mp3 by Makuna @ 1.2.3|-- Adafruit NeoPixel @ 1.15.2|-- SPI @ 1.0|-- SoftwareSerial @ 1.0|-- EEPROM @ 2.0Building in release modeChecking size .pio\build\TonUINO_Classic_5\firmware.elfAdvanced Memory Usage is available via „PlatformIO Home > Project Inspect“RAM: [======== ] 76.0% (used 1556 bytes from 2048 bytes)Flash: [========= ] 93.5% (used 28732 bytes from 30720 bytes)Configuring upload protocol…AVAILABLE: arduinoCURRENT: upload_protocol = arduinoLooking for upload port…Auto-detected: COM5Uploading .pio\build\TonUINO_Classic_5\firmware.hexavrdude: stk500_recv(): programmer is not respondingavrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xbfavrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x38avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xf8avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xbfavrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf8avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xadavrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xfeavrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x9davrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xffavrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x73

avrdude done. Thank you.

*** [upload] Error 1================================================================= [FAILED] Took 17.01 seconds =================================================================

Environment Status Duration


TonUINO_Classic_5 FAILED 00:00:17.006============================================================ 1 failed, 0 succeeded in 00:00:17.006 ============================================================

  • The terminal process „C:\Users\RUALB.platformio\penv\Scripts\platformio.exe ‚run‘, ‚–target‘, ‚upload‘, ‚–environment‘, ‚TonUINO_Classic_5‘“ terminated with exit code: 1.

  • Terminal will be reused by tasks, press any key to close it.

Kann mir jemand helfen bitte was da der Fehler ist?

Gruss Opa Dodo

Da steckt kein Nano am USB Port.

Ist das kein Nano?

Vermutlich hast Du übersehen, dass der virtuelle COM-Port sich ändert, wenn vom ESP32 auf den Nano oder einen anderen Arduino, sogar auch nur, wenn der USB-Chip auf dem Nano ein anderer ist, gewechselt wird und entsprechend angegeben werden muss.

Es steckt zwar ein Nano an dem Kabel, ist aber nicht dem gewählten COM-Port zugeordnet.

Danke NoBI

was muss ich tun ?

Opa Dodo

Wie immer, im Windows Gerätemanager schauen, welcher COM-Port zugeordnet wurde.

Ist das ein original Nano von Arduino oder ein Clone? Beim ersteren ist ein anderer Bootloader drauf. Versuche doch mal das Upload Tool, da kann man den Bootloader auswählen. Ich weiß gerade nicht, wie man das bei PlatformIO macht.

Clon

OK danke euch beiden :grinning_face_with_smiling_eyes: