forked from ARMmbed/mbed-os
-
Couldn't load subscription status.
- Fork 14
Open
Description
Description of defect
Began trying to use trace in my BLE projects to get more insight what is happening behind the scenes.
However if also enable tracing for the Cordio HCI packets, then i get a hard fault.
Target(s) affected by this defect ?
Artemis Thing Plus (have no idea if other chips might be affected or not)
Toolchain(s) (name and version) displaying this defect ?
Mbed Studio V1.4.3
What version of Mbed-os are you using (tag or sha) ?
Mbed OS 6.15.1
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
ARMC V6.16
How is this defect reproduced ?
Compile and run this official example. Use this mbed_app.json:
{
"target_overrides": {
"*": {
"platform.stdio-baud-rate": 115200,
"mbed-trace.enable": true,
"mbed-trace.max-level": "TRACE_LEVEL_DEBUG",
"cordio.trace-hci-packets": true,
"cordio.trace-cordio-wsf-traces": true,
"ble.trace-human-readable-enums": true
},
"K64F": {
"target.components_add": ["BlueNRG_MS"],
"target.features_add": ["BLE"],
"target.extra_labels_add": ["CORDIO"]
},
"NUCLEO_F401RE": {
"target.components_add": ["BlueNRG_MS"],
"target.features_add": ["BLE"],
"target.extra_labels_add": ["CORDIO"]
},
"NRF52840_DK": {
"target.features_add": ["BLE"]
},
"NRF52_DK": {
"target.features_add": ["BLE"]
}
}
}
Then set cordio.trace-hci-packets option to false and the program will execute without hard fault.
Metadata
Metadata
Assignees
Labels
No labels