<?xml version="1.0" encoding="gb2312"?><rss version="2.0"><channel><title>tiloog的博客</title><link></link><description></description><language>zh-cn</language><generator>Goodspeed Rss</generator><ttl>20</ttl><pubDate>Sat, 19 Jul 2008 09:34:37 GMT</pubDate><category></category><copyright></copyright><docs></docs><item><title>模拟器资源汇总</title><pubDate>Fri, 18 Jul 2008 09:35:31 GMT</pubDate><link>http://blog.ednchina.com/tiloog/135832/message.aspx</link><description> 在学习单片机知识的时候，我最苦恼的事情就是没有一个调试环境，因为我没有开发板，所以自己想开发一个数字钟之类的东西都很困难，要跑到实验室，求老师借一个仿真器~~，所以当时，我一直在找51的仿真平台，实际上也就是51模拟器。当时找到的几个模拟器比较丑陋，功能比较弱，而且只有51的模拟，没有其他硬件的模</description><comments></comments><guid>http://blog.ednchina.com/tiloog/135832/message.aspx</guid><category></category><author>tiloog</author></item><item><title>Linux中软中断机制分析</title><pubDate>Thu, 17 Jul 2008 09:06:02 GMT</pubDate><link>http://blog.ednchina.com/tiloog/135152/message.aspx</link><description>什么是软中断机制？ Linux中的软中断机制用于系统中对时间要求最严格以及最重要的中断下半部进行使用。在系统设计过程中，大家都清楚中断上下文不能处理太多的事情，需要快速的返回，否则很容易导致中断事件的丢失，所以这就产生了一个问题：中断发生之后的事务处理由谁来完成？在前后台程序中，由于只有中断上下文和</description><comments></comments><guid>http://blog.ednchina.com/tiloog/135152/message.aspx</guid><category></category><author>tiloog</author></item><item><title>微型虚拟示波器的设计与实现</title><pubDate>Wed, 16 Jul 2008 09:06:41 GMT</pubDate><link>http://blog.ednchina.com/tiloog/134763/message.aspx</link><description> 接触USB总线已经有5年左右的时间了，刚接触USB时就采用了周立功代理的芯片——PDIUSBD12，该芯片为USB设备控制器，可以实现批量12Mbps的数据传输率。采用该芯片我设计了一些数据采集系统以及信号发生系统，主要应用于虚拟测试。这里我想总结一下我以前设计实现的微型虚拟示波器，并对示波器的关</description><comments></comments><guid>http://blog.ednchina.com/tiloog/134763/message.aspx</guid><category></category><author>tiloog</author></item><item><title>usb转并口适配器问题</title><pubDate>Tue, 15 Jul 2008 11:02:21 GMT</pubDate><link>http://blog.ednchina.com/tiloog/134438/message.aspx</link><description> 目前，USB总线接口已经横扫了计算机外围接口，一统天下。在这种形势下，以前很多并口仿真器都被淘汰掉了，对于电子爱好者来说，这不是一件好事情，因为USB仿真器要比并口贵很多。 我手头就有好几个并口下载线，例如单片机的、FPGA的都需要用到并口。所以我一直想自己DIY一个并口，通过USB扩展并口功能，</description><comments></comments><guid>http://blog.ednchina.com/tiloog/134438/message.aspx</guid><category></category><author>tiloog</author></item><item><title>嵌入式系统中内存管理方法</title><pubDate>Tue, 15 Jul 2008 09:01:47 GMT</pubDate><link>http://blog.ednchina.com/tiloog/134383/message.aspx</link><description> 内存管理在嵌入式系统中是一个比较重要的问题，如果处理不好内存资源的管理，那么系统的鲁棒性将会大大降低，更严重的话系统将会无法正常运行。过去我在DSP平台上开发过tcp/ip协议栈，遇到过此类情况，所以在此我想对嵌入式系统中的内存管理方法进行总结，重点说明为什么不能在嵌入式系统中应用malloc函数</description><comments></comments><guid>http://blog.ednchina.com/tiloog/134383/message.aspx</guid><category></category><author>tiloog</author></item><item><title>Linux中等待队列机制分析</title><pubDate>Fri, 11 Jul 2008 10:21:07 GMT</pubDate><link>http://blog.ednchina.com/tiloog/133368/message.aspx</link><description>什么是等待队列？ 在软件开发中任务经常由于某种条件没有得到满足而不得不进入睡眠状态，然后等待条件得到满足的时候再继续运行，进入运行状态。这种需求需要等待队列机制的支持。Linux中提供了等待队列的机制，该机制在内核中应用很广泛。  在Linux内核中使用等待队列的过程很简单，首先定义一个wait_q</description><comments></comments><guid>http://blog.ednchina.com/tiloog/133368/message.aspx</guid><category></category><author>tiloog</author></item><item><title>Linux中Workqueue机制分析</title><pubDate>Thu, 10 Jul 2008 19:39:19 GMT</pubDate><link>http://blog.ednchina.com/tiloog/133253/message.aspx</link><description> 走入Linux的殿堂已经有一年有余了，在这里我想将Linux的各种实现机制分析一遍，一方面对自己来说也是温故而知新，另一方面，促进大家的交流，最好能够给大家一些抛砖引玉的启迪。我是硬件出身，搞硬件已经好多年了，从是专门软件开发也接近两年了，在这一段时间内我越发认为软硬件协同设计是未来发展的主流，软</description><comments></comments><guid>http://blog.ednchina.com/tiloog/133253/message.aspx</guid><category></category><author>tiloog</author></item><item><title>嵌入式操作系统开源项目列表</title><pubDate>Thu, 10 Jul 2008 18:30:40 GMT</pubDate><link>http://blog.ednchina.com/tiloog/133250/message.aspx</link><description>目前，网上有很多开源的嵌入式OS项目，对嵌入式RTOS感兴趣的朋友不妨关注一下:) 1. t-kernel。这是目前嵌入式领域应用最为广泛的开源实时内核，为日本开发，开源站点为：http://www.t-engine.org/2. uc/os。http://www.micrium.com/micri</description><comments></comments><guid>http://blog.ednchina.com/tiloog/133250/message.aspx</guid><category></category><author>tiloog</author></item><item><title>Linux中COW快照bitmap语义分析</title><pubDate>Thu, 10 Jul 2008 10:13:21 GMT</pubDate><link>http://blog.ednchina.com/tiloog/132992/message.aspx</link><description>快照技术是计算机技术中的传统技术，常应用于数据的快速备份。在快照实现技术中，最常用的快照算法有COW写时拷贝算法和ROW写时映射算法。COW算法适合在写少读多的情况下应用；ROW算法适合在写多读少的情况下应用。这里主要分析一下COW算法实现过程中的bitmap语义。  COW（Copy On Wri</description><comments></comments><guid>http://blog.ednchina.com/tiloog/132992/message.aspx</guid><category></category><author>tiloog</author></item><item><title>DDS信号发生器的设计与实现</title><pubDate>Wed, 09 Jul 2008 09:03:25 GMT</pubDate><link>http://blog.ednchina.com/tiloog/132716/message.aspx</link><description>写在前面 这几天看blog上的文章，发现很多人在搞DDS信号发生器，不禁想起我几年前的一个作品——基于DDS技术的信号网络化信号发生器。该信号发生器可以连入以太网络，在客户端通过操作软件可以产生各种波形：三种标准波形和任意波形。下面我对这个东东的设计与实现做详细介绍。 网络化DDS信号发生器 下图就</description><comments></comments><guid>http://blog.ednchina.com/tiloog/132716/message.aspx</guid><category></category><author>tiloog</author></item><item><title>Linux向udev发出设备事件的方法</title><pubDate>Tue, 08 Jul 2008 09:12:56 GMT</pubDate><link>http://blog.ednchina.com/tiloog/132385/message.aspx</link><description> 这几天在做一个项目的过程中遇到了如下问题：运行在Linux内核的驱动程序需要主动向udev发出删除设备的请求，这个问题也就是内核通过何种措施向驻留在用户态的udev进程发送事件，通知udev进程去删除设备？ 为了搞清楚这个问题，对Linux设备管理进行了分析，最后终于找到了解决问题的办法。首先我们</description><comments></comments><guid>http://blog.ednchina.com/tiloog/132385/message.aspx</guid><category></category><author>tiloog</author></item><item><title>scsi middle level驱动分析</title><pubDate>Mon, 07 Jul 2008 09:07:56 GMT</pubDate><link>http://blog.ednchina.com/tiloog/132045/message.aspx</link><description>1、写在前面 去年有一段时间对scsi middle level层驱动进行了分析，形成了零零散散的文档。今天抽空对scsi middlelevel层驱动进行总结，希望对大家在理解scsi以及Linux驱动机制方面有所帮助。另外，scsi middle level比较庞大，所以很多细节部分的内容会在后</description><comments></comments><guid>http://blog.ednchina.com/tiloog/132045/message.aspx</guid><category></category><author>tiloog</author></item><item><title>usb_d12固件程序共享</title><pubDate>Mon, 07 Jul 2008 08:56:09 GMT</pubDate><link>http://blog.ednchina.com/tiloog/132032/message.aspx</link><description> 到目前为止，接触pdiusbd12程序已经接近5年多了，差不多6年光景了。前一段时间搞了一个usb开发的小项目，又将usb的固件等程序整理了一遍，该程序的源码如下： (欢迎大家下载使用!!!!!!!)  pdiusbd12固件程序主要分成如下几部分：1、 应用层。该层主要在main.c文件中实现，</description><comments></comments><guid>http://blog.ednchina.com/tiloog/132032/message.aspx</guid><category></category><author>tiloog</author></item><item><title>块设备驱动编写总结二</title><pubDate>Thu, 03 Jul 2008 08:44:54 GMT</pubDate><link>http://blog.ednchina.com/tiloog/130613/message.aspx</link><description>初始化一个块设备 每个块设备都拥有一个操作接口：struct block_device_operations，该接口定义了open、close、ioctl等函数接口，但没有，也没有必要定义read、write函数接口。 初始化一个块设备的过程如下：int setup_device(block_dev</description><comments></comments><guid>http://blog.ednchina.com/tiloog/130613/message.aspx</guid><category></category><author>tiloog</author></item><item><title>Linux的启动过程描述</title><pubDate>Wed, 02 Jul 2008 14:01:00 GMT</pubDate><link>http://blog.ednchina.com/tiloog/130406/message.aspx</link><description> --&amp;amp;gt;Linux启动时首先会运行bios中的基本程序 --&amp;amp;gt;通过bios中的程序，系统会找到启动设备，其会依次扫描bios中设置的所有启动设备，从优先级最高的启动设备中启动。 --&amp;amp;gt;bios启动程序会访问启动设备，一般的启动设备为IDE或者SATA硬盘，那么他会访问硬盘的引导扇区</description><comments></comments><guid>http://blog.ednchina.com/tiloog/130406/message.aspx</guid><category></category><author>tiloog</author></item><item><title>块设备驱动编写总结一</title><pubDate>Wed, 02 Jul 2008 13:24:27 GMT</pubDate><link>http://blog.ednchina.com/tiloog/130401/message.aspx</link><description>前一段时间一直在Linux下搞块设备驱动的开发，实现了多个块设备模块，现将块设备驱动开发的一些方法总结一下。 块设备与字符设备的区别1、 从字面上理解，块设备和字符设备最大的区别在于读写数据的基本单元不同。块设备读写数据的基本单元为块，例如磁盘通常为一个sector，而字符设备的基本单元为字节。所以</description><comments></comments><guid>http://blog.ednchina.com/tiloog/130401/message.aspx</guid><category></category><author>tiloog</author></item><item><title>Scsi host driver编写总结</title><pubDate>Mon, 30 Jun 2008 18:46:20 GMT</pubDate><link>http://blog.ednchina.com/tiloog/129907/message.aspx</link><description> 前一段时间在Linux平台上做了一个virtual SCSI host driver，该virtual scsi host driver主要实现将scsi command转换成块设备的请求，即将块设备伪装成一个标准scsi设备。在此对scsi host driver的编写做一下总结。 Scsi h</description><comments></comments><guid>http://blog.ednchina.com/tiloog/129907/message.aspx</guid><category></category><author>tiloog</author></item><item><title>感动中国，我们会更加努力</title><pubDate>Mon, 19 May 2008 18:19:06 GMT</pubDate><link>http://blog.ednchina.com/tiloog/116854/message.aspx</link><description>最近在我们的身边发生了太多的震动与感动.作为80后的一员我深深的体会到了我们中华民族的凝聚力,有这样的一种凝聚力,再大的灾难,再大的打击我们都能挺过去,我们向世人证明了中华民族的优秀品质在我们这代人身上没有丢,我们会延续老一代革命先烈的优良传统,先天下之忧而忧,后天下之乐而乐! 作为一名技术工作者,</description><comments></comments><guid>http://blog.ednchina.com/tiloog/116854/message.aspx</guid><category></category><author>tiloog</author></item><item><title>raid6 theory summary3</title><pubDate>Fri, 09 May 2008 17:18:11 GMT</pubDate><link>http://blog.ednchina.com/tiloog/114247/message.aspx</link><description>9、分类讨论数据恢复过程RAID6可以恢复两个磁盘同时失效时的硬盘数据。针对不同的磁盘失效情况，RAID6采取的数据恢复算法有所不同，因此，需要分类讨论数据恢复过程。可以将磁盘数据恢复过程分成如下四种情况进行讨论。9.1 P盘和Q盘数据损坏这种情况比较简单，由于原始数据部分是完好无损的，因此P和Q的</description><comments></comments><guid>http://blog.ednchina.com/tiloog/114247/message.aspx</guid><category></category><author>tiloog</author></item><item><title>raid6 theory summary2</title><pubDate>Fri, 09 May 2008 17:03:16 GMT</pubDate><link>http://blog.ednchina.com/tiloog/114222/message.aspx</link><description>8、P-Q校验码的生成方法此处重点讨论采用Reed-Solomon算法生成P、Q校验码。Reed-Solomon编码的码字格式如下：   n (Total Symbols)     K (data symbols) 数据   2t (Parity symbols) 校验码  RAID6采用P+ Q的</description><comments></comments><guid>http://blog.ednchina.com/tiloog/114222/message.aspx</guid><category></category><author>tiloog</author></item></channel></rss>