- 博客(51)
- 资源 (10)
- 收藏
- 关注
转载 C++运算符号重载
#include using namespace std;class CVector { public: int x,y; CVector () {}; CVector (int a,int b) : x(a), y(b) {} CVector operator + (const CVector&);};CVector CVector::operat
2015-03-27 00:15:01
184
翻译 wince 6.0 编译时提示WaitForAPIReady未定义
添加C:\WINCE600\PUBLIC\COMMON\OAK\INC目录到c/C++
2014-05-15 15:33:52
360
翻译 kerneliocontrol和deviceiocontrol以及oemiocontrol的区别和作用
wince中写驱动时,调用deviceiocontrol这个函数,
2014-04-09 17:07:47
348
转载 开机进不去系统时日志
60Texas Instruments Windows CE NAND X-Loader for EVM 3730Built Jun 7 2012 at 15:06:40Version BSP_WINCE_ARM_A8 1.02.00.02......Jumping to bootloaderMicrosoft Windows CE Bootloader Common L
2014-04-09 15:27:25
403
转载 AM/DM37x Power Estimation Spreadsheet
网页地址http://processors.wiki.ti.com/index.php/AM/DM37x_Power_Estimation_Spreadsheet
2014-04-07 14:47:38
164
原创 wince 串口使用和多行显示方法
1、使用closedhandle可以关闭waitforcomevent的事件2、cedit的多行显示的方法必须设置为多行显示,从Tchar转换成string后,数据的格式会发生变化。多行显示必须设置垂直滚动条
2014-03-28 16:27:38
116
转载 windows下usb开启和关闭
关闭usb的程序:@echo offcolor 80@ ECHO.%SystemDrive%\windows\system32\systeminfo.exe|findstr /i "初始安装日期 系统启动时间"@ ECHO.@ ECHO. 说 明@ ECHO ------------
2014-02-20 17:32:15
431
翻译 cedit显示字符串方法
方法一:指针到句柄的方法,后去该Cedit的指针后直接访问。//HWND EditHandle=::GetDlgItem((HWND)pArg,IDC_EDIT1); //CWnd* pWnd = CWnd::FromHandle(EditHandle); //从句柄到指针: //CEdit *ceditrst=(CEdit *)pWnd; 方法二:直接使用
2013-12-23 19:33:55
405
转载 MFC学习笔记
1、对话框类中,使用了App和Dig这两个类,首先程序创建运行一个app,然后再运行一个dialog对话框,在对话框中加入多种空间2、线程的结束方法使用的是WaitForSingleObject等函数,对互斥资源的访问使用CreateMutex的方法访问,同时可以使用共享内存的方式访问,共享内存用extern定义
2013-12-17 14:28:57
250
翻译 21006541关键词汇翻译
21006541进入新模式之前,需要初始化操作STROBE引脚从高电平变到低电平,同时需要保持DATA强制为低电平glitch脉冲的干扰card swipe:刷磁卡
2013-12-09 13:23:08
221
翻译 wince
cclib.lib库包含EapEnumExtensions这个函数,该函数在头文件eaputil.h中有定义WZCTOOL在wince中使用方法,WZCTOOL-c tiwlnapi1 -ssid dlinkroute -auth wpa2-psk -encr aes -key 123456根据每种不用的Authentication和encryption方法来写不同的key(密码)上
2013-08-05 19:31:26
380
原创 wince 理解
在RETAILMSG(1,(_T("in6416 %s(%d)\r\n"),_T(__FUNCTION__),__LINE__));这里加入我自己的定义,说明函数已经执行到该地方了,TCA6416的gpio控制中加入了这一句以后,就可以监控到数据的流向何结果,RETAILMSG这个函数在soc目录中可以使用,必须在启动时候开启这个功能我能否监控到发送的命令,特别是reset复位的命令,
2013-07-24 19:14:45
116
翻译 wince sd卡启动分析
整了半天, XLDRSD.nb0就是生成的MLO文件,sd卡启动必须的文件,SD卡启动需要加载sd卡的驱动程序C:\WINCE600\PLATFORM\COMMON\SRC\SOC\COMMON_TI_V1\COMMON_TI\BOOT\SDMEMORYRETAILMSG这个log是在sdmemory中使用的log,OALMSG是在sdhc.c中使用的log函数,每一个环境下使用的log函
2013-07-22 19:22:36
178
翻译 window 系统函数
EnterCriticalSectionwindows api 的临界区资源操作函数由于驱动中的驱动供多个线程或程序使用,所以需要互斥的使用资源
2013-07-18 19:34:26
84
转载 Unicode下TRACE中文(_CrtDbgReport: String too long or IO Error)
1、在调试-》窗口-》输出中可以可以看到trace的输出结果2、当输入的字符数多时,会出现错误String too long or IO Error,减少字符后不会出现错误
2013-06-12 01:17:30
983
转载 编译错误
在ubuntu 12.04下编译linux内核出现如下错误: make menuconfig *** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** **
2013-05-30 14:47:48
233
转载 fstream 读文件与写文件方法
std::fstream coeffsave("d:\\fileImgMat.txt",std::iostream::out | std::iostream::trunc); coeffsave coeffsave.close(); cv::Mat oppp=cv::imread("d:\\mask.bmp"); //ShowEigen0To1Img(oppp);
2013-05-24 04:08:07
275
转载 win 7 64 软件无法上网
开始-所有程序-附件-命令提示符以管理员身份运行命令行,在弹出的窗口中运行如下命令: netsh winsock reset catalog netsh int ip reset reset.log hit 让被阻止了的svchost.exe进程恢复正常,以解决Windows 7 通信端口初始化失败的问题。
2013-05-22 13:48:22
323
原创 eigen库支持稀疏矩阵
#include #include #include typedef Eigen::SparseMatrix SpMat; // declares a column-major sparse matrix type of doubletypedef Eigen::Triplet T;int main(int argc, char** argv){int n = 300;
2013-05-09 16:54:45
1987
转载 创建chrome的link
mklink /D "C:\Users\Administrator\AppData\Local\Google\Chrome\User Data\Default\Cache" "Z:\chromecache"C:\Users\Administrator\AppData\Local\Microsoft\Windows\Temporary Internet Files这个目录是我的电脑里的ie9的暂
2013-04-30 19:58:41
412
原创 qt 编译配置
## qmake configuration for wince-msvc2005## Written for Microsoft VS 2005 for WindowsCE 6.0 (ARMV4I)# This is just a template for creating Windows CE 6 mkspecs.#include(../common/wince/qma
2013-04-28 13:55:58
617
原创 解决ubuntu下无法安装minicom的问题
在ubuntu下安装软件直接用命令:sudo apt-get install minicom但是提示软件包没有发现,解决办法是必须先执行一条命令:sudo apt-get update,然后再执行sudo apt-get install minicom就可了
2013-03-19 08:39:46
1420
翻译 nand erase
? - alias for 'help'bdinfo - print Board Info structurebootm - boot application image from memorychpart - change active partitiondate - get/set/reset date & timedcache - enable
2013-03-18 14:09:14
1214
翻译 jibe eek串口超级终端配置文档
jibe eek开发板串口配置Serial communication parameters are: * 57600bps, * 8N1 (8 data-bits, No parity, 1 stop-bit), * no flow control, * no modem control
2013-03-18 13:36:05
392
原创 usb mount , failed: No such device or address usb挂载不了
插入U盘出现的消息[root@jibe-eek /root]# [ 379.070000] usb 1-1: USB disconnect, address 3[ 381.910000] usb 1-1: new full speed USB device using maximasp-ohci and address 4[ 382.110000] usb 1-1: New US
2013-03-18 13:15:01
1758
转载 jibe eeklinux命令
fold netstat formaticc niceaddgroup free nohupadduser freeramdisk ns
2013-03-18 11:38:52
644
原创 jibe eek启动分析
U-Boot 2010.09-jibe-4-b1dev-00004-g1aade5f (Jul 27 2012 - 13:04:44)//上面显示的是uboot的内核DRAM: 128 MiBFlash: 32 MiBNAND: 512 MiBBad block table found at page 262080, version 0x01Bad block ta
2013-03-18 11:24:58
993
转载 version命令后出现的结果
MaximASP> versionU-Boot 2010.09-jibe-4-b1dev-00004-g1aade5f (Jul 27 2012 - 13:04:44)
2013-03-18 11:20:41
350
转载 执行bdinfo后出现的结果
MaximASP> bdinfon arch_number = 0x00000C5E' - try 'help'env_t = 0x00000000DRAM bank = 0x00000000-> start = 0x70000000-> size = 0x08000000baudrate = 57600 bps
2013-03-18 11:11:34
369
转载 JIBE EEK v1.4.0开发板的uboot启动显示命令
U-Boot 2010.09-jibe-4-b1dev-00004-g1aade5f (Jul 27 2012 - 13:04:44)MaximASP> bainfoUnknown command 'bainfo' - try 'help'MaximASP> ?? - alias for 'help'bdinfo - print Board Info struct
2013-03-18 11:06:50
440
原创 olimex公司的烧写软件下载地址
https://www.olimex.com/Products/ARM/JTAG/_resources/OpenOCD/这个网站上有所有的资料,和程序/home/maxim/maxim-ic/lde-v4.1/TREE/system/u-boot/u-boot /home/maxim/maxim-ic/lde-v4.1/TREE/system/u-boot/u-boot.binmax3
2013-03-16 08:51:58
225
原创 mfc笔刷实现算法,每次画新线时不需要从新绘制以前的线
#include "OScriBrush.h"/*this code writen by lizhi*/void OScriBrush::SetStyle(int iwidth,COLORREF icolor){width = iwidth;color = icolor;}void OScriBrush::DrawScriBrush(CD
2013-03-08 23:30:50
403
原创 c++ operator操作符重载以及virtual使用方法解析
// test.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include "iostream"class CA{public:void funA(){std::cout };class CAC:public CA{public:void funA(){std::cout };class
2012-12-24 22:42:16
344
原创 c语言中的extern关键字使用方法
#includeextern int i;void main(){printf("%d",i);}int i=1000;extern代表的是i这个变量在其它地方定义,在这个地方可以继续使用,只需要使用:extern 类型名 变量名,这样的定义来继续使用变量
2012-12-24 22:26:10
202
excel 文件读写,直接解码excel文件
2013-08-10
闭合型抠图(closed form matting)
2012-12-06
实现的视频采集,多幅图像采集(matlab2011b)
2012-09-03
mandelbrot set显示,支持图片保存功能,和鼠标放大功能
2012-07-16
OpenGL (GLUT for Win32 version 3.7)有glui函数库
2012-07-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人