新闻中心

EEPW首页>嵌入式系统>设计应用> MSP430开发环境MSPGCC + Codeblocks

MSP430开发环境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

本文引用地址://m.amcfsurvey.com/article/201612/324661.htm

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


上一页 1 2 3 下一页

评论


技术专区

关闭