2012年7月23日 星期一

嵌入式學習資料整理


尊重他人勞動成果,本文copy自:
http://www.ourdev.cn/bbs/bbs_content.jsp?bbs_sn=3979142&bbs_page_no=1&bbs_id=1032


嵌入式入門篇:

什麼是嵌入式系統                         http://www.helloarm.com/Embedded- Learn/58.htm

嵌入式資深工程師白話說“嵌入式”         http://www.helloarm.com/Embedded-Learn /52.htm

嵌入式系統的學習途徑與基本方法(硬體)   http://www.helloarm.com/Embedded-Learn/50.htm

如何學習嵌入式(軟體)                   http://www.helloarm.com/Embedded-Learn /51.htm          

ARM入門學習方法                          http://www.helloarm.com/Embedded- Learn/46.htm

嵌入式linux學習步驟                      http://www.helloarm.com/Embedded- Learn/48.htm

嵌入式學習方法 關於ARM+linux            http://www.helloarm.com/Embedded- Learn/47.htm

我的嵌入式之路(必看必看!)             http://www.helloarm.com/Embedded-Learn /45.htm

-------------------------------------------------------------------------------------------------

ARM學習思路

什麼是ARM                               http://www.helloarm.com/ARM- knowledge/59.htm

ARM77與ARM9的區別                       http://www.helloarm.com/ARM- knowledge/61.htm

ARM開發:一 ARM微處理器概述             http://www.helloarm.com/ARM-knowledge /107.htm

ARM開發:二 ARM微處理器的編程模型       http://www.helloarm.com/ARM-knowledge /106.htm

ARM開發:三 ARM微處理器的指令系統       http://www.helloarm.com/ARM-knowledge /105.htm

ARM中C和彙編混合編程及示例              http://www.helloarm.com/ARM-knowledge /62.htm

ARM 開發軟體及實用工具介紹              http://www.helloarm.com/ARM-knowledge /60.htm

ADS集成開發環境詳細介紹                 http://www.helloarm.com/ADS-Learn /113.htm

ads調試工程的設置                       http://www.helloarm.com/ADS-Learn /112.htm

----------------------------------------------------------------------------------------------------------

嵌入式作業系統學習

七款嵌入式Linux作業系統簡介            http://www.helloarm.com/Linux/193.htm

使用虛擬機嵌入式Linux開發前的必要準備  http://www.helloarm.com/Linux/183.htm

Linux啟動的簡析                        http://www.helloarm.com/Linux /210.htm

Linux上的C/C++編譯器gcc/egcs詳解       http://www.helloarm.com/Linux /188.htm

arm linux 下最小的hello world程式      http://www.helloarm.com/Linux /123.htm

Linux檔和目錄訪問許可權設置            http://www.helloarm.com/Linux/185.htm

tar命令的使用                          http://www.helloarm.com/Linux /176.htm

Linux下各種壓縮包的解壓方法            http://www.helloarm.com/Linux/177.htm

linux內核裁剪的具體過程和方法          http://www.helloarm.com/Linux/187.htm

Linux 系統內核的調試                   http://www.helloarm.com/Linux /219.htm

基於嵌入式Qt的車載GUI平臺的設計        http://www.helloarm.com/Linux/184.htm

在U-Boot中實現對Yaffs鏡像的支持        http://www.helloarm.com/Linux/205.htm

ARM Linux根檔系統的製作              http://www.helloarm.com/Linux/217.htm

基於μCLinux的USB晶片FT245BL驅動實現   http://www.helloarm.com/Linux/203.htm

fcntl函數詳解                          http://www.helloarm.com/Linux /199.htm

BusyBox 簡化嵌入式 Linux 系統          http://www.helloarm.com/Linux /218.htm


---------------------------------------------------------------------------------------------------------------

進一步學習Linux

arm2410的Linux系統移植——vivi、內核、根檔系統的編譯    http://www.helloarm.com/Linux /120.htm

在s3c2410開發板上移植u- boot1.1.4                          http://www.helloarm.com/Linux/127.htm

NFS for Linux(網路檔系 統)                             http://www.helloarm.com/Linux/171.htm

Linux 下串口編程入 門                                      http://www.helloarm.com/Linux/180.htm

Makefile經典教 程                                          http://www.helloarm.com/Linux/166.htm

linux Shell編程入門 實例講解詳 解                          http://www.helloarm.com/Linux/173.htm

嵌入式Linux下NAND存儲系統的設計與實現                     http://www.helloarm.com /Linux/121.htm

s3c2410/s3c2440的USB HOST不穩定的原因及解決方法           http: //www.helloarm.com/Linux/124.htm

ARM平臺上藍牙協定棧Bluez的移植使用和配置                  http://www.helloarm.com /Linux/122.htm

Linux液晶屏驅動開發 [1]                                    http://www.helloarm.com/Linux/175.htm

Linux液晶屏驅動開發 [2]                                    http://www.helloarm.com/Linux/178.htm

Linux液晶屏驅動開發 [3]                                    http://www.helloarm.com/Linux/179.htm

-------------------------------------------------------------------------------------------------------------------

windows CE學習

WinCE 菜鳥問 答                                           http://www.helloarm.com/Wince/111.htm

Windows CE嵌入式作業系統的優 勢                           http://www.helloarm.com/Wince/213.htm

WinCE 編程的十點忠 告                                     http://www.helloarm.com/Wince/160.htm

淺談WinCE應用程式的可移植 性                              http://www.helloarm.com/Wince/78.htm

詳解WinCE的控制面 板                                      http://www.helloarm.com/Wince/81.htm

Windows CE5.0 I/O操作基礎(1)                             http: //www.helloarm.com/Wince/76.htm

Windows CE5.0 I/O操作基礎(2)                             http: //www.helloarm.com/Wince/77.htm

wince中的BSP工程的pbcxml檔介 紹                         http://www.helloarm.com/Wince/190.htm

WinCE 下用DirectShow播放音頻和視 頻                       http://www.helloarm.com/Wince/137.htm

Explorer註冊表鍵值歸 納                                   http://www.helloarm.com/Wince/110.htm

WinCE 5.0 virtual memory space                           http://www.helloarm.com/Wince/138.htm

關於EVC中的預編譯頭文 件.pch                              http://www.helloarm.com/Wince/146.htm

WinCE下對文件的基本操 作                                  http://www.helloarm.com/Wince/72.htm

WinCE 在CF卡上實現冷啟動自動保存註冊表                   http://www.helloarm.com /Wince/75.htm

WinCE 驅動開發學習筆 記                                   http://www.helloarm.com/Wince/73.htm

讓程式在WinCE系統啟動時自動運行-兩種方法                 http://www.helloarm.com /Wince/74.htm


-------------------------------------------------------------------------------------------------------------------------

UCOS-II作業系統

UC/OS和UCLinux比較                                      http: //www.helloarm.com/ucos/98.htm

μC/OS-II的即時性能分析                                 http: //www.helloarm.com/ucos/161.htm

μC/OS-II的多工系統即時性分析與優先順序分配             http://www.helloarm.com/ucos /90.htm

μC/OS-II下通用驅動框架的設計與實現                     http://www.helloarm.com /ucos/103.htm

UC/OS II多工切換常式                                  http: //www.helloarm.com/ucos/96.htm

基於μC/OS-II的時間片調度法設計                         http://www.helloarm.com /ucos/94.htm

ucos II+ucGUI+s3c2410+LCD+觸摸屏整 合                    http://www.helloarm.com/ucos/89.htm

LPC2292的μC/OS-II硬體抽象層構建                        http: //www.helloarm.com/ucos/97.htm

-----------------------------------------------------------------------------------------------------------------------------

UCOS移植篇

uC/OS-II即時操作系統在嵌入式平臺上進行移植的方法與技巧  http://www.helloarm.com/ucos/86.htm

基於Nios軟核CPU的uC/OS-II和LwIP移植                     http: //www.helloarm.com/ucos/85.htm

μCOS-II在ATmega128單片機上的移植與開發                 http://www.helloarm.com /ucos/104.htm

μC/OS-II在Cortex-M3系列單片機上的移植                  http://www.helloarm.com /ucos/92.htm

uC/OS II在S3C2410上的移植                               http: //www.helloarm.com/ucos/79.htm

uCOS II在SkyEye上的移植分 析                             http://www.helloarm.com/ucos/68.htm

------------------------------------------------------------------------------------------------------------------------------

經典案例分析

即時內核μC/OS-II下的網路監控系統的設計                http://www.helloarm.com/ucos /99.htm

基於uC/OS-II的MP3檔播放系統設計                     http://www.helloarm.com /ucos/82.htm

基於ARM和μC/OS-II的人造提花毛皮機控制系統            http://www.helloarm.com/ucos /100.htm

基於uC/OS-II的智慧窗系統設計                          http://www.helloarm.com /ucos/83.htm

uC/OS-II在電能計量電錶中的應用研究                     http://www.helloarm.com /ucos/80.htm



--------------------------------------------------------------------------------------------------------------------------------
上次的帖子:

因為資料較多,先整理這一部分,後續還會完善並相繼推出ARM11 6410專區,以便大家學習交流。

    如果這個帖子對您有幫助,煩請各位頂貼,小弟先謝謝了O(∩_∩)O

(一)2440專區:
優秀論壇專區:
第一:http://www.ourdev.cn/bbs/
第二:http://community.csdn.net/
第三:http://***.cn/bbs/
第四:http://www.witech.com.cn/bbs/
第五:http://www.helloarm.com/
轉帖專區:
【轉貼】2440使用常見問題解析: http://bbs.witech.com.cn/thread-353-1-1.html
【轉帖】讓您愛不釋手的專業串口調試軟體:http://bbs.witech.com.cn/thread-282-1-1.html
【轉帖】嵌入式入門筆記 :http://bbs.witech.com.cn/thread-272-1-1.html
【轉帖】軟硬體協同設計技術:http://bbs.witech.com.cn/thread-315-1-1.html
【轉帖】北大嵌入式開發講義:http://bbs.witech.com.cn/thread-321-1-1.html
【轉帖】Windows CE開發初步:http://bbs.witech.com.cn/thread-235-1-1.html
下載專區:
【PDF下載】飛淩2440開發板技術手冊:http://blog.sina.com.cn/s /blog_6536a9450100hq1y.html
【PDF下載】JLINK用戶手冊:http://blog.sina.com.cn/s /blog_6536a9450100hq1y.html
【PDF下載】攝像頭晶片DATASHEET: http://blog.sina.com.cn/s /blog_6536a9450100hq1y.html
【RAR下載】UCOS-II:http://blog.sina.com.cn/s/blog_6536a9450100hq1y.html
【PPT下載】ARM相關:http://bbs.witech.com.cn/thread-391-1-1.html
【PPT下載】Linux相關:http://bbs.witech.com.cn/thread-391-1-1.html
圖文專區:
【源碼文章】Bootloader源碼: http://blog.sina.com.cn/s /blog_6536a9450100hpw1.html
【源碼文章】2440下的流水燈實驗:http://blog.sina.com.cn/s /blog_6536a9450100hpw3.html
【源碼文章】2440下的CAN匯流排實驗:http://blog.sina.com.cn/s /blog_6536a9450100hpw7.html
【源碼文章】2440下的fork實驗:http://blog.sina.com.cn/s /blog_6536a9450100hpw7.html
【源碼文章】2440下的IIC實驗:http://blog.sina.com.cn/s /blog_6536a9450100hpwb.html
【源碼文章】2440下的看門狗實驗:http://blog.sina.com.cn/s /blog_6536a9450100hpwb.html
【源碼文章】2440下的USB實驗:http://blog.sina.com.cn/s /blog_6536a9450100hpwf.html
【源碼文章】2440下的觸摸屏測試:http://blog.sina.com.cn/s /blog_6536a9450100hq1y.html
【源碼文章】2440下的溫度感測器:http://blog.sina.com.cn/s /blog_6536a9450100hpwi.html
【源碼文章】Linux檔系統移植詳解:http://blog.sina.com.cn/s /blog_6536a9450100hq1u.html
【源碼文章】Linux內核移植詳解1:http://blog.sina.com.cn/s /blog_6536a9450100hisp.html
                       
            Linux內核移植詳解2:http://blog.sina.com.cn/s /blog_6536a9450100hisp.html

視頻專區:
【線上視頻】《嵌入式系統綜述》:http://www.tudou.com/programs/view/KL0y2VqgZOs/
【線上視頻】《嵌入式學習基礎》:http://www.tudou.com/programs/view/W6XpvmGZfG4/
【線上視頻】《嵌入式環境》:http://www.tudou.com/programs/view/W6XpvmGZfG4/
【線上視頻】《嵌入式BootLoader》:http://www.tudou.com/programs/view/1kY_23UccC0 /
【線上視頻】《嵌入式ARM學習-上》:http://www.tudou.com/programs/view/BWy4tXo4o5A/
            《嵌入式ARM學習-下》:http://www.tudou.com/programs/view /dFxXjq8nEm0/
【線上視頻】《嵌入式ARM精華理論》:http://www.tudou.com/programs/view/dFxXjq8nEm0/

2012年4月12日 星期四

win7下DllRegisterServer的調用失敗,錯誤代碼為0x80070005

 1、先找到c:\WINDOS\SYSTEM32\cmd.exe(或從開始菜單中)  2、右鍵--以管理員身份運行(關鍵)  3、輸入regsvr32 xxxx.dll   4、回車 
http://zhidao.baidu.com/question/256095037.html%3Ffr%3Dfd&ei=twyHT7DnAs7GmQX9p7m8Bw&sa=X&oi=translate&ct=result&resnum=4&ved=0CE4Q7gEwAw&prev=/search%3Fq%3Dwin%2B7%2B0X80070005%2Bdll%26hl%3Dzh-TW%26rlz%3D1G1ASUT_ZH-TWTW477%26biw%3D1366%26bih%3D667%26prmd%3Dimvnsfd

2012年3月13日 星期二

雙網卡內外網同時使用的方法

不少公司的網管試圖解决雙網卡問題,下面我就给大家詳細的講解一下雙網卡同時使用的方法,這样即可保障內網的安全,又能解决電腦訪問外網的問題,一舉兩得。希望大家喜歡。

首先你的機器需要有兩塊網卡,分別接到兩台交換機上,

internet地址:192.168.1.8,子網掩碼:255.255.255.0,網關:192.168.1.1

內部網地址:172.23.1.8,子網掩碼:255.255.255.0,網關:172.23.1.1

如果按正常的設置方法設置每塊網卡的ip地址和網關,再cmd下使用route print查看時會看到

Network Destination Netmask Gateway Interface Metric

0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.8

0.0.0.0 0.0.0.0 172.23.1.1 172.23.1.8

即指向0.0.0.0的有兩個網關,這样就會出現路由沖突,兩個網络都不能訪問。

如何實現同時訪問兩個網络?那要用到route命令

第一步:route delete 0.0.0.0 "刪除所有0.0.0.0的路由"

第二步:route add 0.0.0.0 mask 0.0.0.0 192.168.1.1 "添加0.0.0.0網络路由"這個是主要的,意思就是你可以上外網.

第三步:route add 172.23.0.0 mask 255.0.0.0 172.23.1.1 "添加172.23.0.0網络路由",注意mask为255.0.0.0 ,而不是255.255.255.0 ,這样內部的多網段才可用。

這時就可以同時訪問兩個網络了,但碰到一個問題,使用上述命令添加的路由在系統重新启動後會自動丟失,怎样保存現有的路由表呢?

route add -p 添加靜態路由,即重启後,路由不會丟失。注意使用前要在tcp/ip設置裏去掉接在企業內部網的網卡的網關

------------------------------------------------------------------------------------------------

一些單位將內網和外網分開了。痛苦啊,偶單位就是如此。boss當然是基於安全性考慮了,可是沒有筆記本的怎麼辦?又要辦公,有得上網。沒辦法,發揚DIY精神偷偷裝一塊網卡,讓聊天與工作同在。讓你的主機內外兼顧。這是我在網上找到的,謝謝作者了。方法如下:
1.設置其中接internet的網卡的網關为10.0.0.1,启用後就是默認網關
--注:這是對應外網的網卡,按照你們單位外網的ip分配情況,在TCP/IP屬性中配置好 ip、掩碼、DNS

2.將連接單位內部網的網卡IP配好後,設網關設置为空(即不設網關),启用後,此時內網無法通過網關路由

3.進入CMD,運行:route -p add 192.0.0.0 mask 255.0.0.0 192.168.0.1 metric 1

--注:意思是將192*的IP包的路由網關設为192.168.0.1 ,-P 参數代表永久寫入路由表,建議先不加此参數,實踐通過後在寫上去

4. OK!同時启用兩個網卡,兩個網關可以同時起作用了,兩個子網也可以同時訪問了,關機重启後也不用重設!


其實這是個中折的辦法。。。。使大家的雙網卡同時運行,很不錯的方法。大家學習一下吧。。


From:http://blog.csdn.net/jinhill/archive/2011/05/30/6455415.aspx

2012年2月14日 星期二

2011年2月23日 星期三

開機流程與 Boot Loader
http://www.suse.url.tw/sles10/

1. Boot Loader 概要:BIOS 儲存在 CMOS RAM 中的 BIOS 設定
b. 開機自我測試 (Power On Self Test : POST)
c. BIOS 將依照 CMOS 中所設定的開機順序來依序尋找可開機裝置,如果這個裝置是硬碟的話,那就會先去讀取硬碟的第 0 個磁柱的第 0 個磁頭的第一個磁區 (最前面 512 bytes 的磁區),也就是 MBR (Master Boot Record)
2. MBR
a. MBR 內主要是存放著 Boot Partition Loader (BPL : 分割區引導程式) 及 partition table
b. partition table 是包含著四個分割區的紀錄 (以 hda 來說為 hda1 ~ hda4),比如起始、結束磁柱的資訊及哪個 partition 有設定啟動旗標 (Active) 等
c. MBR 上的小程式 (BPL) 就會根據 partition table 裡有設定 Active 旗標的那個 partition,而載入該 partition 的 boot sector,以完成後續的開機作業
3. Boot Loader
a. Win NT 系列也有它們自己的 Boot Manager 叫 ntldr,不過這個 ntldr 是放在 partition 裡而非 MBR
b. Linux 的 Boot Loader 為一兩階段程式,第一階段可以放在 MBR 或 /boot 分割區的 boot sector 裡
c. MBR 一次只能安置一個 Boot Manager,比如之前您是使用 SPFDISK 來做開機管理,現在在安裝 Linux 時又把 Linux Loader 放在 MBR,那當然 MBR 裡的 Boot Manager 就變成是 Linux Loader 了

假設從硬碟開機,且 Linux Loader 是安裝在 MBR。
  1. 按下主機電源後,BIOS 做硬體偵測,並根據 CMOS 中的紀錄來決定開機裝置。
  2. 接著 BIOS 會載入 MBR 磁區,並將 Linux Loader 載入記憶體,接著主控權就交由 Linux Loader 來接管。
  3. 再來會看到一個開機選單畫面,來讓您選擇要開啟哪套作業系統。
  4. 選擇 Linux OS 並按下 Enter 鍵以後,Linux Loader 就把 Linux kernel 及 initramfs (註一) 載入記憶體,準備來進行一些初始化的工作。
  5. 在成功掛載根目錄檔案系統 (rootfs) 後,於 rootfs 中所執行的第一支程式為 init,其 PID 為 1。
  6. init 會載入 /etc/inittab (initial table) 的內容,並執行檔案內相關的 scripts。
  7. 最後就是執行 login 程式,此時會等待您輸入帳號密碼,如果認證無誤的話,就會開啟一個 shell 來讓您使用囉 !



開機過程的簡易流程圖

2011年2月8日 星期二

How to install mplayer in Fedora Core 12

How to install mplayer in Fedora Core 12


Doc source : http://www.redips.net/linux/yum-install-mplayer-fedora12/

1.add RPM Fusion repository with the rpm command
#rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
#rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

2. install program
#yum install mplayer-gui

#yum install xine

#yum install vlc

3. fix small issue
mplayer-gui -> Preferences -> Video -> xv