-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
After a power cycle of the nRF52840-DK, I see the firmware crash.
DEFMT_LOG=debug cargo run --bin usb-3
Finished `dev` profile [optimized + debuginfo] target(s) in 0.26s
Running `probe-rs run --chip=nRF52840_xxAA --allow-erase-all --log-format=oneline target/thumbv7em-none-eabihf/debug/usb-3`
WARN probe_rs::vendor::nordicsemi::sequences::nrf52: Core is locked. Erase procedure will be started to unlock it.
Erasing ✔ 100% [####################] 20.00 KiB @ 15.15 KiB/s (took 1s)
Programming ✔ 100% [####################] 20.00 KiB @ 10.69 KiB/s (took 2s) Finished in 3.31s
Firmware exited unexpectedly: Exception
ERROR probe_rs_debug::debug_info: Other("UNWIND: Tried to unwind `RegisterRule` at CFA = None.")
Core 0
Frame 0: __INTERRUPTS @ 0x00000100> : ERROR: UNWIND: Tried to unwind `RegisterRule` at CFA = None. @ 0x0000000000000100
Error: Exception
$ DEFMT_LOG=debug cargo run --bin usb-3
Finished `dev` profile [optimized + debuginfo] target(s) in 0.05s
Running `probe-rs run --chip=nRF52840_xxAA --allow-erase-all --log-format=oneline target/thumbv7em-none-eabihf/debug/usb-3`
Erasing ✔ 100% [####################] 20.00 KiB @ 17.43 KiB/s (took 1s)
Finished in 2.97s
00:00:00.000000 [DEBUG] RTC started (dk dk/src/lib.rs:330)
00:00:00.000030 [DEBUG] I/O pins have been configured for digital output (dk dk/src/lib.rs:353)
00:00:00.000061 [INFO ] waiting for USB connection on port J3 (dk dk/src/usbd.rs:111)If I flash it again, it works.
Metadata
Metadata
Assignees
Labels
No labels