Ersatz für Online-Upload für alle HW Varianten und alle OS

Da das Online-Upload ja nicht für alle HW Varianten funktioniert und auch für Linux nicht geeignet ist, habe ich mal versucht mittels Python eine neue Variante zu schreiben.

Das Programm hat eine grafische Oberfläche und ist selbsterklärend.

Im Readme zu dem Projekt TonUINO-TNG-Upload sind die URLs zum Download zu finden.
Einfach downloaden, auspacken und in einer Konsole ausführen. Es muss dazu kein Python installiert sein.

Der Upload zum TonUINO funktioniert für

  • Classic Nano
  • Classic Nano mit neuen Bootloader
  • Classic Every
  • Classic Every 4808
  • AiO
  • AiO plus
  • ESP32 Nano

für die Varianten

  • 3 Tasten
  • 5 Tasten
  • 3x3 Button Board
  • 5 Tasten mit vollem Featureumfang

Weiterhin kann man auch lokale Firmware Dateien uploaden und den Inhalt der SD Karte downloaden.

Linux und Windows habe ich getestet. Für MacOS fehlt mir die HW.

Für Tests, Rückmeldungen und Verbesserungsvorschläge wäre ich dankbar.

Edit:
Habe den Text oben an die Weiterentwicklung angepasst.

1 „Gefällt mir“

Ich konnte auf meinem Mac (macOS 15.2) nicht testen, ich habe die folgende Meldung erhalten:

Ich habe das hier gefunden. Oder hat ein MacOS Experte einen anderen Rat?

Die Anleitung ist nicht mehr aktuell. Ab MacOS 15.1 funktioniert das so:

Nach dem ersten Warnhinweis die Einstellungen öffnen. Hier wird man gefragt ob das Programm dennoch geöffnet werden soll:

Dann folgt eine weitere Warnung:

Danach wird der Code ausgeführt:

Testen konnte ich noch nicht, bei der Arbeit habe ich noch keinen TonUINO :laughing:

1 „Gefällt mir“

Hat bei mir mit dem Mac funktioniert:

1 „Gefällt mir“

Ich habe jetzt dafür eine grafische Oberfläche erstellt. Sollte selbsterklärend sein.
Diese kann zusätzlich auch ein Konsole Log erstellen und die SD Karte downloaden.
Die Links zum Downloaden findet ihr im Readme (siehe oben)
Viel Spaß beim Testen.

Jetzt wird auch das Uploaden eines lokalen Firmware Files unterstützt sowie die Variante mit allen Features (nur AiOplus, Every und Every4808). Weiterhin habe ich die Fehlerbehandlung verbessert.

Habe den Text im ersten Post an die Weiterentwicklung angepasst.
Und das Tool hat seine erste Bewährungsprobe bestanden.

2 „Gefällt mir“

Habe das Projekt nach github.com/tonuino verschoben und die Links im ersten Beitrag geändert.

Das Tool kann seit gestern auch die Software für den ESP32 Nano hochladen. Für Linux habe ich das auch getestet. Vielleicht findet sich jemand, der das auch für Windows und MacOS testet.

Das unter Windows 

downloaded https://tonuino.github.io/TonUINO-TNG/TonUINO_Esp32_5/firmware.bin to C:\Users\RUALB\AppData\Local\Temp\tmptn1pgmkl\firmware.bin

#################################################################################

C:\Users\RUALB\AppData\Local\Temp\_MEI121842\dfu-util --device 0x2341:0x0070 -D C:\Users\RUALB\AppData\Local\Temp\tmptn1pgmkl\firmware.bin -Q

#################################################################################
dfu-util 0.11-arduino4

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/

Opening DFU capable USB device...
Device ID 2341:0070
Device DFU version 0101
Claiming USB DFU Interface...
Setting Alternate Interface #0 ...
Determining device status...
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 0101
Device returned transfer size 4096
Copying data from PC to DFU device

Download	[                         ]   0%            0 bytes
Download	[=                        ]   4%        61440 bytes
Download	[=                        ]   5%        73728 bytes
Download	[==                       ]   8%       118784 bytes
Download	[==                       ]  10%       155648 bytes
Download	[===                      ]  12%       176128 bytes
Download	[====                     ]  16%       237568 bytes
Download	[====                     ]  17%       253952 bytes
Download	[=====                    ]  20%       294912 bytes
Download	[=====                    ]  22%       335872 bytes
Download	[======                   ]  24%       352256 bytes
Download	[=======                  ]  28%       413696 bytes
Download	[=======                  ]  29%       430080 bytes
Download	[========                 ]  32%       471040 bytes
Download	[=========                ]  36%       528384 bytes
Download	[==========               ]  40%       585728 bytes
Download	[==========               ]  41%       602112 bytes
Download	[===========              ]  44%       647168 bytes
Download	[============             ]  48%       704512 bytes
Download	[=============            ]  52%       761856 bytes
Download	[=============            ]  54%       794624 bytes
Download	[==============           ]  56%       823296 bytes
Download	[===============          ]  60%       880640 bytes
Download	[===============          ]  60%       884736 bytes
Download	[================         ]  64%       937984 bytes
Download	[================         ]  67%       983040 bytes
Download	[=================        ]  68%       995328 bytes
Download	[==================       ]  72%      1056768 bytes
Download	[===================      ]  76%      1114112 bytes
Download	[===================      ]  79%      1159168 bytes
Download	[====================     ]  80%      1171456 bytes
Download	[=====================    ]  84%      1232896 bytes
Download	[=====================    ]  85%      1253376 bytes
Download	[======================   ]  88%      1290240 bytes
Download	[======================   ]  90%      1331200 bytes
Download	[=======================  ]  92%      1347584 bytes
Download	[======================== ]  96%      1404928 bytes
Download	[======================== ]  97%      1433600 bytes
Download	[=========================] 100%      1458784 bytes
Download done.
DFU state(7) = dfuMANIFEST, status(0) = No error condition is present
DFU state(2) = dfuIDLE, status(0) = No error condition is present
Done!


#################################################################################

Finished success



was hat das zu bedeuten 

Opening COM4 at 115200 baudCard Ins
MIFARE_Read 3 failed: 255
Auth  failed: 255
Card Rem
Card Ins
CardData: 13 37 b3 47 02 00 ff 00 00 
enter AdmEntry
enqueue mp3 900 0
play mp3 900

auf dem Lautsprecher höre ich kein Ton

Gruss Opa Dodo

1 „Gefällt mir“