Skip to content

Instantly share code, notes, and snippets.

@jp-bennett
Created January 18, 2024 16:41
Show Gist options
  • Save jp-bennett/a5b273788a57ce8d2f29e5786c4f6b49 to your computer and use it in GitHub Desktop.
Save jp-bennett/a5b273788a57ce8d2f29e5786c4f6b49 to your computer and use it in GitHub Desktop.
t-beam 1.2 With Changes
����ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13192
load:0x40080400,len:3028
entry 0x400805e4
E (837) esp_core_dump_flash: No core dum����ѥѥ���found!
E (837) esp_core_dump_flash: No core dump partition found!
[ 12][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 464][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
��@INFO | ??:??:?? 0
//\ E S H T /\ S T / C
INFO | ??:??:?? 0 Booted, wake cause 0 (boot count 1), reset_reason=reset
DEBUG | ??:??:?? 0 Filesystem files (16384/1048576 Bytes):
DEBUG | ??:??:?? 0 /prefs/channels.proto (53 Bytes)
DEBUG | ??:??:?? 0 /prefs/config.proto (83 Bytes)
DEBUG | ??:??:?? 0 /prefs/db.proto (129 Bytes)
DEBUG | ??:??:?? 0 /prefs/module.proto (96 Bytes)
[ 623][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=21 scl=22 freq=100000
[ 624][I][XPowersCommon.tpp:248] begin(): SDA:21 SCL:22
[ 629][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
INFO | ??:??:?? 0 AXP2101 PMU init succeeded, using AXP2101 PMU
[ 661][D][XPowersAXP2101.tpp:2791] setInterruptImpl(): DISABLE - HEX:0xffffffff BIN:
DEBUG | ??:??:?? 0 =======================================================================
DEBUG | ??:??:?? 0 DC1 : + Voltage:3300 mV
DEBUG | ??:??:?? 0 DC2 : - Voltage:900 mV
DEBUG | ??:??:?? 0 DC3 : - Voltage:900 mV
DEBUG | ??:??:?? 0 DC4 : - Voltage:1100 mV
DEBUG | ??:??:?? 0 ALDO1: - Voltage:1800 mV
DEBUG | ??:??:?? 0 ALDO2: + Voltage:3300 mV
DEBUG | ??:??:?? 0 ALDO3: + Voltage:3300 mV
DEBUG | ??:??:?? 0 ALDO4: - Voltage:2900 mV
DEBUG | ??:??:?? 0 BLDO1: - Voltage:1800 mV
DEBUG | ??:??:?? 0 BLDO2: - Voltage:2800 mV
DEBUG | ??:??:?? 0 =======================================================================
DEBUG | ??:??:?? 0 Battery: usbPower=1, isCharging=0, batMv=4135, batPct=100
INFO | ??:??:?? 0 Scanning for i2c devices...
[ 731][W][Wire.cpp:301] begin(): Bus already started in Master Mode.
DEBUG | ??:??:?? 0 Scanning for i2c devices on port 1
DEBUG | ??:??:?? 0 I2C device found at address 0x34
INFO | ??:??:?? 0 axp192/axp2101 PMU found
DEBUG | ??:??:?? 0 I2C device found at address 0x3c
INFO | ??:??:?? 0 ssd1306 display found
INFO | ??:??:?? 0 ssd1306 display found
DEBUG | ??:??:?? 0 0x7 subtype probed in 2 tries
INFO | ??:??:?? 0 2 I2C devices found
DEBUG | ??:??:?? 0 acc_info = 0
INFO | ??:??:?? 0 Meshtastic hwvendor=4, swver=2.2.19.a8b7490b
DEBUG | ??:??:?? 0 Setting random seed 75537961
DEBUG | ??:??:?? 0 Total heap: 178472
DEBUG | ??:??:?? 0 Free heap: 144220
DEBUG | ??:??:?? 0 Total PSRAM: 4192107
DEBUG | ??:??:?? 0 Free PSRAM: 4191847
DEBUG | ??:??:?? 0 NVS: UsedEntries 70, FreeEntries 560, AllEntries 630, NameSpaces 3
DEBUG | ??:??:?? 0 Setup Preferences in Flash Storage
DEBUG | ??:??:?? 0 Number of Device Reboots: 9
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0x105 (ESP_ERR_NOT_FOUND) at 0x40097e07
file: "src/platform/esp32/BleOta.cpp" line 16
func: static const esp_partition_t* BleOta::findEspOtaAppPartition()
expression: esp_ota_get_partition_description(part, &app_desc)
ESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0x102 (ESP_ERR_INVALID_ARG) at 0x40097e07
file: "src/platform/esp32/BleOta.cpp" line 30
func: static String BleOta::getOtaAppVersion()
expression: esp_ota_get_partition_description(part, &app_desc)
DEBUG | ??:??:?? 0 No OTA firmware available
INFO | ??:??:?? 0 Initializing NodeDB
INFO | ??:??:?? 0 Loading /prefs/db.proto
INFO | ??:??:?? 0 Loaded saved devicestate version 22
INFO | ??:??:?? 0 Loading /prefs/config.proto
INFO | ??:??:?? 0 Loaded saved config version 22
INFO | ??:??:?? 0 Loading /prefs/module.proto
INFO | ??:??:?? 0 Loaded saved moduleConfig version 22
INFO | ??:??:?? 1 Loading /prefs/channels.proto
INFO | ??:??:?? 1 Loaded saved channelFile version 22
[ 1033][E][vfs_api.cpp:105] open(): /littlefs/oem/oem.proto does not exist, no permits for creation
INFO | ??:??:?? 1 No /oem/oem.proto preferences found
DEBUG | ??:??:?? 1 cleanupMeshDB purged 0 entries
WARN | ??:??:?? 1 Using nodenum 0x7a6d648c
DEBUG | ??:??:?? 1 Number of Device Reboots: 9
DEBUG | ??:??:?? 1 Expanding short PSK #1
INFO | ??:??:?? 1 Wanted region 0, using UNSET
DEBUG | ??:??:?? 1 region=0, NODENUM=0x7a6d648c, dbsize=1
INFO | ??:??:?? 1 Saving /prefs/db.proto
WARN | ??:??:?? 1 SPI.begin(SCK=5, MISO=19, MOSI=27, NSS=18)
DEBUG | ??:??:?? 1 Read RTC time as 1705595866
INFO | ??:??:?? 1 Setting GPS power=1
DEBUG | ??:??:?? 1 WANT GPS=1
INFO | ??:??:?? 1 Setting GPS power=1
DEBUG | ??:??:?? 1 Using GPIO34 for GPS RX
DEBUG | ??:??:?? 1 Using GPIO12 for GPS TX
DEBUG | ??:??:?? 1 NeighborInfoModule is disabled
INFO | ??:??:?? 1 External Notification Module Disabled
INFO | ??:??:?? 1 Turning on screen
DEBUG | ??:??:?? 1 Module wants a UI Frame
WARN | ??:??:?? 1 RF95Interface(cs=18, irq=26, rst=23, busy=33)
INFO | ??:??:?? 1 Starting meshradio init...
DEBUG | ??:??:?? 1 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=0, time 231 ms
DEBUG | ??:??:?? 1 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=253, time 2115 ms
INFO | ??:??:?? 1 Radio freq=906.875, config.lora.frequency_offset=0.000
INFO | ??:??:?? 1 Set radio: region=UNSET, name=LongFast, config=0, ch=19, power=30
INFO | ??:??:?? 1 Radio myRegion->freqStart -> myRegion->freqEnd: 902.000000 -> 928.000000 (26.000000 mhz)
INFO | ??:??:?? 1 Radio myRegion->numChannels: 104 x 250.000kHz
INFO | ??:??:?? 1 Radio channel_num: 20
INFO | ??:??:?? 1 Radio frequency: 906.875000
INFO | ??:??:?? 1 Slot time: 42 msec
INFO | ??:??:?? 1 Set radio: final power level=20
DEBUG | ??:??:?? 1 Current limit set to 100.000000
DEBUG | ??:??:?? 1 Current limit set result 0
INFO | ??:??:?? 1 RF95 init result 0
INFO | ??:??:?? 1 Frequency set to 906.875000
INFO | ??:??:?? 1 Bandwidth set to 250.000000
INFO | ??:??:?? 1 Power output set to 20
INFO | ??:??:?? 1 RF95 Radio init succeeded, using RF95 radio
INFO | ??:??:?? 1 Not using WIFI
DEBUG | ??:??:?? 1 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=237, time 2000 ms
DEBUG | ??:??:?? 1 LoRA bitrate = 118.500000 bytes / sec
INFO | ??:??:?? 1 PowerFSM init, USB power=1
DEBUG | ?�N�����*�ѕɁstate: BOOT
[ 1426][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 320 / 4 = 80 Mhz, APB: 80000000 Hz
DEBUG | ??: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?? 4 [GPS] Found a UBlox Module using baudrate 9600
INFO | ??:??:?? 4 [GPS] Got ACK for class 0A message 04 in 78 millis.
DEBUG | ??:??:?? 4 [GPS] Module Info :
DEBUG | ??:??:?? 4 [GPS] Soft version: 7.03 (45969)
DEBUG | ??:??:?? 4 [GPS] Hard version: 00040007
DEBUG | ??:??:?? 4 [GPS] Extensions:0
DEBUG | ??:??:?? 4 [GPS] 0BB0B5620501020006394770
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 39 in 49 millis.
DEBUG | ??:??:?? 4 [GPS] B562050102000623315A
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 23 in 84 millis.
DEBUG | ??:??:?? 4 [GPS] B562050102000608163F
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 08 in 47 millis.
DEBUG | ??:??:?? 4 [GPS] B5620501020006010F38
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 01 in 47 millis.
DEBUG | ??:??:?? 4 [GPS] 244750524D432C2C562C2C2C2C2C2C2C2C2C2C4E2A35330D0A2447505654472C2C2C2C2C2C2C2C2C4E2A33300D0A2447504747412C2C2C2C2C2C302C30302C39392E39392C2C2C2C2C2C2A34380D0A2447504753412C412C312C2C2C2C2C2C2C2C2C2C2C2C2C39392E39392C39392E39392C39392E39392A33300D0A2447504753562C312C312C30312C30342C2C2C33302A37460D0AB5620501020006010F38
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 01 in 176 millis.
DEBUG | ??:??:?? 4 [GPS] B5620501020006010F38
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 01 in 48 millis.
DEBUG | ??:??:?? 4 [GPS] B5620501020006010F38
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 01 in 47 millis.
DEBUG | ??:??:?? 4 [GPS] B5620501020006010F38
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 01 in 46 millis.
DEBUG | ??:??:?? 4 [GPS] B5620501020006010F38
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 01 in 47 millis.
DEBUG | ??:??:?? 4 [GPS] B5620501020006010F38
INFO | ??:??:?? 4 [GPS] Got ACK for class 06 message 01 in 47 millis.
INFO | ??:??:?? 4 [RangeTestModule] Range Test Module - Disabled
INFO | ??:??:?? 4 [PowerFSM] Initialise the NimBLE bluetooth module
DEBUG | ??:??:?? 5 [GPS] $GPRMC,,V,,,,,,,,,,N*53
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
publishing pos@0:2, hasVal=0, Sats=0, GPSlock=0
DEBUG | ??:??:?? 5 [GPS] GPSStatus.match() new pos@0 to old pos@0
DEBUG | ??:??:?? 5 [GPS] No GPS lock
DEBUG | ??:??:?? 5 [GPS] onGPSchanged() - lost validLocation
DEBUG | ??:??:?? 5 [GPS] onGPSChanged() pos@0, time=0, lat=0, lon=0, alt=0
INFO | ??:??:?? 5 [GPS] updatePosition LOCAL pos@0, time=0, latI=0, lonI=0, alt=0
DEBUG | ??:??:?? 5 [GPS] Setting local position: latitude=0, longitude=0, time=0
DEBUG | ??:??:?? 5 [GPS] Node status update: 0 online, 1 total
INFO | ??:??:?? 6 [Screen] Done with boot screen...
DEBUG | ??:??:?? 6 [Screen] showing standard frames
DEBUG | ??:??:?? 6 [Screen] Showing 0 module frames
DEBUG | ??:??:?? 6 [Screen] Total frame count: 103
DEBUG | ??:??:?? 6 [Screen] Added modules. numframes: 0
DEBUG | ??:??:?? 6 [Screen] Finished building frames. numframes: 2
DEBUG | ??:??:?? 6 [GPS] $GPRMC,,V,,,,,,,,,,N*53
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPRMC,,V,,,,,,,,,,N*53
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPRMC,,V,,,,,,,,,,N*53
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPRMC,,V,,,,,,,,,,N*53
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPRMC,,V,,,,,,,,,,N*53
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPRMC,,V,,,,,,,,,,N*53
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
@GPSFan
Copy link

GPSFan commented Jan 18, 2024

Line 165 in your output shows the ACK from the last CFG-MSG comand sent.
The NMEA messages coming out show that those commands were properly executed.
there are no more ACKs, there should be 3 more for:
CFG-RXM // Power management
CFG-PM2 // Power management
CFG-CFG // Save config
Since there is no output in the log saying that the config was saved successfully, and no ACKs for the above 3 commands, I figure that the t-beam logic is messing things up.
I'll take a closer look and try to fake my system into thinking it is a t-beam, and proceed from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment