博客首页
注册
建议与交流
排行榜
加入友情链接
推荐
投诉
搜索:
帮助
Atmel RM9200 嵌入式
选择嵌入式,选择钱途。
zhj1011.cublog.cn
管理博客
发表文章
留言
收藏夹
· 嵌入式-ARM+LINUX
· 硬件设计
博客圈
音乐
相册
· 相册
文章
· ARM
· Bootloader
· 嵌入式入门基础
· 嵌入式提高阶段
· 我的生活
· 这才是人生
· 硬件知识
· 博闻古今
首页
关于作者
姓名:拥有天使翅膀的魔鬼 职业:学生 年龄:24 位置:江苏 个性介绍:阳光 死生由天命 成败靠自己
||
<<
>>
||
我的分类
文章列表 - 嵌入式提高阶段
C语言精华文章
<table style="border-collapse: collapse;" align="center" border="1" bordercolor="#dddddd" cellpadding="0" cellspacing="0" width="360"> <tbody><tr height="60"><td align="center" width="60"><img src="/fileicon/pdf.gif" alt="" border="0"></td><td> <table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr height="20"><td align="center" width="40">文件:</td><td>嵌入式CC++语言精华文章集锦.pdf</td></tr> <tr height="20"><td align="center" width="40">大小:</td><td>1715KB</td></tr> <tr height="20"><td align="center" width="40">下载:</td><td><a href="http://blogimg.chinaunix.net/blog/upfile2/080922091942.pdf">下载</a></td></tr> </tbody></table> </td></tr> </tbody></table><table style="border-collapse: collapse;" align="center" border="1" bordercolor="#dddddd" cellpadding="0" cellspacing="0" width="360"> <tbody><tr height="60"><td align="center" width="60"><img src="/fileicon/rar.gif" alt="" border="0"></td><td> <table style="……
查看全文
发表于:2008-09-22 ┆
阅读(51)
┆
评论(0)
基于ATMEL AT91RM9200的嵌入式Linux移植笔记-文章引自:http://piaoxi
<table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td align="center" height="25"><font style="font-size: 14pt;" color="#02368d"><b>基于ATMEL AT91RM9200的嵌入式Linux移植笔记</b></font><br> </td></tr> <tr><td bgcolor="#d2dee2" height="1"><br></td></tr> <tr><td bgcolor="#ffffff" height="1"><br></td></tr> <tr><td align="center"> <table style="border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody><tr><td width="100%"> <div id="art" width="100%" style="margin: 15px;"> <div> <div> </div> <table style="border-collapse: collapse;" bgcolor="#f1f1f1" border="1" bordercolor="#999999" cellpadding="0" cellspacing="0" width="95%"> <tbody> <tr> <td> <p style="margin: 5px; line-height: 150%;">文章说明:calmarrow(lqm)原创</p> <p style="margin: 5px; line-height: 150%;">文章引自:<a href="http://piaoxiang.cublog.cn/">http://piaoxiang.cublog.cn</a></p><p style="margin: 5px; lin……
查看全文
发表于:2008-09-18 ┆
阅读(50)
┆
评论(0)
嵌入式浏览器Konqueror/E的移植常见问题
<DIV><FONT size=4>需要使用的文件:cross-2.95.3.tar.bz2</FONT></DIV> <DIV><FONT size=4> cross-arm-extra.tar.gz</FONT></DIV> <DIV><FONT size=4> tmake-1.11.tar.gz</FONT></DIV> <DIV><FONT size=4> jpegsrc.v6b.tar.gz</FONT></DIV> <DIV><FONT size=4> e2fsprogs-1.35.tar.gz</FONT></DIV> <DIV><FONT size=4> qt-x11-2.3.2.tar.gz</FONT></DIV> <DIV><FONT size=4> qt-embedded-2.3.7.tar.gz</FONT></DIV> <DIV><FONT size=4> qtopia-free-1.7.0.tar.gz</FONT></DIV……
查看全文
发表于:2008-08-13 ┆
阅读(200)
┆
评论(0)
提供cross-arm-extra.tar.gz下载
<DIV>最近在做嵌入式浏览器的移植,需要用到工具cross-arm-extra,遍寻google,baidu不得遇,最后终于在一个网站下到了。现提供与各位共享。需要者,请留下您的邮箱!</DIV>
查看全文
发表于:2008-08-07 ┆
阅读(128)
┆
评论(4)
基于ARM的网络视频监控开发+网页按钮控制摄像头方位
<DIV><FONT size=2>要用到的软件包 <BR><BR> 摄像头驱动: http://mxhaard.free.fr/spca50x/embedded/KernelPatch/usb-2.4.31LE06.patch.tar.gz <BR> 服务器视频采集: http://mxhaard.free.fr/spca50x/embedded/Servfox/servfox-R1_0_0.tar.gz <BR> 客户端播放视频: ftp://ftp5.linuxeden.com/hardware/spcaview-20061208.tar.gz <BR> 浏览器java plugs: http://software.lupaworld.com/data/upload/jre-1_5_0_06-linux-i586-rpm.bin <BR>(1)安装摄像头驱动</FONT></DIV> <DIV><FONT size=2>将usb-2.4.31LE06.patch.tar.gz 复制到/armlinux/kernel/driver/usb下,解压,打补丁</FONT></DIV> <DIV><FONT size=2> #tar -xvzf usb-2.4.31.patch.gz </FONT></DIV> <DIV><FONT size=2> #patch -p1 < usb-2.4.31.patch <BR> 此时就会在此目录下看到spca5xx文件夹了.不知是何原因,估计是KERNEL版本的原因,在/armlinux/kernel/driver/usb 的目录中的Makefile 和config.in中找不到对应的关键字,此时会有一些错误,并将错误放在Makefile.rej 和config.in.rej 两文件中,打开两个文件,分别将其中前面有+的文字……
查看全文
发表于:2008-07-30 ┆
阅读(202)
┆
评论(0)
sqlite-3.5.4在Linux下的安装以及和QT的链接和QT支持中文显示
<DIV><A href="http://www.sqlite.org/download.html"><STRONG>http://www.sqlite.org/download.html</STRONG></A><STRONG>下载sqlite-3.5.4.tar.gz</STRONG></DIV> <DIV><STRONG>#tar xzvf sqlite-3.5.4.tar.gz</STRONG></DIV> <DIV><STRONG>#cd /mnt/sqlite-3.5.4</STRONG></DIV> <DIV><STRONG>#./configure</STRONG></DIV> <DIV><STRONG>#make</STRONG></DIV> <DIV><STRONG>会出现关于tclsqlite.lo的错误</STRONG></DIV> <DIV><STRONG>在configure中添加</STRONG></DIV> <DIV><STRONG>--disable-tcl</STRONG></DIV> <DIV><STRONG>结果还是出现这个错误,但是sqlite-3.5.4目录下已经生成可执行文件“sqlite3”</STRONG></DIV> <DIV><STRONG>安装完成</STRONG></DIV> <DIV><STRONG></STRONG> </DIV> <DIV><STRONG>#./sqlite3 foo.db 运行sqlite3,建立数据库名为foo.db,foo.db文件自动存放与目录sqlite-3.5.4下</STRONG></DIV> <DIV><STRONG>进入sqlite3后,会出现一下文字:</STRONG></DIV> <DIV><STRONG>SQLite version 3.5.4</STRONG></DIV> <DIV><STRONG>Enter ".help" for instructions</STRONG></DIV> <DIV><STRONG>sqlitr>……
查看全文
发表于:2008-04-11 ┆
阅读(253)
┆
评论(0)
Linux编程-2
<DIV><STRONG><FONT color=#009900 size=5>设置闹钟的方法</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>#include <signal.h></FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>//for struct itimerval</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>//for setitimer</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>#include <unistd.h></FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>#include <stdio.h></FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>void sigroutine(int signo)</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>{</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5> switch(signo)</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5> { case SIGALRM;</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5> printf("Catch a signal --SIGALRM\n");</FONT></STRONG></DIV> <DIV><……
查看全文
发表于:2008-02-24 ┆
阅读(208)
┆
评论(0)
Linux编程-1
<DIV><FONT color=#009900><STRONG><FONT size=5>atoi的使用:<SPAN style="FONT-SIZE: 15pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><FONT color=#009900>字符串转换成相应的整数。</FONT></SPAN></FONT></STRONG></FONT></DIV> <DIV><STRONG><FONT color=#009900 size=5>//atoi.c</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>#include <stdio.h></FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>#include <stdlib.h></FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>int main(int argc,char **argv)</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5>{</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5> printf("%d\n",atoi(argv[1]);</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#009900 size=5> return 0;</FONT></STRONG></DIV> <DIV><STRONG><FONT color=#00990……
查看全文
发表于:2008-02-21 ┆
阅读(311)
┆
评论(0)
UDP方式点对点通讯
<DIV><FONT size=5><STRONG>UDP通讯服务器端源代码如下:<BR></STRONG></FONT> <TABLE> <TBODY> <TR> <TD> <P><BR><STDIO.H><STRING.H><SYS><NETINET><SYS><ERRNO.H><STDLIB.H><ARPA><FONT size=5><STRONG>#include <stdio.h><BR>#include <string.h><BR>#include <sys/types.h><BR>#include <netinet/in.h><BR>#include <sys/socket.h><BR>#include <errno.h><BR>#include <stdlib.h><BR>#include <arpa/inet.h></STRONG></FONT></P> <P><FONT size=5><STRONG>int main(int argc, char **argv)<BR>{<BR>struct sockaddr_in s_addr;<BR>struct sockaddr_in c_addr;</STRONG></FONT></P> <P><FONT size=5><STRONG>//结构sockaddr_in在头文件netinet/in.h中定义。</STRONG></FONT></P> <P><FONT size=5><STRONG>/*Structure describing an Internet socket address.*/</STRONG></FONT></P><FONT size=5><STRONG></STRONG> <P><BR></FONT><STRONG><FONT size=5>int sock;<BR>socklen_t addr_len;<BR>int len;<BR>char buff[128];<BR><BR>/* 创建 socket , 关键在于这个 SOCK_DGRAM */<BR>if ((sock = socket(AF_INET, ……
查看全文
发表于:2008-01-14 ┆
阅读(371)
┆
评论(0)
如何将Windows下开发的源程序移植到Linx平台上来
<DIV><STRONG><FONT size=5>Windows下开发的源程序要移植到Linux平台上来,前提是C程序要规范。</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>如果所用到的头文件都是C语言标准库中的头文件。</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>C89标准中:</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><assert.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><ctype.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><errno.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><float.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><limits.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><locale.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><math.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><setjmp.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><signal.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><stdarg.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5><stddef.h></FONT></STRONG></DIV> <DIV><STRO……
查看全文
发表于:2008-01-13 ┆
阅读(271)
┆
评论(0)
Linux下C语言基础
<DIV> <DIV><STRONG><FONT size=5></FONT></STRONG></DIV><STRONG><FONT size=5></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>//main.c</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>#include <stdio.h></FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>int main(int argc,char **argv)</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>{</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5> printf("this is in main\n");</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5> return 0;</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>}</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>vi编辑main.c时。插入输入方式按ESC退出时,则在下面输入命令,用于进一步的操作。</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>:%s/printf("/printf("%s(%d)-%s/g</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>将字符串printf("替换成printf("%s(%d)-%s</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5>运行结果:</FONT></STRONG></DIV> <DIV><STRONG><FONT size=5> <DIV><STRONG>……
查看全文
发表于:2008-01-09 ┆
阅读(404)
┆
评论(0)
QT所开发界面的交叉编译以及QT的移植
<DIV><FONT style="BACKGROUND-COLOR: #006666" color=#000000 size=5>在Linux通过终端与ARM开发板通信:</FONT></DIV> <DIV><FONT style="BACKGROUND-COLOR: #006666" color=#000000 size=5> #minicom -s</FONT></DIV> <DIV><FONT style="BACKGROUND-COLOR: #006666" color=#000000 size=5> 对终端进行配置</FONT></DIV> <DIV><FONT style="BACKGROUND-COLOR: #006666" size=5> Serial port setup下:</FONT></DIV> <DIV><FONT style="BACKGROUND-COLOR: #006666" size=5> A - Serial Device : /dev/ttyS0 ;串口号</FONT></DIV> <DIV><FONT style="BACKGROUND-COLOR: #006666" size=5> E - Bps/par/Bits : 115200 8N1 ;波特率</FONT></DIV> <DIV><FONT style="BACKGROUND-COLOR: #006666" size=5> F - Hardware Flow Control :NO</FONT></DIV> <DIV><FONT style="BACKGROUND-COLOR: #006666" size=5> </FONT></DIV> <DIV><FONT style……
查看全文
发表于:2007-12-20 ┆
阅读(528)
┆
评论(0)
QT之学习进程
<DIV style="BACKGROUND-COLOR: rgb(255,153,51); TEXT-ALIGN: center"><FONT size=6><SPAN style="FONT-WEIGHT: bold">QT之学习进程<BR></SPAN></FONT> <DIV style="TEXT-ALIGN: left"><FONT size=6><BR> <FONT style="FONT-WEIGHT: bold" size=5>运行Qt Designer的方法有两种,一种是在终端下运行 <BR> #designer &<BR>命令,可以启动QT。另外的方法是:主菜单——>编程——>更多编程工具——>Qt Designer 。为方便起见,可在桌面建一快捷方式,直接从主菜单中拖出即可。<BR> 入门实例1:<BR><BR> 运行Qt Designer<BR><BR> 打开:File——>New——>C++ Project <BR><BR style="COLOR: rgb(0,102,102)"><SPAN style="COLOR: rgb(0,102,102)"> <SPAN style="COLOR: rgb(102,204,204)"> <SPAN style="COLOR: rgb(102,1,153)">注意:最后生成的可执行文件名与工程和源文件所放置的直接的那个文件夹同名。</SPAN></SPAN></SPAN><BR><BR> 打开:File——>New——>C++ Source File<BR><BR> 输入以下程序:<BR> #include <qapplication.……
查看全文
发表于:2007-11-28 ┆
阅读(342)
┆
评论(2)