So… I tried the code and it seems the code always worked with one of the boards. I think I just purchased a defective board.
The peripheral code and the central code work perfectly fine on one board, and the other board always has fault errors.
Upon visual inspection, the Bluetooth module looks blemished (rust? fire?). I’m going to return it and get a new board (as I ordered on amazon). I had the shield blocking the Bluetooth, and never bothered to try reversing the code as I had the sensor/shield on on of the boards the whole time.
Thanks for your help, and I’m sorry to have wasted your time. … I think I’ve spent way too much time on a defective board. Though… I’ve learned a lot about the board? :roll:
R3: 14A4D
R4: 10001168
R5: 10001198
R6: FFFFFFFF
R7: 0
R8: 0
R9: 0
R10: 0
R11: 0
R12: 0
SP : 100071C8
LR : 14A57
PC : 11190
xPSR : 1000000
PSP : 100071A8
MSP : 1005FF70
CPUID: 410FC241
HFSR : 40000000
MMFSR: 0
BFSR : 82
UFSR : 0
DFSR : 0
AFSR : 0
BFAR : 1C
Mode : Thread
Priv : Privileged
Stack: PSP
-- MbedOS Fault Handler --
++ MbedOS Error Info ++
Error Status: 0x80FF013D Code: 317 Module: 255
Error Message: Fault exception
Location: 0x11190
Error Value: 0x100061C0
Current Thread: main Id: 0x10004760 Entry: 0x293C5 StackSize: 0x1000 StackMem: 0x10006220 SP: 0x100071C8
For more info, visit: https://mbed.com/s/error?error=0x80FF013D&tgt=SFE_ARTEMIS
-- MbedOS Error Info --