cybt_353027_eval puart debug problem

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

cross mob
JoSt_3481606
Level 4
Level 4
First like received

I have a stock wiced studio 6.4 . I have two cybt-353027 boards.  I am trying to run the app.beacon snip.  I believe the device is getting programmed correctly as I can scan and see the beacons, however no debug info is coming out of the puart.

demo.beacon-CYBT_353027_EVAL PORT=COM11 download

if I program this

demo.hello_sensor-CYBT_353027_EVAL PORT=COM11 download

I see degug info out the puart.

Again this is all stock.  I know the swtiches are set right and I am seeing data on com8 at 115200 with hello sensor just not with beacon.

both make files have

C_FLAGS += -DWICED_BT_TRACE_ENABLE

is there a problem with the beacon project?

0 Likes
1 Solution
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Please add the following code to set the Pins for UART:

    wiced_set_debug_uart( WICED_ROUTE_DEBUG_TO_PUART );

    wiced_hal_puart_select_uart_pads( WICED_PUART_RXD, WICED_PUART_TXD, 0, 0); //set UART pins

You also need to include the platform files with the following code:

#include "wiced_platform.h"

View solution in original post

0 Likes
2 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

Please add the following code to set the Pins for UART:

    wiced_set_debug_uart( WICED_ROUTE_DEBUG_TO_PUART );

    wiced_hal_puart_select_uart_pads( WICED_PUART_RXD, WICED_PUART_TXD, 0, 0); //set UART pins

You also need to include the platform files with the following code:

#include "wiced_platform.h"

0 Likes

You also need #include "wiced_hal_puart.h"  but it works.

Thanks

0 Likes