I am participating in the K-Way + Arduino challenge and I am working on a solution that include the Nicla Sense ME running and Edge Impulse model and sending data through BLE, but the board can’t support BLE together with an Edge Impulse model.
I’ve tried different precompiled (optimized) mbed OS for the Nicla from this forum
This is the error with the Original BSP of the Nicla Sense ME 3.5.4:
Edge Impulse Sensor Fusion Inference
++ MbedOS Error Info ++
Error Status: 0x80FF0144 Code: 324 Module: 255
Error Message: Assertion failed: _stack_buffer != NULL
Location: 0x4B381
File: NRFCordioHCIDriver.cpp+186
Error Value: 0x0
Current Thread: main Id: 0x20003FA0 Entry: 0x22583 StackSize: 0xC00 StackMem: 0x20003FE8 SP: 0x20004AE4
For more info, visit: https://mbed.com/s/error?error=0x80FF0144&tgt=NICLA
-- MbedOS Error Info --
The 3 options shared there doesn’t work for me, just receiving hard faults when trying them.
++ MbedOS Fault Handler ++
FaultType: HardFault
Context:
R 0: 2000BA28
R 1: 00000001
R 2: 20006564
R 3: 6C646E61
R 4: 2000372C
R 5: 00000026
R 6: 0005ECD9
R 7: 00000000
R 8: 00000000
R 9: 00000000
R 10: 00000000
R 11: 00000000
R 12: FFFFFFFF
SP : 20007488
LR : 0001F811
PC : 6C646E60
xPSR : 21070000
PSP : 20007468
MSP : 2000FFC0
CPUID: 410FC241
HFSR : 40000000
MMFSR: 00000000
BFSR : 00000001
UFSR : 00000000
DFSR : 00000000
AFSR : 00000000
Mode : Thread
Priv : Privileged
Stack: PSP
-- MbedOS Fault Handler --
++ MbedOS Error Info ++
Error Status: 0x80FF013D Code: 317 Module: 255
Error Message: Fault exception
Location: 0x6C646E60
Error Value: 0x2000A594
Current Thread: main Id: 0x20003F80 Entry: 0x22557 StackSize: 0xC00 StackMem: 0x200068D0 SP: 0x20007488
For more info, visit: https://mbed.com/s/error?error=0x80FF013D&tgt=NICLA
-- MbedOS Error Info --
I would appreciate it if you can help me here, please.
I think that the ArduinoBLE library I am using is very big, maybe having a simplified version of it could help.
Thankse