上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页
  2011年12月20日
摘要: stc89c52上测试#include #include #define uchar unsigned char #define uint unsigned int sbit st=P2^4;//A/D转换控制 sbit ale=P2^3;//通道控制 sbit oe=P2^5;//输出控制 sbit eoc=P3^7;//转换结束标志 sbit addr_a=P2^0; sbit addr_b=P2^1; sbit addr_c=P2^2; void delay(uchar x) { uint a,b; for(a=x;a>0;a--) for(b=110;b>0;b--); } 阅读全文
posted @ 2011-12-20 06:51 _song 阅读(220) 评论(0) 推荐(0) 编辑
  2011年12月18日
摘要: lcdmake menuconfig:Device Drivers ---> Graphics support ---> Support for frame buffer devices ---> S3C2410 LCD framebuffer supportdevice node: /dev/fb0file: drivers/video/s3c2410fb.cAnother configuration item in the same page is: LCD select (7 inch 800x480 TFT LCD) .then 7 inch lcd will wor 阅读全文
posted @ 2011-12-18 17:08 _song 阅读(306) 评论(0) 推荐(0) 编辑
  2011年12月17日
摘要: micro24401.EINT7 中断2.LnoE 读选通3.LnwE 写选通4.LnGCS4 片选网卡和sdram,norflash都是统一编址到2440的bank区间。dm9000的片选信号接到了2440的LnGCS4,所以dm9000的bank空间应该是bank4,范围是2千万-2千8百万所以在mach-mini2440.c,根据接线方式指定网卡的基地址应该为2000 0000。但是如下/* DM9000AEP 10/100 ethernet controller */ #define MACH_MINI2440_DM9K_BASE (S3C2410_CS4 + 0x300) //#de 阅读全文
posted @ 2011-12-17 15:56 _song 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 资料dm9000-中文dm9000--aemake menuconfigDevice Drivers ---> [*] Network device support ---> [*] Ethernet (10 or 100Mbit) ---> DM9000 supportdm9000的结构图比较清晰,外层是platform,内层是net_device。平台设备在mach-mini2440.c注册,平台驱动在dm9000.c的init注册。net_device在平台的probe注册。************************************************ 阅读全文
posted @ 2011-12-17 07:55 _song 阅读(420) 评论(0) 推荐(0) 编辑
摘要: 2440的串口结构和51的对比一下会更清楚一点512440image from http://blog.csdn.net/mr_raptor/article/details/655613351的发送器:单缓冲--或叫没缓冲---SBUF,接收器:双缓冲---SBUF+shiftreg。2440的发送接收都是双缓冲---fifo+shiftreg。micro2440的串口连线com0独自使用一个max232,并且具备AFCcom1 com2共同使用一个max232max3232即一个电平转换的芯片,T1IN即TTL 1 IN即0-5v的电平in,R1IN即RS232 1 IN即+-10v的电平i 阅读全文
posted @ 2011-12-17 07:54 _song 阅读(241) 评论(0) 推荐(0) 编辑
摘要: make menuconfig:1.Device Drivers ---> Character devices ---> Serial drivers ---> Samsung Soc Serial supportobj-$(CONFIG_SERIAL_CORE) += serial_core.o 是串口核心obj-$(CONFIG_SERIAL_SAMSUNG) += samsung.o 是串口具体实现2.控制台终端计算机显示器通常被称为控制台终端(console)。必须有一个(些)特殊文件与console相关联,比如虚拟终端tty1 tty2 串口ttySAC0 ttyS 阅读全文
posted @ 2011-12-17 07:54 _song 阅读(349) 评论(0) 推荐(0) 编辑
  2011年12月13日
摘要: UDP datagram UDP数据报The unit of data that TCP sends to IP is called a TCP segment tcp报文 tcp段The unit of data that IP sends to the network interface is called an IP datagram ip数据报The stream of bits that flows across the Ethernet is called a frame帧搜索ch取得线索/********************************************** 阅读全文
posted @ 2011-12-13 06:40 _song 阅读(409) 评论(0) 推荐(0) 编辑
  2011年12月10日
摘要: arp的发出http://wenwen.soso.com/z/q186504408.htmarp欺骗http://www.visualland.net/view.php?cid=863&protocol=ARP&title=7.%20ARP%20spoofingarp代理http://blog.c114.net/html/15/562315-87382.html 阅读全文
posted @ 2011-12-10 13:56 _song 阅读(190) 评论(0) 推荐(0) 编辑
  2011年12月9日
摘要: 下载msysGit:http://code.google.com/p/msysgit/downloads/listTortoiseGit: http://code.google.com/p/tortoisegit/downloads/listGit-1.7.9-preview20120201.exe TortoiseGit-1.7.7.0-32bit.msi先安装git再安装tortoisegit,否则就要在tortoisegit的setting中设置git的路径 阅读全文
posted @ 2011-12-09 07:06 _song 阅读(170) 评论(0) 推荐(0) 编辑
摘要: refer to http://blog.csdn.net/Raptor/article/details/3228891.下载并安装TortoiseSVN-1.7.2.22327-win32-svn-1.7.2.msihttp://tortoisesvn.net/2.在u盘(J盘)建立Local Repository新建文件夹j:/svn/project1,然后右键选择create repository here,如下3.创建工作文件夹,比如d:/working/project1,然后右键选择svn checkout,如图弹出如下,直接点ok就可以取得最新版本的代码如果想要取得google c 阅读全文
posted @ 2011-12-09 06:38 _song 阅读(302) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 15 下一页