- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The trace output comes out of the HCI UART right? It always comes out of the HCI UART irrespective of what's attached to those pins? Is there a way to turn off all trace output or disable the HCI UART so the pins tri-state? (after boot up when the 20737 checks to see if it's meant to go into programming mode.)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
All traces come out of the ROM (so these cannot be removed, only disabled at runtime) or the application (you have full control of when trace code is included and when it is not).
As far as routing traces elsewhere, you can edit the SPAR_APP_SETUP function to set bleapp_trace_enable variable to BLE_TRACE_UART_PERIPHERAL if needed.
void SPAR_APP_SETUP(void)
{
bleapp_pre_init = application_init;
bleapp_trace_enable = BLE_TRACE_UART_PERIPHERAL; // Change back to
// BLE_TRACE_UART_HCI
// to route traces to the HCI UART
}