venice1200 / MiSTer_tty2oled

👾 MiSTer Software Add-On showing Text or Pictures on a Display driven by an Arduino 👾
GNU General Public License v3.0
49 stars 10 forks source link

Trying to update Devkitv4 #27

Closed mrchrisster closed 1 year ago

mrchrisster commented 1 year ago

Get the following error when trying to flash my devkit:

ESP32 selected/detected (Wemos/Lolin/DevKit_V4).
Version of your tty2oled device is 0, but BUILDVER is 220521T.
Do you want to Update? Use Cursor or Joystick for YES=UP / NO=DOWN. Countdown: 7
------------------------------------------------------------------------
usage: esptool write_flash [-h] [--erase-all] [--flash_freq {keep,40m,26m,20m,80m}] [--flash_mode {keep,qio,qout,dio,dout}] [--flash_size FLASH_SIZE]
                           [--spi-connection SPI_CONNECTION] [--no-progress] [--verify] [--encrypt] [--encrypt-files <address> <filename> [<address> <filename> ...]]
                           [--ignore-flash-encryption-efuse-setting] [--compress | --no-compress]
                           <address> <filename> [<address> <filename> ...]
esptool write_flash: error: argument <address> <filename>: [Errno 2] No such file or directory: '/tmp/tmp.40c7QNEozo/lolin32_220521T.bin'
------------------------------------------------------------------------

Flash progress completed. Have fun!
Starting init script

Starting tty2oled.sh...

I can confirm that the file is not found on the server https://www.tty2tft.de/MiSTer_tty2oled-installer/lolin32_220521T.bin

mrchrisster commented 1 year ago

Just noticed that I still had testing set to on in the user ini. Works fine when set to off.

ojaksch commented 1 year ago

That was me while experimenting a different build system which failed at some point, setting a wrong version. Testing had to be named 220713T in this case. Back to old but stable build system. Sorry for any circumstances.

mrchrisster commented 1 year ago

One other error when updating


Updating tools script tty2oled_cc.sh
Stopping tty2oled.sh...
Checking for device at /dev/ttyUSB0: available
Trying to identify device... HWLOLIN32 with sketch version 220507
ESP32 selected/detected (Wemos/Lolin/DevKit_V4).
Good boy, your hardware is up-to-date!
/tmp/update_tty2oled_script.sh: line 174: [: 1303: binary operator expected
Starting init script

Starting tty2oled.sh...
/root#
venice1200 commented 1 year ago

Do you use ssh or the cli? No Problems here!

Try again please. Maybe there are some more scripts updated before.

mrchrisster commented 1 year ago

Ssh. Second run through worked fine btw.