*edit: subsequent issue resolved. downloaded and installed VCD drivers from FTDI virtual serial port drivers *
edit edit that worked once.
additional issue resolved:
I am having trouble updating firmware on my TTGO board.
I have 4 pcs 868Mhz EU? board that I ordered from lilygo with meshtastic pre-installed.
Downloaded ESPhome, installed drivers, downloaded and unzipped the latest frimware 0.9.7
connected board ,
Using ‘COM5’ as serial port.
Showing logs:
[23:09:40]ets Jun 8 2016 00:22:57
[23:09:40]
[23:09:40]rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[23:09:40]configsip: 0, SPIWP:0xee
[23:09:40]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[23:09:40]mode:DIO, clock div:2
[23:09:40]load:0x3fff0018,len:4
[23:09:40]load:0x3fff001c,len:1044
[23:09:40]load:0x40078000,len:8896
[23:09:40]load:0x40080400,len:5828
[23:09:40]entry 0x400806ac
Trying to flash:
Using ‘COM5’ as serial port.
Unexpected error: could not open port ‘COM5’: PermissionError(13, ‘Ingen tilgang.’, None, 5)
Not sure how to proceed, I am not a programmer and the PY/api/putty/ is daunting to me.
side note: I use termite rs232 serial terminal for most simple serial related Q&A…
can you directly control the unit by sending serial text to it, if so where do I find a list of commands?
If it helps, this is what I got from the termite:
booted, wake cause 0 (boot count 1), reset_reason=reset
I2C device found at address 0x34
axp192 PMU found
I2C device found at address 0x3c
ssd1306 display found
done
Meshtastic swver=0.7.6, hwver=1.0-EU865
Setting random seed 1560878585
Total heap: 243312
Free heap: 194140
Total PSRAM: 4194252
Free PSRAM: 4194252
chip id detect 0x3
Detect CHIP :AXP192
OUTPUT Register 0x5f
AXP192 Begin PASS
DCDC1: ENABLE
DCDC2: ENABLE
LDO2: ENABLE
LDO3: ENABLE
DCDC3: ENABLE
Exten: ENABLE
DCDC1: ENABLE
DCDC2: ENABLE
LDO2: ENABLE
LDO3: ENABLE
DCDC3: ENABLE
Exten: ENABLE
SRC REG:0xcf
Charging enable is enable
Charging target-voltage : 0x2
end when the charge current is lower than 10% of the set value
Charge current : 1000.00 mA
enable [0x40]val:0xdc
enable [0x41]val:0xff
enable [0x42]val:0x3b
Turning on screen
Read RTC time as 1 (cur millis 1530) valid=0
Connected to UBLOX GPS successfully
RadioConfig reset!
Installing AES128 key!
Initial packet id 2035403725, numPacketId 4294967295
Loading saved preferences
Loaded saved preferences version 10
Installing AES256 key!
NODENUM=0xb2247d54, dbsize=3
Starting meshradio init…
Set radio: name=shtf, config=3, ch=6, power=23
LORA init result 0
Screen: Started…
sending owner !ac67b2247d54/pad/p
Update DB node 0xb2247d54, rx_time=0
old user !ac67b2247d54/pad/p
updating changed=0 user !ac67b2247d54/pad/p
Adding packet record (id=0x7951cbd0 Fr0x54 To0xff, WantAck0, HopLim3 Payload:User)
enqueuing for send (id=0x7951cbd0 Fr0x54 To0xff, WantAck0, HopLim3 encrypted)
txGood=0,rxGood=0,rxBad=0
showing standard frames
Starting low level send (id=0x7951cbd0 Fr0x54 To0xff, WantAck0, HopLim3 encrypted)
Transition powerFSM transition=boot timeout, from=BOOT to=ON
Setting bluetooth enable=1
Pre BT: 179352 heap size
Starting bluetooth
*** Mesh service:
Completed sending (id=0x7951cbd0 Fr0x54 To0xff, WantAck0, HopLim3 encrypted)
Lora RX (id=0x7951cbd0 Fr0x54 To0xff, WantAck0, HopLim2 encrypted)
Rx someone rebroadcasting for us (id=0x7951cbd0 Fr0x54 To0xff, WantAck0, HopLim2 encrypted)
Found existing packet record for fr=0xb2247d54,to=0xffffffff,id=2035403728
Ignoring incoming msg, because we’ve already seen it: fr=0xb2247d54,to=0xffffffff,id=2035403728,hop_limit=2
Lora RX (id=0x0f6e0cc0 Fr0x48 To0x54, WantAck0, HopLim3 encrypted)
Adding packet record (id=0x0f6e0cc0 Fr0x48 To0x54, WantAck0, HopLim3 encrypted)
FIXME not implementedFIXME-update-db Sniffing packet
Delivering rx packet (id=0x0f6e0cc0 Fr0x48 To0x54, WantAck0, HopLim3 Payload:User)
Trigger powerFSM 3
Ignoring incoming time, because we have a GPS
Forwarding to phone (id=0x0f6e0cc0 Fr0x48 To0x54, WantAck0, HopLim3 Payload:User)
Update DB node 0xb2247d48, rx_time=0
old user !ac67b2247d48/jostein.mobil/j
updating changed=0 user !ac67b2247d48/jostein.mobil/j
Telling client we have new packets 1
Telling client we have new packets 1