<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Alan0521的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Alan0521</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Alan0521]]></copyright><item><title><![CDATA[在VMware虚拟机机下，为什么添加串口，只有serial port 2, 没有serial port]]></title><link>https://blog.csdn.net/Alan0521/article/details/8286837</link><guid>https://blog.csdn.net/Alan0521/article/details/8286837</guid><author>Alan0521</author><pubDate>Wed, 12 Dec 2012 15:23:51 +0800</pubDate><description><![CDATA[在添加Serial Port时将虚拟机硬件配置中的打印机删除，再创建SerialPort时就是SerialPort1了，其它不用改变，直接可以按原有方式进行双调试的设置。

====
http://blog.tianya.cn/blogger/post_read.asp?BlogID=1439846&PostID=38575768]]></description><category></category></item><item><title><![CDATA[使文件（夹）默认显示方式为“详细信息”而非“平铺”]]></title><link>https://blog.csdn.net/Alan0521/article/details/8268867</link><guid>https://blog.csdn.net/Alan0521/article/details/8268867</guid><author>Alan0521</author><pubDate>Fri, 07 Dec 2012 12:00:26 +0800</pubDate><description><![CDATA[1、先在其中一个文件夹内选择“详细信息” 
2、选择工具 文件夹选项 查看 应用到所有文件夹 确定 
 
====
http://www.cnblogs.com/tohen/archive/2008/11/28/1342853.html]]></description><category></category></item><item><title><![CDATA[SecureCRT按退格键出现^H问题]]></title><link>https://blog.csdn.net/Alan0521/article/details/8251623</link><guid>https://blog.csdn.net/Alan0521/article/details/8251623</guid><author>Alan0521</author><pubDate>Mon, 03 Dec 2012 14:19:38 +0800</pubDate><description><![CDATA[这个问题是很古老的问题了，主要涉及到backspace键和delete键的键码映射问题。 　　BS（BackSpace） == 0x08 == ^H 　　DEL（DELete） == 0x7F == ^?
　　这个问题是很古老的问题了，主要涉及到backspace键和delete键的键码映射问题。
　　BS（BackSpace） == 0x08  == ^H
　　DEL（DELete）  =]]></description><category></category></item><item><title><![CDATA[warning: the 'gets' function is dangerous and should not be used.的解决办法]]></title><link>https://blog.csdn.net/Alan0521/article/details/8233271</link><guid>https://blog.csdn.net/Alan0521/article/details/8233271</guid><author>Alan0521</author><pubDate>Wed, 28 Nov 2012 10:19:46 +0800</pubDate><description><![CDATA[在Linux下，使用
gets(cmd)
函数报错：warning: the 'gets' function is dangerous and should not be used.
 
解决办法：采用
fgets(cmd,100,stdin);//100为size
问题解决！
 
fgets从stdin中读字符，直至读到换行符或文件结束，但一次最多读size个字符。读出的字符连同]]></description><category></category></item><item><title><![CDATA[undefined reference to 'pthread_create'问题解决]]></title><link>https://blog.csdn.net/Alan0521/article/details/8200271</link><guid>https://blog.csdn.net/Alan0521/article/details/8200271</guid><author>Alan0521</author><pubDate>Mon, 19 Nov 2012 16:54:22 +0800</pubDate><description><![CDATA[由于是Linux新手，所以现在才开始接触线程编程，照着GUN/Linux编程指南中的一个例子输入编译，结果出现如下错误：
undefined reference to 'pthread_create'
undefined reference to 'pthread_join'

问题原因：
    pthread 库不是 Linux 系统默认的库，连接时需要使用静态库 libpthrea]]></description><category></category></item><item><title><![CDATA[Serial Programming Guide for POSIX Operating Systems]]></title><link>https://blog.csdn.net/Alan0521/article/details/8141451</link><guid>https://blog.csdn.net/Alan0521/article/details/8141451</guid><author>Alan0521</author><pubDate>Fri, 02 Nov 2012 16:42:08 +0800</pubDate><description><![CDATA[Serial Programming Guide for POSIX Operating Systems

5th Edition
Michael R. Sweet
Copyright 1994-1999, All Rights Reserved.


Table of Contents



Introduction


Chapter 1, Basics of Se]]></description><category></category></item><item><title><![CDATA[如何从外网访问内网]]></title><link>https://blog.csdn.net/Alan0521/article/details/8101979</link><guid>https://blog.csdn.net/Alan0521/article/details/8101979</guid><author>Alan0521</author><pubDate>Tue, 23 Oct 2012 11:13:59 +0800</pubDate><description><![CDATA[我们知道Internet是基于TCP/IP协议的网络，计算机都是通过公网ip地址来通信的，如何从世界的任何角落访问你处于局域网中的电脑是本文所探讨的。
 

前提：你所在的居于网已经接入internet，简单的说就是你的电脑能上网
 
操作流程：
1. 我们通过路由器接入internet，路由器是有公网ip的，也就是所可以通过公网访问我们的路由器，要想访问我们内网的机器，
    只]]></description><category></category></item><item><title><![CDATA[The /etc/hosts file]]></title><link>https://blog.csdn.net/Alan0521/article/details/8084938</link><guid>https://blog.csdn.net/Alan0521/article/details/8084938</guid><author>Alan0521</author><pubDate>Thu, 18 Oct 2012 12:32:21 +0800</pubDate><description><![CDATA[As your machine gets started, it will need to know the mapping of some hostnames to IP addresses before DNS can be referenced. This mapping
 is kept in the /etc/hosts file. In the absence of a name s]]></description><category></category></item><item><title><![CDATA[Vendor daemon can't talk to lmgrd]]></title><link>https://blog.csdn.net/Alan0521/article/details/8084907</link><guid>https://blog.csdn.net/Alan0521/article/details/8084907</guid><author>Alan0521</author><pubDate>Thu, 18 Oct 2012 12:19:46 +0800</pubDate><description><![CDATA[重装cad服务器，但是装完后，license启动不了，
查看log，有如下信息：
10:06:45 (snpslmd) Vendor daemon can't talk to lmgrd (Cannot connect to license server system. (-15,570:115 "Operation now in progress"))
10:06:45 (snpslmd)]]></description><category></category></item><item><title><![CDATA[etc/ld.so.conf的使用说明]]></title><link>https://blog.csdn.net/Alan0521/article/details/8057266</link><guid>https://blog.csdn.net/Alan0521/article/details/8057266</guid><author>Alan0521</author><pubDate>Wed, 10 Oct 2012 17:05:14 +0800</pubDate><description><![CDATA[etc/ld.so.conf:

这个文件记录了编译时使用的动态链接库的路径。
默认情况下，编译器只会使用/lib和/usr/lib这两个目录下的库文件
如果你安装了某些库，比如在安装gtk+-2.4.13时它会需要glib-2.0 >= 2.4.0,辛苦的安装好glib后
没有指定 --prefix=/usr 这样glib库就装到了/usr/local下，而又没有在/etc/ld.so]]></description><category></category></item><item><title><![CDATA[What does 2>&1 mean?]]></title><link>https://blog.csdn.net/Alan0521/article/details/8054224</link><guid>https://blog.csdn.net/Alan0521/article/details/8054224</guid><author>Alan0521</author><pubDate>Tue, 09 Oct 2012 22:19:15 +0800</pubDate><description><![CDATA[182

down vote 
favorite
79





In a unix shell, if I want to combine stderr and stdout into the stdout stream for further manipulation, I can append the following on the end of my command:]]></description><category></category></item><item><title><![CDATA[Ubuntu中安装tftp/tftp-hpa服务的方法]]></title><link>https://blog.csdn.net/Alan0521/article/details/8034724</link><guid>https://blog.csdn.net/Alan0521/article/details/8034724</guid><author>Alan0521</author><pubDate>Mon, 01 Oct 2012 00:04:29 +0800</pubDate><description><![CDATA[检查tftp是否已经安装：netstat -a | grep tftp 若出现：
udp                               0                              0 *：tftp 则说明已经安装，否则没有。
1、安装相关软件包 
apt-get install tftpd （服务端）
apt-get install tftp （客户端）]]></description><category></category></item><item><title><![CDATA[细谈C语言中的编译和链接]]></title><link>https://blog.csdn.net/Alan0521/article/details/8032573</link><guid>https://blog.csdn.net/Alan0521/article/details/8032573</guid><author>Alan0521</author><pubDate>Sat, 29 Sep 2012 16:51:03 +0800</pubDate><description><![CDATA[C语言是大部分编程初学者接触的第一种语言，也许很多Cer对C的熟练已经到了炉火纯青的地步，但是当涉及到编译和链接的问题很多人却不以为然，毕竟我们在任何IDE下除了code以外对编译链接的理解就是一到两个按钮而已，但是通过阅读以下的内容，你会发现C语言本身的许多语法特性与其独到的编译连接方式是息息相关的。
     （以下内容为网上内容，由帖主整理）

     首先是预编译，这一步可以粗略的]]></description><category></category></item><item><title><![CDATA[S3C2440与SDRAM的地址连线分析]]></title><link>https://blog.csdn.net/Alan0521/article/details/8032374</link><guid>https://blog.csdn.net/Alan0521/article/details/8032374</guid><author>Alan0521</author><pubDate>Sat, 29 Sep 2012 15:01:09 +0800</pubDate><description><![CDATA[S3C2440与SDRAM的地址连线分析
--------------------------------------------------------------------------------
该文章讲述了S3C2440与SDRAM的地址连线分析.


S3C2440有27根地址线ADDR[26:0]，8根片选信号ngcs0-ngcs7,对应bank0-bank7，当访问ban]]></description><category></category></item><item><title><![CDATA[busybox文件系统的启动顺序]]></title><link>https://blog.csdn.net/Alan0521/article/details/8028358</link><guid>https://blog.csdn.net/Alan0521/article/details/8028358</guid><author>Alan0521</author><pubDate>Fri, 28 Sep 2012 14:03:46 +0800</pubDate><description><![CDATA[文件系统中执行顺序说明：
在文件系统中，配置文件主要存放在 /etc 目录里面。开机从 /linuxrc 脚本运行的话需要在内核传递参数里设置 init=/linuxrc ，因为默认是启动 /sbin/init 初始化脚本的（ busybox 编译安装以后生成的 linuxrc 文件是指向 /bin/busybox 的符号文件，应该把它删掉，自己重写脚本）。在我做的文件系统里采用这种方法，所以设]]></description><category></category></item><item><title><![CDATA[条件编译 #ifndef _HEAD_H...中下划线的理解！]]></title><link>https://blog.csdn.net/Alan0521/article/details/8027384</link><guid>https://blog.csdn.net/Alan0521/article/details/8027384</guid><author>Alan0521</author><pubDate>Fri, 28 Sep 2012 09:51:12 +0800</pubDate><description><![CDATA[一、下划线“__”属于编程风格的内容，对程序没有影响。不用下划线也可以，用几个下划线也由个人习惯。
二、其实质是一个宏名。由此我们可以防止发生重复定义或声明。
假设你的头文件名为head.h，根据习惯，我们声明一个宏HEAD_H,对应这个头文件，在头文件中开始的地方和结尾的地方加上   对HEAD_H的声明和判断，头文件Head.h如下：


#ifndef   HEAD_H 
#de]]></description><category></category></item><item><title><![CDATA[互斥信号量和二进制信号量的区别]]></title><link>https://blog.csdn.net/Alan0521/article/details/8027303</link><guid>https://blog.csdn.net/Alan0521/article/details/8027303</guid><author>Alan0521</author><pubDate>Fri, 28 Sep 2012 09:32:22 +0800</pubDate><description><![CDATA[互斥型信号量必须是同一个任务申请，同一个任务释放，其他任务释放无效。同一个任务可以递归申请。

 

       二进制信号量，一个任务申请成功后，可以由另一个任务释放。

 

二进制信号量实现任务互斥：

     打印机资源只有一个，abc三个任务共享，当a取得使用权后，为了防止其他任务错误地释放了信号量()，必须将打印机房的门关起来(进入临界段)，用完后，释放信号量，]]></description><category></category></item><item><title><![CDATA[LPC3250的nor flash地址线接法]]></title><link>https://blog.csdn.net/Alan0521/article/details/8026860</link><guid>https://blog.csdn.net/Alan0521/article/details/8026860</guid><author>Alan0521</author><pubDate>Thu, 27 Sep 2012 23:24:33 +0800</pubDate><description><![CDATA[以前接触过2410的片子，这个片子接SST39VF1601片子时候，A0是不用的，很容易理解，因为SST这个片子是16bit的，无需字节寻址，所以A0不用。
最近看到YL-LPC3250的板子在nor flash的接法上面有所不同，他们使用了同样型号的nor flash片子。但是他们却使用了A0地址，觉得很奇怪。查了手册，发现3250这个片子的EMC和三星2410的区别很大。
 
三星要求8]]></description><category></category></item><item><title><![CDATA[串口的open操作(tty_open) .]]></title><link>https://blog.csdn.net/Alan0521/article/details/8021039</link><guid>https://blog.csdn.net/Alan0521/article/details/8021039</guid><author>Alan0521</author><pubDate>Wed, 26 Sep 2012 15:22:56 +0800</pubDate><description><![CDATA[根据前面的操作，串口作为字符驱动也已经注册到系统了，/dev目录下也有设备文件节点了。
那接下来uart的操作是如何进行的呢?
操作硬件之前都是要先open设备，先来分析下这里的open函数具体做了那些工作(做了大量工作 ，真的！)。
应用层通过open系统调用open(“/dev/s3c2410_serial0”，)一层一层调用到会调用到tty_open。
因为串口在linux下是作为t]]></description><category></category></item><item><title><![CDATA[linux串口驱动分析]]></title><link>https://blog.csdn.net/Alan0521/article/details/8017115</link><guid>https://blog.csdn.net/Alan0521/article/details/8017115</guid><author>Alan0521</author><pubDate>Tue, 25 Sep 2012 17:00:44 +0800</pubDate><description><![CDATA[硬件资源及描述 
        s3c2440A 通用异步接收器和发送器（UART）提供了三个独立的异步串行 I/O（SIO）端口，每个端口都可以在中断模式或 DMA 模式下操作。UART 使用系统时钟可以支持最高 115.2Kbps 的波特率。每个 UART 通道对于接收器和发送器包括了 2 个 64 位的 FIFO。





寄存器
名称
地址
在linux中的描述 (]]></description><category></category></item></channel></rss>