- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm getting strange output when I try to display the trace of a BLE application over the serial USB cable.
I'm using the right settings (115200n8) and I tried with different tools (miniterm.py, screen, gtkterm) under Mac, Windows and Linux.
I get some output that makes sense and some that is completely hazardous (non ASCII characters)
Here is the output of hello_sensor:
Broadcom Debug Port: BLEAPP CFA d�hello_senso����02 16 00 00 2a �48 65 6c 6c 6f 00 00 00 00 00 00 00 00 00 00 00 �02 18 00 01 2a ����23 20 56 7c 05 cf 6e b4 c3 41 77 28 51 82 7e 1b �32 2f2 9b 5e ���0a 18 �02 4f 00 29 2a �42 72 6f 61 64 63 6f 6d �02 51 00 24 2a �31 32 33 34 00 00 00 00 �02 53 00 23 2a �93 b8 63 80 5f 9f 91 71 �0f 18 �02 63 00 19 2a �64 02 01 06 03 19 00 permission check retCode = 00 23 20 56 7c 05 cf 6e b4 c3 41 77 28 51 82 7e 1b �02 01 05 11 0blecm evt handl01 0a 20 00 @$*#04FFF6F70092011E0300C1E804640000008003BA1A002800008003BE1A000000008003AE1A620000008003B21A020000008003B61A050005008003BA1A032800008003BE1A000000008003AE1A630000008003B21A020000008003B61A010001008003BA1A192A00008003BE1A000000008003DA1A0000000000074A05177A732000074E0531690000000782061100010000078206040100000007820603100E000007820620000F000007820601201C000007A207000001000007A607000000000007D2070000000000071A080100000000078A08010000000007EE07000000000007A2080000000000E5490B000000000007362A0100@$*#04FF1EF7009201030000073A2A500000000007522A500001000007021F0100hello_sensor_timeout:hello_sensor_timeout:1
hello_sensor_timeout:2
hello_sensor_timeout:hello_sensor_timeout:4
hello_sensor_timeout:5
hello_sensor_timeout:6
hello_sensor_timeout:hello_sensor_timeouthello_sensor_timeout:9
hello_sensor_timeout:10
hello_sensor_timeout:11
hello_sensor_timeout:1hello_sensor_timeout:13
hello_sensor_timeout:1hello_sensor_timeout:15
hello_sensor_timeout:16hello_sensor_timeout:17
hello_sensor_timeout:18hello_sensor_timeout:hello_sensor_timeout:20hello_sensor_timeout:21
hello_sensor_timeout:hello_sensor_timeout:23
hello_sensor_timeout:24
Does anybody has an idea of what could be wrong ?
Solved! Go to Solution.
- Labels:
-
Debug
-
HCI UART
-
Peripherhal UART
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried the following:
bleapp_set_cfg((UINT8 *)gatt_database,
sizeof(gatt_database),
(void *)&app_cfg,
NULL, // Don't configure the puart.
(void *)&gpio_cfg,
app_create);
This might solve the problem because PUART is not used anymore by the app.How to Disable PUART