Skip to content

Increase the delay when powering up the T1000-E to avoid hangs on boot#1894

Open
alexsporn wants to merge 1 commit intomeshcore-dev:devfrom
alexsporn:fix/t1000-hang-on-boot
Open

Increase the delay when powering up the T1000-E to avoid hangs on boot#1894
alexsporn wants to merge 1 commit intomeshcore-dev:devfrom
alexsporn:fix/t1000-hang-on-boot

Conversation

@alexsporn
Copy link
Copy Markdown

It seems that 10ms is too short to allow the LR1110 to power up and stabilize before we call radio_init().
This increases the delay to 150ms which seems to work fine on my devices.

Fixes #1780

@weebl2000
Copy link
Copy Markdown
Contributor

RadioLib already handles the startup timings of LR1110. This seems like a workaround for a different problem. Waiting 150ms should not really be necessary. I think it's coincidence/placebo 👀 .

@alexsporn
Copy link
Copy Markdown
Author

RadioLib already handles the startup timings of LR1110. This seems like a workaround for a different problem. Waiting 150ms should not really be necessary. I think it's coincidence/placebo 👀 .

I tried it on 2 devices and waiting on boot at this point is the only way to get it to boot consistently.
The device won't boot and will hang. It is pretty easily identified because you won't hear the booting buzzer sound.
See my issue here #1780
And a new issue by a different user with the same observation: #1921

I actually found this issue trying to do the same, changing the BLE pin, but found out that the simple reboot already breaks it. Even deploying a new version won't fix it, only a full wipe and restart.

I tried to debug this by waiting on the serial to be connected before continuing the boot (so that I could get all the debug logs while booting), but I could not get it to hang due to the implicit delay I added by waiting on a serial connection.

The waiting a couple of milliseconds longer (150ms is to be safe) on board init consistently fixed this issue.

@alexsporn alexsporn changed the title Increase the delay when powering up the T1000-E to avoid hangs on radio_init Increase the delay when powering up the T1000-E to avoid hangs on boot Mar 6, 2026
@weebl2000
Copy link
Copy Markdown
Contributor

Hopefully #1939 fixes this.

robekl added a commit to robekl/MeshCore that referenced this pull request Mar 23, 2026
Reimplements meshcore-dev/MeshCore PR meshcore-dev#1894 on top of 467959c for the 1.14.1 maintenance branch.

References:
PR: meshcore-dev#1894
Seeed SenseCAP T1000 introduction: https://wiki.seeedstudio.com/SenseCAP_T1000_tracker/Introduction/

Rationale:
This change increases the board bring-up delay from 10 ms to 150 ms before the radio stack is used on the T1000-E. The patch is a single-line board-specific timing adjustment intended to avoid boot hangs caused by talking to the radio before it is ready. It does not affect protocol logic, shared abstractions, or non-T1000-E targets, which makes it an appropriate maintenance fix.
@alexsporn alexsporn force-pushed the fix/t1000-hang-on-boot branch from 0118f23 to 4d1ee19 Compare April 19, 2026 16:05
@alexsporn
Copy link
Copy Markdown
Author

Rebased on latest 1.15.0. It is still the only way that my 6x T1000e boot successfully after an update/reboot.

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.

2 participants