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月左右。
得知是端口设置错了,于是改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月左右。
相关文章推荐
- HDU - 1702 ACboy needs your help again!
- POJ【1691】——Painting A Board
- 为Paint设置渐变器
- TaintDroid剖析之Native方法级污点跟踪分析
- (HDU 3980)Paint Chain (Nim博弈,环变链)
- AIX开机启动脚本添加方法
- 使用aidl隐式调用service出现service intent must be explicit 问题的一种解决方法
- air 学习笔记:注册表右键菜单
- 近期AI创业公司总结
- LeetCode--11. Container With Most Water
- TaintDroid剖析之Native方法级污点跟踪分析
- 你真的理解AIDL中的in,out,inout么?
- 你真的理解AIDL中的in,out,inout么?
- 你真的理解AIDL中的in,out,inout么?
- 你真的理解AIDL中的in,out,inout么?
- 你真的理解AIDL中的in,out,inout么?
- 你真的理解AIDL中的in,out,inout么?
- 你真的理解AIDL中的in,out,inout么?
- Minecraft成人类和AI协同工作的试验之地
- hdu4308 Saving Princess claire_(BFS)