New Device Alpha 1.1.33

Hi all!

Device 1.1.33 Alpha is available in our GitHub.

Change summary:

… a whole lot more little bugs!

9 Likes

btw - mc’s idea here of using a new post is way better than the huge unwieldy one-big-thread for all alpha releases.

In the future we’ll do single posts like this for each new alpha release. If you think you might want to try running an alpha-test build please read this warning/request first. I’ve just created an “Alpha testers” category on the forum for this purpose.

If you find problems with particular builds please reply in the appropriate thread.

3 Likes

Hi I have just updated two tbeams to 1.1.33 - both T22_V1.1 20191212. I used device.install.sh rather than esptool. I have replaced the inboard gps antennas with a STOTEN antenna from AliExpress, (TOPGNSS store).
I have used python api to make some changes to the defaults for position broadcast (now 30 sec), gps update (now 30 sec) and wait_bluetooth (28800). My idea is that for hiking I need to know positions all the time.
As anyone seen this: on the screen I get signal 0% for both units. I cannot say this is definitely related to 1.1.33!

1 Like

I just tried upgrading one of my new bulk order (30) ttgo T-Beams Lora32 915Mhz from 1.1.0 from them to 1.1.33 using upgrade.sh and now it won’t power on. Here is the error I got then I tried again:
chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-update.sh -f firmware-tlora-v1-US-1.1.33.bin

Trying to flash update firmware-tlora-v1-US-1.1.33.bin.

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02062955

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:2f:74

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1540832 bytes to 905592…

Writing at 0x000e4000… (96 %)

A fatal error occurred: Invalid head of packet (0x80)

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-update.sh -f firmware-tlora-v1-US-1.1.33.bin

Trying to flash update firmware-tlora-v1-US-1.1.33.bin.

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02062955

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:2f:74

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1540832 bytes to 905592…

Wrote 1540832 bytes (905592 compressed) at 0x00010000 in 14.0 seconds (effective 879.9 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

chayss-MacBook-Pro:firmware-1.1.33 chays$

It powered off and I can’t get it to turn on. Tried taking battery out, unplugging usb, plugging it back in, holding power for 10 sec, trying different combos of holding buttons down. It won’t come on. Any ideas?
I tried this:
chayss-MacBook-Pro:firmware-1.1.33 chays$ meshtastic
A2 :x3ffd58 3 :0x0010 4 x00000 A5 : x00004
A x3f72 A :0x00000 A :0x0000 x00001
A14 x0f0000 1 xf000 SR :00000 ECUE x000c
CAD:00008 LE :0401f LN :04010 LOT xffff

EFfie H25:00000000
acktae:0x413a:xfdc004056:0xfdc00409b:xfd9 x0d7503f1c 04066a03ffdce0 x4065:xfdd00409c:xfdd000de603fdd0040ad:xfdd000d9403f19 x0f5903f1b
WARNING:root:Meshtastic serial port disconnected, disconnecting… device reports readiness to read but returned no data (device disconnected or multiple access on port?)
???Traceback (most recent call last):
File “/usr/local/bin/meshtastic”, line 8, in
sys.exit(main())
File “/usr/local/lib/python3.9/site-packages/meshtastic/main.py”, line 460, in main
common()
File “/usr/local/lib/python3.9/site-packages/meshtastic/main.py”, line 344, in common
client = SerialInterface(
File “/usr/local/lib/python3.9/site-packages/meshtastic/init.py”, line 748, in init
StreamInterface.init(
File “/usr/local/lib/python3.9/site-packages/meshtastic/init.py”, line 597, in init
self.connect()
File “/usr/local/lib/python3.9/site-packages/meshtastic/init.py”, line 612, in connect
self._waitConnected()
File “/usr/local/lib/python3.9/site-packages/meshtastic/init.py”, line 315, in _waitConnected
raise Exception(“Timed out waiting for connection completion”)
Exception: Timed out waiting for connection completion
chayss-MacBook-Pro:firmware-1.1.33 chays$

Ok, update to that… that was fun! so I figured I might as well try the device-install.sh instead, blind… since no lights and no signs of life, I mean who knows, right? here’s what happended:
chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02062955

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:2f:74

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 5.5s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02062955

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:2f:74

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 2973.0 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02062955

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:2f:74

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9413.0 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02062955

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:2f:74

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1565712 bytes to 917696…

Wrote 1565712 bytes (917696 compressed) at 0x00010000 in 12.9 seconds (effective 974.1 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

chayss-MacBook-Pro:firmware-1.1.33 chays$

And now it is up and running 1.1.33 and is connected to my mesh and all seems right with it!

2 Likes

I think the problem originally was that you flashed the wrong load. You flashed “tlora-v1” - which is not for a tbeam :wink:

1 Like

I see that… oops!
Now that I’ve flashed 9 radios, I’ve found that 4 of them couldn’t go straight from 1.0.0 to 1.0.33 and I had to go to 1.0.32 first and then 1.0.33. Here’s a long screenshot to show some of my upgrades and failures:

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-0228164A

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:29:44

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 6.2s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-0228164A

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:29:44

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 2992.4 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-0228164A

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:29:44

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9424.4 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-0228164A

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:29:44

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1565712 bytes to 917696…

Writing at 0x00054000… (31 %)

A fatal error occurred: Invalid head of packet (0x01)

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281524

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:2c

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

^CTraceback (most recent call last):

File “/usr/local/bin/esptool.py”, line 3969, in

_main()

File “/usr/local/bin/esptool.py”, line 3962, in _main

main()

File “/usr/local/bin/esptool.py”, line 3604, in main

operation_func(esp, args)

File “/usr/local/bin/esptool.py”, line 3147, in erase_flash

esp.erase_flash()

File “/usr/local/bin/esptool.py”, line 113, in inner

return func(*args, **kwargs)

File “/usr/local/bin/esptool.py”, line 804, in erase_flash

self.check_command(“erase flash”, self.ESP_ERASE_FLASH,

File “/usr/local/bin/esptool.py”, line 413, in check_command

val, data = self.command(op, data, chk, timeout=timeout)

File “/usr/local/bin/esptool.py”, line 386, in command

p = self.read()

File “/usr/local/bin/esptool.py”, line 331, in read

return next(self._slip_reader)

File “/usr/local/bin/esptool.py”, line 2632, in slip_reader

read_bytes = port.read(1 if waiting == 0 else waiting)

File “/usr/local/lib/python3.9/site-packages/serial/serialposix.py”, line 565, in read

ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left())

KeyboardInterrupt

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281524

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:2c

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 0.5s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281524

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:2c

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 2993.9 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281524

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:2c

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9420.7 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281524

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:2c

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1565712 bytes to 917696…

Wrote 1565712 bytes (917696 compressed) at 0x00010000 in 12.8 seconds (effective 975.4 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281530

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:48

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

A fatal error occurred: Failed to erase flash. Only got 1 byte status response.

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.32.bin

Trying to flash firmware-tbeam-US-1.1.32.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281530

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:48

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 0.5s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281530

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:48

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 2987.7 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281530

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:48

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9402.1 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281530

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:48

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1559680 bytes to 914598…

Wrote 1559680 bytes (914598 compressed) at 0x00010000 in 12.7 seconds (effective 984.9 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281530

Connecting…_

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:48

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 5.7s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281530

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:48

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 3005.9 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281530

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:48

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9400.5 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281530

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:24:48

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1565712 bytes to 917696…

Wrote 1565712 bytes (917696 compressed) at 0x00010000 in 12.8 seconds (effective 975.3 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281341

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1b:3c

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 4.8s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281341

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1b:3c

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 2988.7 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281341

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1b:3c

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9409.4 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281341

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1b:3c

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1565712 bytes to 917696…

Wrote 1565712 bytes (917696 compressed) at 0x00010000 in 12.8 seconds (effective 974.8 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281384

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1c:84

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 7.0s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281384

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1c:84

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 2992.5 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281384

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1c:84

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9449.0 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-02281384

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1c:84

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1565712 bytes to 917696…

Wrote 1565712 bytes (917696 compressed) at 0x00010000 in 12.9 seconds (effective 973.6 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022813C8

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1d:d8

Uploading stub…

A fatal error occurred: Timed out waiting for packet header

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022813C8

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1d:d8

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 6.7s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022813C8

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1d:d8

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 2745.1 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022813C8

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1d:d8

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9405.4 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022813C8

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:1d:d8

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1565712 bytes to 917696…

Wrote 1565712 bytes (917696 compressed) at 0x00010000 in 12.9 seconds (effective 974.7 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

chayss-MacBook-Pro:firmware-1.1.33 chays$ meshtastic

Trigger powerFSM 9

Trigger powerFSM 11

Transition powerFSM transition=serial API, from=ON to=SERIAL

Shutdown BT: 236980 heap size

Connected to radio

help

^CException ignored in: <module ‘threading’ from ‘/usr/local/Cellar/python@3.9/3.9.1_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py’>

Traceback (most recent call last):

File “/usr/local/Cellar/python@3.9/3.9.1_3/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py”, line 1428, in _shutdown

lock.acquire()

KeyboardInterrupt:

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022815E3

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:27:c0

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

^CTraceback (most recent call last):

File “/usr/local/bin/esptool.py”, line 3969, in

_main()

File “/usr/local/bin/esptool.py”, line 3962, in _main

main()

File “/usr/local/bin/esptool.py”, line 3604, in main

operation_func(esp, args)

File “/usr/local/bin/esptool.py”, line 3147, in erase_flash

esp.erase_flash()

File “/usr/local/bin/esptool.py”, line 113, in inner

return func(*args, **kwargs)

File “/usr/local/bin/esptool.py”, line 804, in erase_flash

self.check_command(“erase flash”, self.ESP_ERASE_FLASH,

File “/usr/local/bin/esptool.py”, line 413, in check_command

val, data = self.command(op, data, chk, timeout=timeout)

File “/usr/local/bin/esptool.py”, line 386, in command

p = self.read()

File “/usr/local/bin/esptool.py”, line 331, in read

return next(self._slip_reader)

File “/usr/local/bin/esptool.py”, line 2632, in slip_reader

read_bytes = port.read(1 if waiting == 0 else waiting)

File “/usr/local/lib/python3.9/site-packages/serial/serialposix.py”, line 565, in read

ready, _, _ = select.select([self.fd, self.pipe_abort_read_r], [], [], timeout.time_left())

KeyboardInterrupt

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022815E3

Connecting…_

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:27:c0

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 0.5s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022815E3

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:27:c0

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 3009.3 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022815E3

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:27:c0

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9427.7 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022815E3

Connecting…__

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:27:c0

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 1565712 bytes to 917696…

Writing at 0x00034000… (17 %)

A fatal error occurred: Invalid head of packet (0x01)

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022815E3

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:27:c0

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

A fatal error occurred: Failed to erase flash. Only got 1 byte status response.

chayss-MacBook-Pro:firmware-1.1.33 chays$ ./device-install.sh -f firmware-tbeam-US-1.1.33.bin

Trying to flash firmware-tbeam-US-1.1.33.bin, but first erasing and writing system information

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022815E3

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:27:c0

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Erasing flash (this may take a while)…

Chip erase completed successfully in 0.5s

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022815E3

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:27:c0

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 61440 bytes to 11950…

Wrote 61440 bytes (11950 compressed) at 0x00001000 in 0.2 seconds (effective 2994.9 kbit/s)…

Hash of data verified.

Leaving…

Hard resetting via RTS pin…

esptool.py v3.0

Found 8 serial ports

Serial port /dev/cu.usbserial-022815E3

Connecting…

Detecting chip type… ESP32

Chip is ESP32-D0WDQ6-V3 (revision 3)

Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None

Crystal is 40MHz

MAC: 3c:61:05:0c:27:c0

Uploading stub…

Running stub…

Stub running…

Changing baud rate to 921600

Changed.

Configuring flash size…

Compressed 458752 bytes to 27874…

Wrote 458752 bytes (27874 compressed) at 0x00390000 in 0.4 seconds (effective 9395.5 kbit/s)…

A fatal error occurred: MD5Sum command returned unexpected result: b’\xd2f\x0cO\xbe\x04\x19o\xb7l\x9dOg\xe3i’

chayss-MacBook-Pro:firmware-1.1.33 chays$

1 Like

I tried compiling the source code for the first time yesterday, and downloading to tbeam with M8N GPS, and tried the web server for the first time. I’m on a windows PC, so I don’t think I can use the shell script to upload the web page. I found out that the 3 web page files can be downloaded off of GitHub releases, then uploaded to http://ip_address/static . I did that, but the web page was buggy, and my T-Beam kept rebooting. I thought maybe I git downloaded the source at the wrong time, and went back to the official 1.1.33 release (for the first time). The web page upload function wasn’t working and all of my uploaded files were 0 bytes on the /static page with the official 1.1.33. Since that wasn’t an issue with the source code version, I figured that that was a bug that has already been fixed.

When you go to /static, what does it say for Free Space? We heard that esphome flasher doesn’t set the filesystem partitions properly.

We abort uploads if there is less than 50k free space.

Upload new file

This form allows you to upload files. Keep your filenames small and files under 200k.

All Files

File Size Actions
static/index.html.gz 0 Delete
static/app.css.gz 0 Delete
static/app.js.gz 0 Delete

Used : 1506 Bytes
Free : 47690 Bytes

I had this same issue a week or so ago. As @mc-hamster mentioned already, issue is with your partition scheme not being set properly. There is not enough room to install needed files.

I resolved this by using Git Bash terminal (on Windows) to flash firmware using device-install.sh method. When you install Git, Git Bash comes with it. For some reason using ESPHome-flasher GUI does not install the same way.
You can also use Linux machine and install from terminal using device-install.sh method. This is what I did before I was told about Git Bash.

Link to post documenting this same issue:
https://meshtastic.discourse.group/t/solved-help-installing-with-other-than-esphome-flasher/2214

Hope this helps.

3 Likes

Oh, after installing GitHub and PlatformIO, the install scripts became exicutable in Windows 10 command line:
C:\Users\User\Downloads\firmware-1.1.33>.\device-install.sh -f firmware-tbeam-US-1.1.33.bin
Wow, there are a lot more settings than I knew about. Is there wiki on all of the settings?:


I tried to get my tbeam to join my home wifi network, but it didn’t work whether AP mode was true or false. It just seemed to override and replace my home wifi network. There was a join wifi button, but it listed the available wifi networks without having an ability to click on one to connect to it.

Does this mean I’m illegally using 15% air time, instead of 1%? I guess GPS broadcast seconds 60 is too much for very long range but slow:

I still have message sending issues from cell phone to cell phone, but the GPS tracking appears to be working.

You bring up a good point, there should be a reference for the configuration settings. The best place for that information is in the RadioConfig area of the mesh.proto file:

If you set ap mode to false, it won’t replace your home wifi.

The web interface is not completely ready for prime time, so not everything in there works.

For the air time usage, you’re using the US firmware so I’ll assume you’re in the US. Provided you stay within the power limits, my non-lawyer read is there’s no duty cycle limits in the US, so you should be fine.

There shouldn’t be too many real world uses for very long range but slow. Totally safe to turn it down a notch or two.