-
Notifications
You must be signed in to change notification settings - Fork 6.4k
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
RedBear Nano v2 Mesh Instruction Fault #12488
Comments
Adding @jhedberg and @nvlsianpu since this seems like a combination of mesh with the settings subsystem |
@DrPresident, I think there is an error in the dts for the Redbear Nano v2: the storage area is defined as reg = <0x0007D000 0x00004000>, this is a to large area, the length should be smaller than 0x00003000. |
@DrPresident, I would copy the flash configuration from nrf52_pca10040: |
I applied the scratch and storage register changes, and I received the same errors with and without the CONFIG_MPU_ALLOW_FLASH_WRITE=y in the prj.conf file |
Hi @DrPresident, |
When I use nrf52_pca10040 it appears to run just fine. I will work with that for now thank you! I also then cleaned and rebuilt with blenano2, and it worked? I now have no iddea what could have been wrong. |
So storage area size is ok in blenano2 - settings will consume as much it can, up to the limit stands by SETTINGS_FCB_NUM_AREAS. |
I am attempting to get Bluetooth Mesh working on the RedBear BLE Nano v2, however I get instruction faults when running any of the sample applications that build. I have successful builds of non-bluetooth applications, and I have attempted on a few different boards of the same model. I am building on Debian stretch with ninja, and deploying by copy-pasting the .bin or the .hex file into the mounted DAPLINK board.
Board:
BLE Nano 2
Nordic nRF52832
DAPLink Firmware
zephyr/samples/bluetooth/mesh_demo
Serial Output
addr2line -e build/zephyr/zephyr.elf 0x2510
/home/drpresident/zephyr/subsys/settings/src/settings_init.c:68
settings_init.c
The text was updated successfully, but these errors were encountered: