catcher打串口日志 总是提示 uart buffer full
配置:
static port_setting_struct const NVRAM_EF_PORT_SETTING_DEFAULT[]=
{
{
#if defined (WISDOM_MMI) || defined(NEPTUNE_MMI)
0, /* tst-ps uses UART_port2(value is 1) */
1, /* APP uses uart_port1 (value is 0) */
#elif defined(__USB_MULTIPLE_COMPORT_SUPPORT__) && defined(__L4_INIT_MULTIUSB_COM__)
0, /* TST-PS uses uart_port1 */
5, /* ATCI uses uart_port_usb2 */
#else
0, /* tst-ps uses uart_port_null(value is 99) */
1, /* APP uses uart_port1 (value is 0) */
#endif
#if defined(EMPTY_MMI)
921600, /* tst default baud rate for project without MMI */
#elif defined (WISDOM_MMI)
/* under construction !*/
#elif defined(__USB_MULTIPLE_COMPORT_SUPPORT__) && defined(__L4_INIT_MULTIUSB_COM__)
921600, /* TST-PS baud uses 921600 */
#else
115200, /* tst default baud rate base = 115200 = 0x0001C200 */
#endif
#if defined (__PS_SERVICE__)
115200, /* ps default baud rate base = 115200 = 0x0001C200 */
#else
57600, /* ps default baud rate base = 57600 = 0x0000E100 */
#endif
KAL_FALSE, /* High SpeedSIM */
0, /* SWDBG */
#if defined(__ONLY_ONE_UART__)
1, /* uart power setting (0x03) */
#else
3,
#endif
99, /* CTI uart port: uart_null (value is 0x63 (99) */
0, /* CTI baud rate: auto*/
#if defined (WISDOM_MMI) || defined(NEPTUNE_MMI)
0,
#elif defined(__USB_MULTIPLE_COMPORT_SUPPORT__) && defined(__L4_INIT_MULTIUSB_COM__)
1, /* TST-L1 baud uses uart_port2 */
#else
0, /* tst-l1 uart port, same as tst-ps*/
#endif
#if defined(EMPTY_MMI)
921600, /* tst default baud rate for project without MMI */
#elif defined (WISDOM_MMI)
/* under construction !*/
#elif defined(__USB_MULTIPLE_COMPORT_SUPPORT__) && defined(__L4_INIT_MULTIUSB_COM__)
921600, /* TST-L1 baud uses 921600 */
#else
115200, /* tst default baud rate base = 115200 = 0x0001C200 */
#endif
0, /* tst output mode*/
#if !defined( __UL1_STANDALONE__ )
0, /* USB logging mode */
#else
#if defined(__Modem_3G_LOGGING__) && defined(_DSPIRDBG__)
/* under construction !*/
#else
1,
#endif /* defined(__MODEM_3G_LOGGING__) && defined(_DSPIRDBG__) */
#endif /* __UL1_STANDALONE__ */
99, //TST-DSP
921600, //TST-DSP baudrate
0 // USB CD-ROM config, 0:CD-ROM , 1: COM
},
};
日志里面经常提示:
292 13:42:59:859 2013/03/07 Get L1 Frame (0xA5) failed (0x7)
293 13:43:00:359 2013/03/07 [Lost] L1: Some data are lost, and not sent to pc. (UART buffer full!)
294 13:43:00:796 2013/03/07 [Lost] L1: Some data are lost, and not sent to pc. (UART buffer full!)
295 13:43:00:796 2013/03/07 [Lost] L1: 4 msg lost in this frame. (L1 trace buffer full!)
296 13:43:00:796 2013/03/07 [Lost] L1: Some data are lost, and not sent to pc. (UART buffer full!)
297 13:43:00:796 2013/03/07 [Lost] L1: Some data are lost, and not sent to pc. (UART buffer full!)
298 13:43:01:750 2013/03/07 [Lost] L1: 4 msg lost in this frame. (L1 trace buffer full!)
299 13:43:01:750 2013/03/07 [Lost] L1: Some data are lost, and not sent to pc. (UART buffer full!)
300 13:43:01:750 2013/03/07 [Lost] L1: Some data are lost, and not sent to pc. (UART buffer full!)
301 13:43:01:750 2013/03/07 [Lost] L1: Some data are lost, and not sent to pc. (UART buffer full!)
302 13:43:02:203 2013/03/07 [Lost] L1: 4 msg lost in this frame. (L1 trace buffer full!)
303 13:43:02:203 2013/03/07 [Lost] L1: Some data are lost, and not sent to pc. (UART buffer full!)
304 13:43:02:203 2013/03/07 [Lost] L1: Some data are lost, and not sent to pc. (UART buffer full!)
将串口的波特率提高些,看看。