您的位置:首页 > 大数据 > 人工智能

MTK功能机:怎么解决catcher出现get frame fail(checksum mismatch)

2016-07-25 16:15 726 查看
这几天调试MT2503的motion sensor,发现用catcher打印总是失败,报错为get frame fail(checksum mismatch),后在52rd论坛上搜索相关帖子,
得知是端口设置错了,于是改nvram的默认端口设置,将tst port修改为4(即uart_port_usb),重新编译,先全部格式化,再下载,catcher打印居然都正常了。

#if !defined(__CUSTOMIZED_PORT_SETTING__)
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(__DUAL_TALK_MODEM_SUPPORT__)
0, /* tst-ps uses uart_port1 */
1, /* APP uses uart_port2 */
#elif defined(__USB_MULTIPLE_COMPORT_SUPPORT__) && defined(__L4_INIT_MULTIUSB_COM__)
0, /* TST-PS uses uart_port1 */
5, /* ATCI uses uart_port_usb2 */

#else
4,//99, /* tst-ps uses uart_port_null(value is 99) */
0, /* APP uses uart_port1 (value is 0) */
#endif

看了下帖子的发表和跟帖,帖子居然是在2009年9月20日发表的,大多数跟帖也都是2009年9月左右。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: