中文字幕 另类精品,亚洲欧美一区二区蜜桃,日本在线精品视频免费,孩交精品乱子片免费

<sup id="3hn2b"></sup>

    1. <sub id="3hn2b"><ol id="3hn2b"></ol></sub><legend id="3hn2b"></legend>

      1. <xmp id="3hn2b"></xmp>

      2. 新聞中心

        EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > Tornado學(xué)習(xí)筆記

        Tornado學(xué)習(xí)筆記

        作者: 時間:2016-10-10 來源:網(wǎng)絡(luò) 收藏

        一、get start

        本文引用地址:http://www.antipu.com.cn/article/201610/306008.htm

        1. 是一個集成開發(fā)環(huán)境,主要用來開發(fā)實時嵌入式系統(tǒng)程序

        包含以下組件:vxworks實時操作系統(tǒng)(用來運行實時嵌入式程序)、開發(fā)工具(用來測試,計時和調(diào)試)、網(wǎng)絡(luò)(任務(wù)間通信,訪問遠程文件,執(zhí)行遠程命令或功能,通過網(wǎng)絡(luò)啟動)

        2. 開發(fā)工具

        Launch: launch browser/shell/debugger/simulator/windview/trigger

        WindSh:與目標機進行交互,CrossWind:源碼級調(diào)試器,Browser:顯示系統(tǒng)信息,Project Facility:配置VxWorks或者應(yīng)用程序,WindView:分析多任務(wù)程序,Simulator:在host操作系統(tǒng)上模擬VxWorks目標機

        3. 可以通過TCL來定制?yes!

        4. 實時系統(tǒng):內(nèi)核+內(nèi)存管理+文件系統(tǒng)+IO系統(tǒng)+設(shè)備驅(qū)動+網(wǎng)絡(luò)協(xié)議棧;內(nèi)核必須,其他作為庫按照需要添加

        5. 實時操作系統(tǒng)使得應(yīng)用程序能夠滿足嚴格時間限制的要求。

        6. 多任務(wù)內(nèi)核包括:實時調(diào)度(基于優(yōu)先級的搶占式調(diào)度),任務(wù)間通信,互斥。與非實時系統(tǒng)不同之處:基于優(yōu)先級搶占式調(diào)度,快速,系統(tǒng)小并且可裁減(微內(nèi)核架構(gòu))

        7. 所有任務(wù)運行于公共地址空間,所有任務(wù)運行于特權(quán)模式

        Unix/NT下,調(diào)用同一段代碼時,每個進程都單獨存放data和bss,共享text

        VxWorks下,調(diào)用同一段代碼時,所有進程訪問同一塊物理內(nèi)存中的text/bss/data段

        8. 內(nèi)存運行于公共地址空間:任務(wù)間通信更簡單;上下文切換速度更快(不需要保存虛擬地址信息);一個任務(wù)崩潰可能影響到其他任務(wù)。

        所有任務(wù)運行于特權(quán)模式:沒有系統(tǒng)調(diào)用的開銷。All VxWorks facilities are invoked as normal subroutines.

        9. 交叉開發(fā)環(huán)境:編碼和編譯在host上(采用Project facility或者通過命令行編輯,編譯,assembling,鏈接。源碼管理。),使用Tornado host上的工具對target進行測試和調(diào)試(載入、執(zhí)行、源碼級調(diào)試、性能監(jiān)測)

        10.典型開發(fā)周期包括主機上反復(fù)編碼和調(diào)試,下載到目標機,對代碼進行測試然后再在主機上進一步修改代碼。

        11.P23 $dev (0,procnum) host:/file h=# e=# b=# g=# u=usr [pw=passswd] f=# tn=targetname s=script o=other

        b?gateway inet (g)?startup script (s)?o初始化另外一個設(shè)備,比如vxworks中沒加該模塊時可以通過該選項初始化

        12.

        [VxWorks boot]: @

        boot device : ei

        unit number : 0

        processor number : 0

        host name : wolverine

        file name : c:tornado2targetconfigmv162vxWorks

        inet on ethernet (e) : 147.11.12.204:ffffff00

        host inet (h) : 147.11.12.165

        user (u) : todd

        ftp password (pw) : covert

        flags (f) : 0x8

        target name (tn) : t12-204

        Attached TCP/IP interface to ei0.

        Attaching network interface lo0... done. 如果未出現(xiàn)這句done,檢查是否使用了正確的網(wǎng)絡(luò)接口fei?ip?

        Loading... 424504 + 29664 + 29404未完成,檢查網(wǎng)線的連接

        Starting at 0x20000...檢查VxWorks映象是否正確

        Attached TCP/IP interface to ei unit 0

        Attaching network interface lo0... done.

        NFS client support not included.

        VxWorks

        Copyright 1984-1998 Wind River Systems, Inc.

        CPU: Motorola MVME162

        VxWorks: 5.4

        BSP version: 1.2/0

        Creation date: Apr 17 1999

        WDB: Ready.

        13.abort button on board在mv5100板上?yes!

        14.build property-C/C++ compiler

        -O0 No optimization

        -g Source debugging support

        -ansi ANSI function declarations and prototypes

        -m68040 Generate output for a MC68040

        -nostdinc Don’t use usual UNIX include directories

        -fvolatile Variables referenced through pointers assumed volatile

        -fno-builtin Don’t use compiler built-in functions

        -I dirName Location of header files

        -DCPU=... Preprocessor definition of CPU type



        關(guān)鍵詞: Tornado 學(xué)習(xí)筆記

        評論


        相關(guān)推薦

        技術(shù)專區(qū)

        關(guān)閉