Skip to content
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

Beta Editor (5.1.32): Bluetooth causes a fault (071) on v2 micro:bits #5185

Closed
bsiever opened this issue May 24, 2023 · 4 comments
Closed

Beta Editor (5.1.32): Bluetooth causes a fault (071) on v2 micro:bits #5185

bsiever opened this issue May 24, 2023 · 4 comments

Comments

@bsiever
Copy link

bsiever commented May 24, 2023

Describe the bug

Adding the Bluetooth extension in the current beta editor (5.1.32) causes faults on v2.21 micro:bits with fault code 071 (MICROBIT_PANIC_APP_MEMACC). No fault occurred when using a v1.5 micro:bit.

It looks like a call to app_error_fault_handler() is happening for some reason with a NRF_FAULT_ID_APP_MEMACC. Nordic docs point toward something trying to access SoftDevice memory space: https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v6.0.0%2Fgroup___n_r_f___f_a_u_l_t___i_d_s.html .

To Reproduce

Steps to reproduce the behavior:

  1. Open the beta editor (5.1.32)
  2. Create a new project
  3. Add the Bluetooth extension (nothing else is needed, not even any blocks)
  4. Download it to a v2 micro:bit (my tests were a 2.21)
  5. Observe the 017 error

Expected behavior

Bluetooth alone should not result in a fault.

micro:bit version:

v2.21 was tested.
(No fault when using a v1.5)

@martinwork
Copy link
Contributor

Related to this CODAL issue: lancaster-university/codal-microbit-v2#331

@JohnVidler
Copy link
Collaborator

This looks to have been fixed in lancaster-university/codal-microbit-v2#334 and will be included in the next tag.

@Ardumine
Copy link

I'm also getting the same error! I have the micro:bit V2 and by just using the Bluetooth extension my micro:bit gives me the error 071! It works with the makecode editor online version, but it doesn't work with pxt core!

@abchatra
Copy link
Collaborator

Fixed in /beta

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

No branches or pull requests

5 participants