-
Notifications
You must be signed in to change notification settings - Fork 1.3k
nrf52840 (clue): DEBUG=1 build not booting #4768
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
Comments
Reproduced this on a feather_nrf52840_express. Hooked up a debugger and captured this stack:
Not sure where that invalid pin_number is coming from; will investigate further. |
Re-tested this on 7.0.0-alpha.4 and got a different stack:
|
This new traceback may be #5018 |
I think this is two separate issues. The first is due to us trying deinit objects that we never initialized. The pin_number is invalid because it was never set. I've been hunting the second one as well and will reply on #5018. |
Does this still happen for folks? I can't replicate it now. |
See my comment in issue #5018.
…On Wed, Jul 28, 2021 at 7:19 PM Scott Shawcroft ***@***.***> wrote:
Does this still happen for folks? I can't replicate it now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4768 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNJKEVQQDSPXAEGO2VVBYLT2CNARANCNFSM446MF2FA>
.
|
How did you all copy the build over? UF2? I suspect the bootloader is failing on images >512k in size (1MB+ uf2 file). adafruit/Adafruit_nRF52_Bootloader#213 |
I have been using the uf2 bootloader. I just loaded a debug 7.0.0-alpha.5
build on a Feather nrf52840
Express using a jlink connection and it booted correctly. The .uf2 size was
1127936 bytes.
…On Mon, Aug 2, 2021 at 5:01 PM Scott Shawcroft ***@***.***> wrote:
How did you all copy the build over? UF2? I suspect the bootloader is
failing on images >512k in size (1MB+ uf2 file).
adafruit/Adafruit_nRF52_Bootloader#213
<adafruit/Adafruit_nRF52_Bootloader#213>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4768 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNJKEUVNOH2YPXDQZ4VJULT24IVPANCNFSM446MF2FA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email>
.
|
Thanks @DavePutz. Let's consider this fixed. |
I built at 7.0.0-alpha.2-584-g25a44cb77 with DEBUG=1, and got a red light and no CIRCUITPY drive. With DEBUG=0 or the binary from s3, it works. This makes me think that DEBUG=1 is broken at least for clue and possible for other nRF52s.
The text was updated successfully, but these errors were encountered: