友善2440开发板开启串口输出调试信息
2010-07-20 22:54
483 查看
友善2440开发板开启串口输出调试信息 收藏
document.body.oncopy = function () { if (window.clipboardData) { setTimeout(function () { var text = clipboardData.getData("text"); if (text && text.length > 300) { text = text + "\r\n\n本文来自CSDN博客,转载请标明出处:" + location.href; clipboardData.setData("text", text); } }, 100); } } function StorePage() { d = document; t = d.selection ? (d.selection.type != 'None' ? d.selection.createRange().text : '') : (d.getSelection ? d.getSelection() : ''); void (keyit = window.open('http://www.365key.com/storeit.aspx?t=' + escape(d.title) + '&u=' + escape(d.location.href) + '&c=' + escape(t), 'keyit', 'scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes')); keyit.focus(); }2440开发板,WINCE6.0系统,系统启动时发现串口工具没有输出任何信息,Google一下,原来是友善把它屏蔽了。
解决方法:
1、修改Debug.c文件,增加#define BSP_DEBUG_UART0,如下所示
// Function: OEMInitDebugSerial
//
// Initializes the debug serial port
//
#if defined(KITL_SERIAL_UART0)
#define BSP_DEBUG_UART0
#elif defined(KITL_SERIAL_UART1)
#define BSP_DEBUG_UART1
#endif
#define BSP_DEBUG_UART0 //add
#undef BSP_DEBUGPORT
#if defined(BSP_DEBUG_UART0) || defined(BSP_DEBUG_UART1)
#define BSP_DEBUGPORT
#endif
// Function: OEMInitDebugSerial // // Initializes the debug serial port // #if defined(KITL_SERIAL_UART0) #define BSP_DEBUG_UART0 #elif defined(KITL_SERIAL_UART1) #define BSP_DEBUG_UART1 #endif #define BSP_DEBUG_UART0 //add #undef BSP_DEBUGPORT #if defined(BSP_DEBUG_UART0) || defined(BSP_DEBUG_UART1) #define BSP_DEBUGPORT #endif 2、修改platform.reg,屏蔽串口0相关配置代码
3、重新生成镜像,烧入即可。
----------------------------------------------------------
尊重他人劳动成果,转载请标明出处http://www.cnblogs.com/feishanm
相关文章推荐
- 友善2440开发板开启串口输出调试信息
- 凌阳SPCE3200精简开发板:解决附带实验程序中printf无法输出串口调试日志信息的问题
- 51单片机单串口同时实现AT指令和调试信息输出
- wince 串口调试信息输出
- wince 串口调试信息输出
- symbian 利用蓝牙串口服务输出调试信息
- symbian 利用蓝牙串口服务输出调试信息
- 友善之臂2440中WinCE BSP中串口打印信息的实现介绍
- 2440汇编控制LED(IO端口)和串口输出,用于调试wince的startup.s函数
- 转:友善之臂2440中WinCE BSP中串口打印信息的实现介绍
- 增加调试信息串口输出和网络输出功能
- wince 串口调试信息输出
- EVM_3530 改默认的UART3串口调试信息输出口为UART1
- symbian 利用蓝牙串口服务输出调试信息zz
- 开启调试信息输出
- STM32输出调试信息-printf重定向到串口
- 解决mini2440串口无法输出调试信息
- LINUX系统的调试信息是如何从串口输出的
- Linux调试信息输出串口设备号的设置
- Linux调试信息输出串口设备号的设置