You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running apache-mynewt-nimble/apps/bleprph app on a micro:bit v1 yields the following problem:
$ newt run myperiph 0
App image successfully generated: ...
Loading app image into slot 1 ...
; nrf51.cpu configure -event gdb-detach {if {[nrf51.cpu curstate] eq "halted"} resume;shutdown}
GNU gdb (GNU Arm Embedded Toolchain 10.3-2021.10) 10.2.90.20210621-git
--Type <RET> for more, q to quit, c to continue without paging--
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ...
0xfffffffe in ?? ()
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
0xfffffffe in ?? ()
target halted due to debug-request, current mode: Thread
xPSR: 0xc1000000 pc: 0xfffffffe msp: 0xfffffffc
(gdb) c
Continuing.
nrf51.cpu -- clearing lockup after double fault
Program received signal SIGINT, Interrupt.
0xfffffffe in ?? ()
Hi, had a similar issue, from what I could gather you need to load both the bootloader and your app. When you halt reset your device you can see that pc is pointing at 0xfffffffe when it should be something more like 0x000000c0.
In the tutorials you'll find that there are two targets that need to be created, built and uploaded onto the device.
You've created the app but you might be missing the nrf51_boot target. This is at least what solved my issue.
Running
apache-mynewt-nimble/apps/bleprph
app on a micro:bit v1 yields the following problem:Setup:
The same problem occurs with other example apps.
The text was updated successfully, but these errors were encountered: