Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wio-e5 wip #2265

Merged
merged 41 commits into from
Jun 1, 2023
Merged

Wio-e5 wip #2265

merged 41 commits into from
Jun 1, 2023

Conversation

thebentern
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2023

🤖 Pull request artifacts

file commit
pr2265-firmware-2.1.14.fa9516f.zip fa9516f

thebentern added a commit to meshtastic/artifacts that referenced this pull request Feb 8, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Feb 10, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Feb 10, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Feb 11, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Feb 12, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Feb 20, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Feb 26, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 1, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 4, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 4, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 4, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 5, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 8, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 10, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 10, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request Apr 24, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request May 8, 2023
thebentern added a commit to meshtastic/artifacts that referenced this pull request May 30, 2023
@GUVWAF
Copy link
Member

GUVWAF commented May 30, 2023

Current log with LFS_YES_TRACE macro looks like this. Seems that at the places where it should get something from the filesystem, it's blank.

//\ E S H T /\ S T / C
.pio/libdeps/wio-e5/littlefs/lfs.c:5336:trace: lfs_mount(0x2000630c, 0x20000228 {.context=0, .read=0x8018961, .prog=0x8018981, .erase=0x80189b9, .sync=0x801892d, .read_size=16, .prog_size=16, .block_size=128, .block_count=16, .block_cycles=500, .cache_size=16, .lookahead_size=16, .read_buffer=0x200063e8, .prog_buffer=0x200063d8, .lookahead_buffer=0x200063f8, .name_max=0, .file_max=0, .attr_max=0})
.pio/libdeps/wio-e5/littlefs/lfs.c:5355:trace: lfs_mount -> 0
DEBUG | ??:??:?? 0 Filesystem files:
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "/", 0x2000fac0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5676:trace: lfs_dir_open(0x2000630c, 0x200080b8, "/")
.pio/libdeps/wio-e5/littlefs/lfs.c:5681:trace: lfs_dir_open -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5705:trace: lfs_dir_read(0x2000630c, 0x200080b8, 0x2000fae0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5710:trace: lfs_dir_read -> 1
.pio/libdeps/wio-e5/littlefs/lfs.c:5705:trace: lfs_dir_read(0x2000630c, 0x200080b8, 0x2000fae0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5710:trace: lfs_dir_read -> 1
.pio/libdeps/wio-e5/littlefs/lfs.c:5705:trace: lfs_dir_read(0x2000630c, 0x200080b8, 0x2000fae0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5710:trace: lfs_dir_read -> 1
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "/prefs", 0x2000f9c0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5676:trace: lfs_dir_open(0x2000630c, 0x20008518, "/prefs")
.pio/libdeps/wio-e5/littlefs/lfs.c:5681:trace: lfs_dir_open -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "prefs", 0x2000f728)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5676:trace: lfs_dir_open(0x2000630c, 0x20008580, "prefs")
.pio/libdeps/wio-e5/littlefs/lfs.c:5681:trace: lfs_dir_open -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5705:trace: lfs_dir_read(0x2000630c, 0x20008580, 0x2000f748)
.pio/libdeps/wio-e5/littlefs/lfs.c:5710:trace: lfs_dir_read -> 1
.pio/libdeps/wio-e5/littlefs/lfs.c:5705:trace: lfs_dir_read(0x2000630c, 0x20008580, 0x2000f748)
.pio/libdeps/wio-e5/littlefs/lfs.c:5710:trace: lfs_dir_read -> 1
.pio/libdeps/wio-e5/littlefs/lfs.c:5705:trace: lfs_dir_read(0x2000630c, 0x20008580, 0x2000f748)
.pio/libdeps/wio-e5/littlefs/lfs.c:5710:trace: lfs_dir_read -> 1
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "prefs/channels.proto", 0x2000f618)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5476:trace: lfs_file_open(0x2000630c, 0x200085b8, "prefs/channels.proto", 1)
.pio/libdeps/wio-e5/littlefs/lfs.c:5482:trace: lfs_file_open -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5645:trace: lfs_file_size(0x2000630c, 0x200085b8)
.pio/libdeps/wio-e5/littlefs/lfs.c:5650:trace: lfs_file_size -> 53
DEBUG | ??:??:?? 1 channels.proto (53 Bytes)
.pio/libdeps/wio-e5/littlefs/lfs.c:5513:trace: lfs_file_close(0x2000630c, 0x200085b8)
.pio/libdeps/wio-e5/littlefs/lfs.c:5518:trace: lfs_file_close -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5705:trace: lfs_dir_read(0x2000630c, 0x20008580, 0x2000f748)
.pio/libdeps/wio-e5/littlefs/lfs.c:5710:trace: lfs_dir_read -> 1
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "prefs/db.proto", 0x2000f620)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5476:trace: lfs_file_open(0x2000630c, 0x200085d0, "prefs/db.proto", 1)
.pio/libdeps/wio-e5/littlefs/lfs.c:5482:trace: lfs_file_open -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5645:trace: lfs_file_size(0x2000630c, 0x200085d0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5650:trace: lfs_file_size -> 139
DEBUG | ??:??:?? 2 db.proto (139 Bytes)
.pio/libdeps/wio-e5/littlefs/lfs.c:5513:trace: lfs_file_close(0x2000630c, 0x200085d0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5518:trace: lfs_file_close -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5705:trace: lfs_dir_read(0x2000630c, 0x20008580, 0x2000f748)
.pio/libdeps/wio-e5/littlefs/lfs.c:5710:trace: lfs_dir_read -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5691:trace: lfs_dir_close(0x2000630c, 0x20008580)
.pio/libdeps/wio-e5/littlefs/lfs.c:5695:trace: lfs_dir_close -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5691:trace: lfs_dir_close(0x2000630c, 0x20008518)
.pio/libdeps/wio-e5/littlefs/lfs.c:5695:trace: lfs_dir_close -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5705:trace: lfs_dir_read(0x2000630c, 0x200080b8, 0x2000fae0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5710:trace: lfs_dir_read -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5691:trace: lfs_dir_close(0x2000630c, 0x200080b8)
.pio/libdeps/wio-e5/littlefs/lfs.c:5695:trace: lfs_dir_close -> 0
INFO | ??:??:?? 2 Scanning for i2c devices...
INFO | ??:??:?? 2 No I2C devices found
INFO | ??:??:?? 2 Meshtastic hwvendor=255, swver=2.1.14.fa9516fd
INFO | ??:??:?? 2 Initializing NodeDB
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "/prefs/db.proto", 0x2000fcd0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5476:trace: lfs_file_open(0x2000630c, 0x20008630, "/prefs/db.proto", 1)
.pio/libdeps/wio-e5/littlefs/lfs.c:5482:trace: lfs_file_open -> 0
INFO | ??:??:?? 2 Loading /prefs/db.proto
.pio/libdeps/wio-e5/littlefs/lfs.c:5546:trace: lfs_file_read(0x2000630c, 0x20008630, 0x2000fd77, 1)
.pio/libdeps/wio-e5/littlefs/lfs.c:5552:trace: lfs_file_read -> 1
.pio/libdeps/wio-e5/littlefs/lfs.c:5645:trace: lfs_file_size(0x2000630c, 0x20008630)
.pio/libdeps/wio-e5/littlefs/lfs.c:5650:trace: lfs_file_size -> 139
.pio/libdeps/wio-e5/littlefs/lfs.c:5616:trace: lfs_file_tell(0x2000630c, 0x20008630)
.pio/libdeps/wio-e5/littlefs/lfs.c:5621:trace: lfs_file_tell -> 1
(cutted here, similar instructions repeating)
INFO | ??:??:?? 5 Loaded saved devicestate version 20
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "/prefs/config.proto", 0x2000fcd0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> -2
INFO | ??:??:?? 6 No /prefs/config.proto preferences found
INFO | ??:??:?? 6 Installing default LocalConfig
INFO | ??:??:?? 6 Setting default channel and radio preferences!
DEBUG | ??:??:?? 6 Expanding short PSK #1
INFO | ??:??:?? 6 Wanted region 0, using UNSET
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "/prefs/module.proto", 0x2000fcd0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> -2
INFO | ??:??:?? 6 No /prefs/module.proto preferences found
INFO | ??:??:?? 6 Installing default ModuleConfig
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "/prefs/channels.proto", 0x2000fcd0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> 0
.pio/libdeps/wio-e5/littlefs/lfs.c:5476:trace: lfs_file_open(0x2000630c, 0x20008630, "/prefs/channels.proto", 1)
.pio/libdeps/wio-e5/littlefs/lfs.c:5482:trace: lfs_file_open -> 0
INFO | ??:??:?? 6 Loading /prefs/channels.proto
.pio/libdeps/wio-e5/littlefs/lfs.c:5546:trace: lfs_file_read(0x2000630c, 0x20008630, 0x2000fd77, 1)
.pio/libdeps/wio-e5/littlefs/lfs.c:5552:trace: lfs_file_read -> 1
.pio/libdeps/wio-e5/littlefs/lfs.c:5645:trace: lfs_file_size(0x2000630c, 0x20008630)
.pio/libdeps/wio-e5/littlefs/lfs.c:5650:trace: lfs_file_size -> 53
.pio/libdeps/wio-e5/littlefs/lfs.c:5616:trace: lfs_file_tell(0x2000630c, 0x20008630)
.pio/libdeps/wio-e5/littlefs/lfs.c:5621:trace: lfs_file_tell -> 1
(cutted here, similar instructions repeating)
INFO | ??:??:?? 9 Loaded saved channelFile version 20
.pio/libdeps/wio-e5/littlefs/lfs.c:5411:trace: lfs_stat(0x2000630c, "/oem/oem.proto", 0x2000fcd0)
.pio/libdeps/wio-e5/littlefs/lfs.c:5415:trace: lfs_stat -> -2
INFO | ??:??:?? 9 No /oem/oem.proto preferences found
DEBUG | ??:??:?? 9 Expanding short PSK #1
INFO | ??:??:?? 9 Wanted region 0, using UNSET
DEBUG | ??:??:?? 9 region=0, NODENUM=0x5016112c, dbsize=1
.pio/libdeps/wio-e5/littlefs/lfs.c:5661:trace: lfs_mkdir(0x2000630c, "/prefs")
.pio/libdeps/wio-e5/littlefs/lfs.c:5665:trace: lfs_mkdir -> -17
WARN | ??:??:?? 9 No GPS found - running without GPS
WARN | ??:??:?? 9 SX126xInterface(cs=1000, irq=1001, rst=1003, busy=1004)
INFO | ??:??:?? 9 Starting meshradio init...
DEBUG | ??:??:?? 9 (bw=250, sf=11, cr=4/8) packet symLen=8 ms, payloadSize=0, time 231 ms
DEBUG | ??:??:?? 9 (bw=250, sf=11, cr=4/8) packet symLen=8 ms, payloadSize=253, time 3246 ms
INFO | ??:??:?? 9 Radio freq=, config.lora.frequency_offset=
pINFO | ??:??:?? 9 Set radio: region=UNSET, name=LongFast, config=0, ch=19, power=30
INFO | ??:??:?? 9 Radio myRegion->freqStart -> myRegion->freqEnd: -> ( mhz)
r=INFO | ??:??:?? 9 Radio myRegion->numChannels: 104 x kHz
reINFO | ??:??:?? 9 Radio channel_num: 20
INFO | ??:??:?? 9 Radio frequency:
INFO | ??:??:?? 9 Slot time: 42 msec
INFO | ??:??:?? 9 Set radio: final power level=22
INFO | ??:??:?? 9 STM32WLx init result 0
INFO | ??:??:?? 9 Frequency set to
INFO | ??:??:?? 9 Bandwidth set to
INFO | ??:??:?? 9 Power output set to 22
INFO | ??:??:?? 9 STM32WL Radio init succeeded, using STM32WL radio
DEBUG | ??:??:?? 9 (bw=250, sf=11, cr=4/8) packet symLen=8 ms, payloadSize=237, time 3057 ms
DEBUG | ??:??:?? 9 myNodeInfo.bitrate = bytes / sec
INFO | ??:??:?? 9 PowerFSM init, USB power=1

thebentern added a commit to meshtastic/artifacts that referenced this pull request May 30, 2023
@thebentern thebentern marked this pull request as ready for review June 1, 2023 12:14
@thebentern thebentern merged commit a491cee into master Jun 1, 2023
21 of 39 checks passed
@thebentern thebentern deleted the wio-e5 branch June 1, 2023 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants