Hi, I'm new to platformio. I've been trying several tests with the mbed framework on the bbcmicrobit (with and without BLE support) and have been experiencing several problems. It looks like they may be related to the microbit scheduler or task management/timers. Any suggestions will be greatly appreciated.
The specific error dumped out to the terminal is:
++ MbedOS Error Info ++
Error Status: 0x80FF0144 Code: 324 Module: 255
Error Message: Assertion failed: !are_interrupts_enabled()
Location: 0x191B7
File: /Users/bsiever/.platformio/packages/framework-mbed/hal/mbed_critical_section_api.c+54
Error Value: 0x0
For more info, visit: https://armmbed.github.io/mbedos-error/?error=0x80FF0144
-- MbedOS Error Info --
Stack trace info from running in Debug mode:
ticker_read_us@0x00019576 (/Users/bsiever/.platformio/packages/framework-mbed/hal/mbed_ticker_api.c:424)
ticker_read@0x00019590 (/Users/bsiever/.platformio/packages/framework-mbed/hal/mbed_ticker_api.c:414)
wait_us@0x00019dfe (/Users/bsiever/.platformio/packages/framework-mbed/platform/mbed_wait_api_no_rtos.c:39)
mbed_die@0x0001962e (/Users/bsiever/.platformio/packages/framework-mbed/platform/mbed_board.c:37)
mbed_halt_system@0x0001999c (/Users/bsiever/.platformio/packages/framework-mbed/platform/mbed_error.c:107)
mbed_error@0x00019a14 (/Users/bsiever/.platformio/packages/framework-mbed/platform/mbed_error.c:305)
mbed_assert_internal@0x00019600 (/Users/bsiever/.platformio/packages/framework-mbed/platform/mbed_assert.c:27)
hal_critical_section_exit@0x00018ea6 (/Users/bsiever/.platformio/packages/framework-mbed/hal/mbed_critical_section_api.c:54)
core_util_critical_section_exit@0x00019792 (/Users/bsiever/.platformio/packages/framework-mbed/platform/mbed_critical.c:99)
ticker_irq_handler@0x000194dc (/Users/bsiever/.platformio/packages/framework-mbed/hal/mbed_ticker_api.c:326)
us_ticker_irq_handler@0x000195aa (/Users/bsiever/.platformio/packages/framework-mbed/hal/mbed_us_ticker_api.c:56)
invokeCallback@0x0001ad80 (/Users/bsiever/.platformio/packages/framework-mbed/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c:113)
us_ticker_handler@0x0001ad80 (/Users/bsiever/.platformio/packages/framework-mbed/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c:204)
RTC1_IRQHandler@0x0001b04e (/Users/bsiever/.platformio/packages/framework-mbed/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c:390)
Concern: It looks like there may be different critical section code that should be used when the SoftDevice is present (it was in this run), but that isn't being used.
Misc. relevant build info:
PACKAGES:
- framework-mbed 5.51105.190312 (5.11.5)
- tool-sreccat 1.164.0 (1.64)
- toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 9 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <microbit> 2.0.0-rc4
| |-- <microbit-dal> 2.0.0-rc4.build7
| | |-- <ble> 2.5.0 #bbc2dc5
| | | |-- <nrf51-sdk> 2.2.0 #56e69c3
| | |-- <ble-nrf51822> 2.5.0 #1418fe9
| | | |-- <ble> 2.5.0 #bbc2dc5
| | | | |-- <nrf51-sdk> 2.2.0 #56e69c3
| | | |-- <nrf51-sdk> 2.2.0 #56e69c3
| | |-- <nrf51-sdk> 2.2.0 #56e69c3
| |-- <nrf51-sdk> 2.2.0 #56e69c3
Building in release mode
Thanks again for any suggestions or info,
Bill
Hi, I'm new to platformio. I've been trying several tests with the mbed framework on the bbcmicrobit (with and without BLE support) and have been experiencing several problems. It looks like they may be related to the microbit scheduler or task management/timers. Any suggestions will be greatly appreciated.
The specific error dumped out to the terminal is:
Stack trace info from running in Debug mode:
Concern: It looks like there may be different critical section code that should be used when the SoftDevice is present (it was in this run), but that isn't being used.
Misc. relevant build info:
Thanks again for any suggestions or info,
Bill