Radio init fails for esp32-c3 and llcc68 custom hardware #6697
Closed
desaiamogh
started this conversation in
Troubleshooting
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to build a firmware for custom hardware using ESP32-C3 supermini + LLCC68 module.
Adding my variant.h + platformio.ini and serial monitor logs. As you can see my platformio.ini, I have tried all kinds of flags to get this module to work. This hardware definitely works, as I have tried a sender/receiver arduino sketch without errors its able to communicate. Only meshtastic errors out
␛[0m␛[32mINFO ␛[0m| ??:??:?? 21 ␛[32mSX126x init result -2
␛[0m␛[33mWARN ␛[0m| ??:??:?? 21 ␛[33mNo LLCC68 radio
␛[0m␛[32mINFO ␛[0m| ??:??:?? 21 ␛[32mNot using WIFI
␛[0m␛[31mERROR ␛[0m| ??:??:?? 21 ␛[31mNOTE! Record critical error 3 at src/main.cpp:1281
Any help getting this module to work will help.
Serial Monitor Logs
`//\ E S H T /\ S T / C
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mBooted, wake cause 0 (boot count 1), reset_reason=reset
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mFilesystem files (16384/1048576 Bytes):
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34m /prefs/channels.proto (92 Bytes)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34m /prefs/config.proto (174 Bytes)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34m /prefs/device.proto (115 Bytes)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34m /prefs/module.proto (90 Bytes)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34m /prefs/nodes.proto (278 Bytes)
␛[0m[ 763][I][esp32-hal-i2c.c:75] i2cInit(): Initialising I2C Master: sda=8 scl=9 freq=100000
␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mPower::lipoInit lipo sensor is not ready yet
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mScan for i2c devices
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mScan for I2C devices on port 1
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mNo I2C devices found
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34macc_info = 0
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mS:B:255,2.6.6.45fcd479
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mTotal heap: 232068
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mFree heap: 200924
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mTotal PSRAM: 0
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mFree PSRAM: 0
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mNVS: UsedEntries 0, FreeEntries 630, AllEntries 630, NameSpaces 0
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mSetup Preferences in Flash Storage
␛[0m[ 798][E][Preferences.cpp:483] getString(): nvs_get_str len fail: firmwareVersion NOT_FOUND
␛[34mDEBUG ␛[0m| ??:??:?? 0 ␛[34mNumber of Device Reboots: 1
␛[0mESP_ERROR_CHECK_WITHOUT_ABORT failed: esp_err_t 0x105 (ESP_ERR_NOT_FOUND) at 0x4203fe71
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 0x4204352f
file: "src/platform/esp32/BleOta.cpp" line 30
func: static String BleOta::getOtaAppVersion()
expression: esp_ota_get_partition_description(part, &app_desc)
␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mNo BLE OTA firmware available
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mNo WiFi OTA firmware available
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mInit NodeDB
␛[0m[ 848][E][vfs_api.cpp:105] open(): /littlefs/static/static does not exist, no permits for creation
[ 867][E][vfs_api.cpp:105] open(): /littlefs/prefs/db.proto does not exist, no permits for creation
␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoad /prefs/nodes.proto
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoaded /prefs/nodes.proto successfully
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoaded saved nodedatabase version 24, with nodes count: 1
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoad /prefs/device.proto
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoaded /prefs/device.proto successfully
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoaded saved devicestate version 24
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoad /prefs/config.proto
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoaded /prefs/config.proto successfully
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoaded saved config version 24
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoad /prefs/module.proto
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoaded /prefs/module.proto successfully
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoaded saved moduleConfig version 24
␛[0m␛[32mINFO ␛[0m| ??:??:?? 0 ␛[32mLoad /prefs/channels.proto
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mLoaded /prefs/channels.proto successfully
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mLoaded saved channelFile version 24
␛[0m[ 1009][E][vfs_api.cpp:105] open(): /littlefs/prefs/uiconfig.proto does not exist, no permits for creation
␛[31mERROR ␛[0m| ??:??:?? 1 ␛[31mCould not open / read /prefs/uiconfig.proto
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mcleanupMeshDB purged 0 entries
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mUse nodenum 0xd51c6560
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mNumber of Device Reboots: 1
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mWanted region 1, using US
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mSave to disk 0
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mSPI1.begin(SCK=7, MISO=21, MOSI=20, NSS=6)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mUse compiled/slipstreamed tzplaceholder
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mSet Timezone to GMT0
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mRead RTC time as 0
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mStart multicast thread
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mNeighborInfoModule is disabled
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mRescan for I2C keyboard
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mScan for I2C devices on port 1
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mScan address 0x1f
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mScan address 0x34
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mScan address 0x55
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mScan address 0x5a
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mScan address 0x5f
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mExternal Notification Module Disabled
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mSX126xInterface(cs=6, irq=4, rst=10, busy=2)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 1 ␛[34mSX126X_DIO3_TCXO_VOLTAGE not defined, not using DIO3 as TCXO reference voltage
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mStart meshradio init
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mRadio freq=918.875, config.lora.frequency_offset=0.000
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mSet radio: region=US, name=ShortFast, config=6, ch=67, power=22
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mmyRegion->freqStart -> myRegion->freqEnd: 902.000000 -> 928.000000 (26.000000 MHz)
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mnumChannels: 104 x 250.000kHz
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mchannel_num: 68
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mfrequency: 918.875000
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mSlot time: 8 msec
␛[0m␛[32mINFO ␛[0m| ??:??:?? 1 ␛[32mSet radio: final power level=22
␛[0m␛[32mINFO ␛[0m| ??:??:?? 21 ␛[32mSX126x init result -2
␛[0m␛[33mWARN ␛[0m| ??:??:?? 21 ␛[33mNo LLCC68 radio
␛[0m␛[32mINFO ␛[0m| ??:??:?? 21 ␛[32mNot using WIFI
␛[0m␛[31mERROR ␛[0m| ??:??:?? 21 ␛[31mNOTE! Record critical error 3 at src/main.cpp:1281
␛[0m␛[32mINFO ␛[0m| ??:??:?? 21 ␛[32mPowerFSM init, USB power=1
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 21 ␛[34mState: BOOT
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 21 ␛[34mFree heap : 170016 bytes
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 21 ␛[34mFree PSRAM : 0 bytes
␛[0m␛[32mINFO ␛[0m| ??:??:?? 21 [RangeTest] ␛[32mRange Test Module - Disabled
␛[0m␛[32mINFO ␛[0m| ??:??:?? 24 [PowerFSM] ␛[32mInit the NimBLE bluetooth module
␛[0m␛[32mINFO ␛[0m| ??:??:?? 31 [NodeInfo] ␛[32mSend our nodeinfo to mesh (wantReplies=0)
␛[0m␛[32mINFO ␛[0m| ??:??:?? 31 [NodeInfo] ␛[32mSend owner !d51c6560/Meshtastic 6560/6560
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [NodeInfo] ␛[34mInitial packet id 1096888365
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [NodeInfo] ␛[34mPartially randomized packet id 2207261742
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [NodeInfo] ␛[34mUpdate DB node 0xd51c6560, rx_time=0
␛[0m␛[31mERROR ␛[0m| ??:??:?? 31 [NodeInfo] ␛[31mError=4, return NAK and drop packet
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [NodeInfo] ␛[34mPartially randomized packet id 1469429807
␛[0m␛[33mWARN ␛[0m| ??:??:?? 31 [NodeInfo] ␛[33mAlloc an err=4,to=0xd51c6560,idFrom=0x8390242e,id=0x5795b82f
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [NodeInfo] ␛[34mEnqueued local (id=0x5795b82f fr=0xd51c6560 to=0xd51c6560, WantAck=0, HopLim=0 Ch=0x0 Portnum=5 requestId=8390242e priority=120)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mRx someone rebroadcasting for us (id=0x5795b82f fr=0xd51c6560 to=0xd51c6560, WantAck=0, HopLim=0 Ch=0x0 Portnum=5 requestId=8390242e priority=120)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mDidn't find pending packet
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mAdd packet record fr=0xd51c6560, id=0x5795b82f
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mhandleReceived(REMOTE) (id=0x5795b82f fr=0xd51c6560 to=0xd51c6560, WantAck=0, HopLim=0 Ch=0x0 Portnum=5 requestId=8390242e priority=120)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mModule 'routing' wantsPacket=1
␛[0m␛[32mINFO ␛[0m| ??:??:?? 31 [Router] ␛[32mReceived routing from=0xd51c6560, id=0x5795b82f, portnum=5, payloadlen=2
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mRouting sniffing (id=0x5795b82f fr=0xd51c6560 to=0xd51c6560, WantAck=0, HopLim=0 Ch=0x0 Portnum=5 requestId=8390242e priority=120)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mReceived a NAK for 0x0, stopping retransmissions
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mDelivering rx packet (id=0x5795b82f fr=0xd51c6560 to=0xd51c6560, WantAck=0, HopLim=0 Ch=0x0 Portnum=5 requestId=8390242e priority=120)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mUpdate DB node 0xd51c6560, rx_time=0
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mForwarding to phone (id=0x5795b82f fr=0xd51c6560 to=0xd51c6560, WantAck=0, HopLim=0 Ch=0x0 Portnum=5 requestId=8390242e priority=120)
␛[0m␛[34mDEBUG ␛[0m| ??:??:?? 31 [Router] ␛[34mModule 'routing' considered`
Beta Was this translation helpful? Give feedback.
All reactions