摘要:試試看修改 ini 文件. 用文字編輯器 打開C:\Cadence\SPB_16.3\tools\capture\capture.ini 檢查裡面其中的, I* P. E2 m8 l+ u" c2 I9 J& {4 ~2 t; J- l2 P& y- x1 X[Window Placement]7 N# m7 W# C0 ^: I5 h6 J% o/ w8 qMax Position...=(-1,-1)0 J, I: P; j2 K" w* L9 n: ^Min Position...=(-1,-1). p# M8 ~$ k' C. G+ yNor
阅读全文
摘要:RS485是半双工协议,有的工控主板厂家在做RS485口时,完整的实现了自动RTS,则我们编程人员不用关心底层硬件变化,就像平时使用RS232串口一样使用,这包括我们到电子市场买的232转422或485的“博世头”,都内部自动实现了自动RTS;有的厂家没有实现自动RTS,则需要我们自己实现。前面也说过,在WIN32下,只需要关心DCB数据结构的fRtsControl成员,将其值改为RTS_CONTROL_TOGGLE即可,如下面程序:初始化部分: hCom=CreateFile("COM1",//COM1口 GENERIC_READ|GENERIC_WRITE, //允许.
阅读全文
摘要:RS485半双工软件编程实现方法1:让操作系统正确的控制RTS信号。hCOM = CreateFile(...)... DCB dcb; memset( &dcb, 0, sizeof(dcb) ); dcb.DCBlength = sizeof(DCB); dcb.fBinary = TRUE; // binary mode, no EOF check dcb.fParity = FALSE; // enable/disable parity c...
阅读全文
摘要:The short answer is that you cannot pass command line parameters to the application when using HKEY_LOCAL_MACHINE\Init to launch your application (although a command line parameter is passed to it for use with SignalStarted()). But maybe you really need to use this key to start your application beca
阅读全文
摘要:WinCE支持远程桌面功能,可以在PC端访问目标设备的WinCE桌面。这个功能在调试的时候很有用。有些时候,你的目标板不带显示设备,这时你 想访问目标板的WinCE系统感觉很不爽,毕竟习惯了桌面操作。通过WinCE远程桌面,你可以在PC上面访问目标板的WinCE桌面并进行操作。下面来介绍一下具体步骤:1. 选择支持WinCE远程桌面的组件:在WinCE的工程中选择”Core OS”->”CEBASE”->”Core OS Services”->”Debugging Tools”->”Remote Display Application”,如下图:在这里建议同时添加tel
阅读全文
摘要:1) Make the build of the whole BSP (Build Current BSP and Subproject) in release mode2) Open release directory in build window3) Display the characteristics of the file with the command "viewbin firstboot.bin"4) Convert the file .bin in to .nb0 with "cvrtbin 0x2FF000-to-r-s-w 0x3000 3
阅读全文