新聞中心

        EEPW首頁 > 嵌入式系統(tǒng) > 設計應用 > MSP430開發(fā)環(huán)境MSPGCC + Codeblocks

        MSP430開發(fā)環(huán)境MSPGCC + Codeblocks

        作者: 時間:2016-12-02 來源:網絡 收藏


        8)在編譯之前還有一些重要的工作要做。
        Project->Propertise..->Build targets



        以下內容也可以在上面紅色字體的頁面設置(不推薦)
        9)Project->Build Options..








        我的設置:
        msp430-objcopy -O ihex bin/Release/CB_MSP430_test001.elfbin/Release/CB_MSP430_test001.a43
        D:/mspgcc/msp_fet/MSP430Flasher.exe -n msp4302553 -w bin/Release/CB_MSP430_test001.a43 -v -g -z [VCC]


        至此,設置完成。

        可以點擊運行了。成功后顯示信息~~

        -------------- Build: Release in CB_MSP430_test001 ---------------

        msp430-gcc.exe -Wall -mmcu=msp430g2553-Os -O3 -ID:mspgccmsp430include -ID:mspgccinclude-c CB_MSP430_test001.c -o objReleaseCB_MSP430_test001.o
        msp430-gcc.exe -LD:mspgccmsp430libldscriptsmsp430g2553 -LD:mspgccmsp430lib -LD:mspgcclib-o binReleaseCB_MSP430_test001.elf objReleaseCB_MSP430_test001.o -s
        Output size is 584.00 bytes
        Running target post-build steps
        msp430-objcopy -O ihex bin/Release/CB_MSP430_test001.elfbin/Release/CB_MSP430_test001.a43
        D:/mspgcc/msp_fet/MSP430Flasher.exe -n msp4302553 -w bin/Release/CB_MSP430_test001.a43 -v -g -z [VCC]
        **ERROR: Unable to access log file. Log disabled.
        **Please make sure the directory Log exists inlinewith the executable.
        Evaluating additional triggers...done
        Initializing interface on TIUSB port...done
        Checking firmware compatibility...done
        Reading FW version...done
        Reading HW version...done
        Powering up...done
        Configuring...done
        Accessing device...done
        Reading device information...done
        Loading file into device...done
        Verifying transfer...done
        Resettingdevice...done
        Refreshing registers...
        /* ----------------------------------------------------------------------------
        * UseCase : MSP430Flasher.exe
        * Arguments : -n MSP4302553 -w bin/Release/CB_MSP430_test001.a43 -v -g -z [VCC]
        * ATTENTION: Default options used due to invalid argument list.
        * ----------------------------------------------------------------------------
        * Driver : loaded
        * Dll Version : 20409001
        * FwVersion : 30394216
        * Interface : TIUSB
        * HwVersion : E 2.0
        * Mode : AUTO
        * Device : MSP430G2xx3
        * EEM : Level 1, ClockCntrl 1
        * Prog.File : bin/Release/CB_MSP430_test001.a43 (ERASE_ALL, verified = TRUE)
        * BSL Unlock: FALSE
        * InfoA Access: FALSE
        * VCC ON : TRUE
        * UseCase specific tasks: ----------------------------------------------------
        * Powering up...done
        * Disconnectingfromdevice...
        * ----------------------------------------------------------------------------
        * Driver : closed (No error)
        * ----------------------------------------------------------------------------
        */
        Process terminated withstatus0 (0 minutes, 7 seconds)
        0 errors, 0 warnings

        本文引用地址:http://www.104case.com/article/201612/324661.htm

        LaunchPad下載:http://www.51hei.com/f/TI_LaunchPad.zip


        上一頁 1 2 3 下一頁

        評論


        技術專區(qū)

        關閉
        主站蜘蛛池模板: 邛崃市| 侯马市| 西充县| 福贡县| 甘孜县| 南陵县| 建始县| 甘洛县| 喀什市| 和田县| 青海省| 许昌县| 栖霞市| 永寿县| 中卫市| 枞阳县| 广德县| 田阳县| 镇安县| 外汇| 新平| 凤庆县| 云霄县| 苏尼特左旗| 古丈县| 双峰县| 汝城县| 沽源县| 万年县| 彰化县| 五华县| 紫云| 双城市| 高陵县| 北京市| 荥经县| 西畴县| 元朗区| 古交市| 花莲县| 教育|