quick question: trace output

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.)

0 Likes
1 Solution
MichaelF_56
Moderator
Moderator
Moderator
250 sign-ins 25 comments on blog 10 comments on blog

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

  }

View solution in original post

4 Replies