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

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
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
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
Contributor

Hopefully #1939 fixes this.

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