<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[小驹德尔驾的专栏]]></title><description><![CDATA[嵌入式板卡，嵌入式系统]]></description><link>https://blog.csdn.net/Devincoder</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Devincoder]]></copyright><item><title><![CDATA[嵌入式ARM设计历程（三）]]></title><link>https://blog.csdn.net/Devincoder/article/details/12958847</link><guid>https://blog.csdn.net/Devincoder/article/details/12958847</guid><author>Devincoder</author><pubDate>Wed, 23 Oct 2013 01:05:27 +0800</pubDate><description><![CDATA[最近游走了多家嵌入式商家网站学习学习，发现ARM嵌入式核心板卡厂家已经渐渐开始泛滥。既有早前做开发板现在也卖点核心板卡的如：友善之臂，飞凌。也有Toradex，研华这类专供核心板卡的综合方案的供应商。核心板卡的种类大致上也都是围绕那么几家主流的IC厂商，所以大多比较雷同。我以前设计过的那款9260曾经想选用金手指的方式来做，后来放弃的，现在也看到有些厂商选用了金手指这种方式，除此之外大概还有几种：]]></description><category></category></item><item><title><![CDATA[Jlink无法下载调试的问题]]></title><link>https://blog.csdn.net/Devincoder/article/details/12816147</link><guid>https://blog.csdn.net/Devincoder/article/details/12816147</guid><author>Devincoder</author><pubDate>Thu, 17 Oct 2013 01:16:59 +0800</pubDate><description><![CDATA[前段时间调试CM3的片子，遇到的几个问题，这里共享下解决的方法


点击调试以后出现：Could not load file debugger aborted
 
原因：options forTarget debuginflash->utilities中 要选上 update target before debugging
 
另一个错误：size limit 32K.原因是keil]]></description><category></category></item><item><title><![CDATA[嵌入式ARM设计历程（二）]]></title><link>https://blog.csdn.net/Devincoder/article/details/12814507</link><guid>https://blog.csdn.net/Devincoder/article/details/12814507</guid><author>Devincoder</author><pubDate>Thu, 17 Oct 2013 01:04:50 +0800</pubDate><description><![CDATA[1个月以后我们的核心板和底板都陆续做出来了，调试工作比我们想象的多很多，虽说参考了官方的设计，但因为增加和更换了一些IC，所以驱动上的工作有一些，也有些原理设计上的问题，林林总总调试加重新改板又花了几个月，最后也都做出来了。上层软件的工作并行的进行中，用开发板进行调试。等硬件板卡做好的时候就直接移植上去，很小的修改便可以工作，这正是我当时所想的东西。现在的态度是，嵌入式板卡的设计更新速度并不会很快]]></description><category></category></item><item><title><![CDATA[嵌入式ARM设计历程（一）]]></title><link>https://blog.csdn.net/Devincoder/article/details/12757761</link><guid>https://blog.csdn.net/Devincoder/article/details/12757761</guid><author>Devincoder</author><pubDate>Tue, 15 Oct 2013 22:23:24 +0800</pubDate><description><![CDATA[很早以前在作为一个刚刚涉及嵌入式领域的我，嵌入式系统就是一个令我向往的东西，单单从一个做技术的人的角度出发，在学校的时候已经玩了两年的单片机，帮老师做项目，参加学校各种电子类的比赛。那会儿还都是一些围绕8位，16单片机做的方案。再后来有了ARM7的课程，学校里的老师也是一知半解，所以斩获很少，内心里十分向往围绕ARM的项目，但苦于身边没有。当时的淘宝上已经渐渐的有ARM
 9的开发板卖了，所以自]]></description><category></category></item><item><title><![CDATA[Zstack 中新建任务]]></title><link>https://blog.csdn.net/Devincoder/article/details/6618088</link><guid>https://blog.csdn.net/Devincoder/article/details/6618088</guid><author>Devincoder</author><pubDate>Tue, 19 Jul 2011 20:06:54 +0800</pubDate><description><![CDATA[Zstack(TI的Zigbee协议栈)中,对于每个用户自己新建立的任务通常需要两个相关的处理函数,包括:(1).用于初始化的函数,如:SampleApp_Init(), 这个函数是在osalInitTasks()这个osal(Zstack中自带的小操作系统)中去调用的,其目的就]]></description><category></category></item><item><title><![CDATA[USB 布线]]></title><link>https://blog.csdn.net/Devincoder/article/details/6598072</link><guid>https://blog.csdn.net/Devincoder/article/details/6598072</guid><author>Devincoder</author><pubDate>Mon, 11 Jul 2011 16:49:35 +0800</pubDate><description><![CDATA[2011-03-15 00:24:21|  分类： 电子硬件|字号 订阅看usb是什么版本的，如果是2.0版本的，一般需要控制差分阻抗90欧姆，线宽/线距需要根据叠层结构在满足阻抗的情况下调整；如果是1.0版本，没什么特别要求，尽量近并等长就可以了（关键是等长）。我的总结：1、有]]></description><category></category></item><item><title><![CDATA[PCB 布板参数]]></title><link>https://blog.csdn.net/Devincoder/article/details/6598052</link><guid>https://blog.csdn.net/Devincoder/article/details/6598052</guid><author>Devincoder</author><pubDate>Mon, 11 Jul 2011 16:43:44 +0800</pubDate><description><![CDATA[PCB layout最终目的就是应用生产，成为一个正式的有效的产品的时候，layout的工作才算告一个段落。那么在layout的时候，应该注意哪些常规的要点，才能使自己画的文件有效符合一般PCB加工厂规则，不至于给企业造成不必要的额外支出？根据本人多年的实际经验，以及制作PCB技]]></description><category></category></item><item><title><![CDATA[uCos-II V2.52的学习调试]]></title><link>https://blog.csdn.net/Devincoder/article/details/6595053</link><guid>https://blog.csdn.net/Devincoder/article/details/6595053</guid><author>Devincoder</author><pubDate>Sat, 09 Jul 2011 18:05:16 +0800</pubDate><description><![CDATA[http://blog.cechina.cn/xilinxue/208665/message.aspx学习一种的新的东西，观看书或看论坛可不行。最主要的还是要亲自去动手体会。学习编程就是要不断的从修修改改中领会程序的奥妙。学习uCos-ii也不例外，Jean J.Labrosse]]></description><category></category></item><item><title><![CDATA[Ucos_II2.52源码中文译注]]></title><link>https://blog.csdn.net/Devincoder/article/details/6595047</link><guid>https://blog.csdn.net/Devincoder/article/details/6595047</guid><author>Devincoder</author><pubDate>Sat, 09 Jul 2011 18:04:20 +0800</pubDate><description><![CDATA[Ucos_II2.52源码中文译注Ucos_II2.52是一份非常完美的嵌入式开发系统，在学习ARM的基础上，嵌入ucos系统并增加自己的源码是一件不错的选择，目前在市面上已经有了大量的ucos嵌入案例，特别是在arm和dsp的应用当中，已经成为一种主流，虽然和其它的嵌入式系统相]]></description><category></category></item><item><title><![CDATA[老电子工程师的多年经验电子产品设计经验总结之PCB设计]]></title><link>https://blog.csdn.net/Devincoder/article/details/6338463</link><guid>https://blog.csdn.net/Devincoder/article/details/6338463</guid><author>Devincoder</author><pubDate>Thu, 21 Apr 2011 13:39:00 +0800</pubDate><description><![CDATA[<br />2009-07-06 11:411. 根据线路板厂家的能力设定线路板基本参数<br /><br />　　根据沧州一带线路板厂的水平，按下列参数设计线路板质量应能保证：<br /><br />　　* 最小导线宽度：8mil；<br /><br />　　* 最小导线间距：8mil；<br /><br />　　* 最小过孔焊盘直径：30 mil；<br /><br />　　* 最小过孔孔径：16 mil；<br /><br />　　* DRC检查最小间距：8mil；<br /><br />2. 线路板]]></description><category></category></item><item><title><![CDATA[typedef 的用法]]></title><link>https://blog.csdn.net/Devincoder/article/details/6292226</link><guid>https://blog.csdn.net/Devincoder/article/details/6292226</guid><author>Devincoder</author><pubDate>Thu, 31 Mar 2011 17:22:00 +0800</pubDate><description><![CDATA[用途一：定义一种类型的别名，而不只是简单的宏替换。可以用作同时声明指针型的多个对象。比如：char* pa, pb;  // 这多数不符合我们的意图，它只声明了一个指向字符变量的指针，// 和一个字符变量；以下则可行：typedef char* PCHAR;PCHAR pa, pb;      用途二：用在旧的C代码中，帮助struct。以前的代码中，声明struct新对象时，必须要带上struct，即形式为： struct 结构名对象名，如：struct tagPOINT1 {    int x;    ]]></description><category></category></item><item><title><![CDATA[typedef和#define的用法与区别]]></title><link>https://blog.csdn.net/Devincoder/article/details/6292217</link><guid>https://blog.csdn.net/Devincoder/article/details/6292217</guid><author>Devincoder</author><pubDate>Thu, 31 Mar 2011 17:20:00 +0800</pubDate><description><![CDATA[一、typedef的用法在C/C++语言中，typedef常用来定义一个标识符及关键字的别名，它是语言编译过程的一部分，但它并不实际分配内存空间，实例像：typedef    int       INT;typedef    int       ARRAY[10];typedef   (int*)   pINT;typedef可以增强程序的可读性，以及标识符的灵活性，但它也有“非直观性”等缺点。二、#define的用法#define为一宏定义语句，通常用它来定义常量(包括无参量与带参量)，以及用来实现那些“]]></description><category></category></item><item><title><![CDATA[volatile的作用]]></title><link>https://blog.csdn.net/Devincoder/article/details/6177255</link><guid>https://blog.csdn.net/Devincoder/article/details/6177255</guid><author>Devincoder</author><pubDate>Thu, 10 Feb 2011 15:58:00 +0800</pubDate><description><![CDATA[<br />一个定义为volatile的变量是说这变量可能会被意想不到地改变，这样，编译器就不会去假设这个变量的值了。精确地说就是，优化器在用到这个变量时必须每次都小心地重新读取这个变量的值，而不是使用保存在寄存器里的备份。下面是volatile变量的几个例子：     1). 并行设备的硬件寄存器（如：状态寄存器） <br />    2). 一个中断服务子程序中会访问到的非自动变量(Non-automatic variables) <br />    3). 多线程应用中被几个任务共享的变量 <br /]]></description><category></category></item><item><title><![CDATA[linux 网络设备驱动-DM9000]]></title><link>https://blog.csdn.net/Devincoder/article/details/6175261</link><guid>https://blog.csdn.net/Devincoder/article/details/6175261</guid><author>Devincoder</author><pubDate>Wed, 09 Feb 2011 10:35:00 +0800</pubDate><description><![CDATA[<br /><br />1、Linux网络设备驱动的体系结构<br />Linux网络驱动程序的体系结构可划分为4个层次。Linux内核源代码中提供了网络设备接口及以上层次的代码，因此移植特定网络硬件的驱动程序的主要工作就是完成设备驱动功能层的相应代码，根据底层具体的硬件特性，定义网络设备接口struct net_device类型的结构体变量，并实现其中相应的操作函数及中断处理程序。<br />Linux中所有的网络设备都抽象为一个统一的接口，即网络设备接口，通过struct net_device类型的结构]]></description><category></category></item><item><title><![CDATA[FCLK,HCLK，PCLK，s3c2440时钟]]></title><link>https://blog.csdn.net/Devincoder/article/details/6094355</link><guid>https://blog.csdn.net/Devincoder/article/details/6094355</guid><author>Devincoder</author><pubDate>Thu, 23 Dec 2010 15:39:00 +0800</pubDate><description><![CDATA[<br /><br />为了降低电磁干扰和降低板间布线要求，芯片外接的晶振频率通常很低，通过时钟控制逻辑的PLL提高系统使时钟。<br />S3C2410/2440有两个PLL，MPLL和UPLL：UPLL用于USB设备，MPLL用于设置FCLK，HCLK，FCLK。<br />FCLK与输入晶振的比例通过寄存器MPLLCON设置。<br />FCLK，HCLK，FCLK三者的比例通过寄存器CLKDIVN，CAMDIVN(2440)设置。<br /> <br />开发板上的12MHz晶振经PLL倍频得到FC]]></description><category></category></item><item><title><![CDATA[semaphore的实现机制详解]]></title><link>https://blog.csdn.net/Devincoder/article/details/6073797</link><guid>https://blog.csdn.net/Devincoder/article/details/6073797</guid><author>Devincoder</author><pubDate>Mon, 13 Dec 2010 17:47:00 +0800</pubDate><description><![CDATA[<br /> <br />semaphore是内核中比较重要和常用的同步方式之一，他主要的特点是实现了Sleep机制下的同步。也就是当获取一个semaphore但是又不能立刻获取的时候，他使当前的执行进程进入到Sleep状态中等待，当semaphore可以获取的时候，从新开始运行，而不像splin lock在获取锁的时候是BusyWait。<br />首先看其定义：<br />struct semaphore {<br />                atomic_t count; // 原子变量，是后]]></description><category></category></item><item><title><![CDATA[按键驱动]]></title><link>https://blog.csdn.net/Devincoder/article/details/6072565</link><guid>https://blog.csdn.net/Devincoder/article/details/6072565</guid><author>Devincoder</author><pubDate>Mon, 13 Dec 2010 10:16:00 +0800</pubDate><description><![CDATA[<br />这里主要是仿照《嵌入式Linux开发完全手册》上的例子写的，只是增加了别外两个按按键。在我的mini2440开发板上有6个按键。在上两篇文章中，主要分析了驱动中的整体的流程，现在来看一个具体的例子，是如何使用中断的。1. 模块的初始化函数和卸载函数<br /> <br />/* 执行"insmod mini2440_buttons.ko"命令时就会调用这个函数*/<br />staticint __init mini2440_buttons_init (void)<br />{<br />  i]]></description><category></category></item><item><title><![CDATA[中断字符驱动程序]]></title><link>https://blog.csdn.net/Devincoder/article/details/6072508</link><guid>https://blog.csdn.net/Devincoder/article/details/6072508</guid><author>Devincoder</author><pubDate>Mon, 13 Dec 2010 09:52:00 +0800</pubDate><description><![CDATA[<br />经典字符程序，对一些自己不太懂的地方稍微分析了一下<br />驱动程序<br />#include <linux/module.h><br />#include <linux/kernel.h><br />#include <linux/fs.h><br />#include <linux/init.h><br />#include <linux/delay.h><br />#include <asm/irq.h><br />#include <linux/interrupt.h><br />#]]></description><category></category></item><item><title><![CDATA[mkyaffs移植]]></title><link>https://blog.csdn.net/Devincoder/article/details/6065273</link><guid>https://blog.csdn.net/Devincoder/article/details/6065273</guid><author>Devincoder</author><pubDate>Thu, 09 Dec 2010 13:26:00 +0800</pubDate><description><![CDATA[<br />1. 下载mkyaffs源码:<br />http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs.tar.gz?view=tar<br />2. 解压缩，进入 yaffs/utils, 修改Makefile：<br />(1) MAKETOOLS = arm-linux-<br />(2) CFLAGS = 增加“-I /your-kernel-include-dir” 指向你的平台的内核目录，例如/src/preview-kit/linux-2.6.]]></description><category></category></item><item><title><![CDATA[yaffs文件系统]]></title><link>https://blog.csdn.net/Devincoder/article/details/6064741</link><guid>https://blog.csdn.net/Devincoder/article/details/6064741</guid><author>Devincoder</author><pubDate>Thu, 09 Dec 2010 10:11:00 +0800</pubDate><description><![CDATA[现在在网上能找到源码的FLASH日志文件系统，JFFS和JFFS2适合NOR FLASH，YAFFS是为NAND FLASH量身定做的。目前flash的文件系统比较多，用的比较多的就是JFFS2文件系统。基于NOR flash上的JFFS2文件系统可以说算是比较成熟了，支持NAND flash的JFFS2也已经发布了。源代码可以到http://www.linux-mtd.infradead.org上面下载。但是在我的测试过程中，在nand flash上挂接的JFFS2文件系统很不稳定，经常有CRC错误产生。]]></description><category></category></item></channel></rss>