6765|4

5276

帖子

5

TA的资源

裸片初长成(中级)

楼主
 

这样使用微软的Visual Studio开发msp430你见过么? [复制链接]

这样使用微软的Visual Studio开发msp430你见过么?
要装一个插件,我没怎么找,所以还不知道怎样能有破解方法,所以发出来大家看看,有办法的告诉一声呀

Visual Studio便捷功能强大,应该很方便编程呀,别说大炮打蚊子吆

哎,问个问题难有答案呀,能不能给点力么?

Using Visual Studio to develop MSP430 firmware
In this tutorial we will show you how to develop and debug a simple \"LED blinking\" firmware for TI MSP430 microcontrollers using VisualGDB. We use the EZ430-RF2500 development board to demonstrate the integration with debugging tools; however, you can use any of those tools/programmers supported by the MSP430.DLL provided by TI.
The full list of the MSP430 devices supported by VisualGDB can be found here.
Step-by-step guide
Before you begin, please ensure that you installed the latest version of VisualGDB. Once it's installed, follow the steps below:
  • Start Visual Studio, select \"File->New->Project\". Then select \"Visual C++->VisualGDB\". Please avoid spaces in directory names, as GDB does not support it.
  • In VisualGDB wizard select \"Firmware for an embedded device\" and press \"next\".
  • As you are creating a default new project, you don't have to change anything on next wizard page.
  • Select \"MSP430\" from the toolchain list. If the MSP430 toolchain has not been installed before, VisualGDB will download and install it automatically. You can also download it yourself fromhttp://gnutoolchains.com/msp430.
  • VisualGDB will show the toolchain versions available for download. Please select the latest one.
  • Select the installation directory and press \"Install\" to start toolchain installation.
  • Once the toolchain has been installed, press the \"Next\" button on the toolchain selection page.
  • Select the MCU type that you want to target. The EZ430-RF2500 kit has the msp430f2274 MCU. The LaunchPad board comes with msp430g2553. You can use the \"Filter\" textbox to simplify finding the right MCU.
  • On the next page enter the location of the LED. The EZ430-RF2500 and LaunchPad have a LED connected to P1.0, so the default settings will work.
  • On the debug settings page select \"mspdebug Simulator\". Press Finish when done.
  • Congratulations! You have created a Visual Studio project for a simple MSP430 firmware. Press Ctrl+Shift+B or select Build->Build Solution to build the project.
  • To start debugging, put a breakpoint on the line assigning P1OUT and start the debug session via Debug->Start debugging with GDB command:
  • When the breakpoint is hit you can use the normal Visual Studio techniques to debug your program. Hover the mouse over the P1OUT register. Visual Studio will show the value:
  • The Debug Server window will show the output from mspdebug. If you encounter any problems, refer to it for additional information.
  • You can step through your program, modify variable values, change next statement, just like you are debugging a Windows application. When done, press Shift+F5 to stop debugging.
  • Now we will debug a real device over JTAG. Right-click on the project in Solution Explorer and select \"VisualGDB Project Properties\".
  • Change the debug method to JTAG (gdbproxy++) and accept default settings:
  • You can start debugging your firmware over JTAG by selecting Debug->Start debugging with GDB. The FLASH memory will be programmed automatically.

最新回复

额滴神啊  详情 回复 发表于 2013-4-8 10:30
 
点赞 关注
个人签名没工作,没女人老婆,没宽带 ,  没钱

回复
举报

2781

帖子

419

TA的资源

五彩晶圆(中级)

沙发
 
这么给力
 
个人签名
 

回复

2453

帖子

19

TA的资源

五彩晶圆(中级)

板凳
 
怕是不如专业的好用
 
 
 

回复

1万

帖子

25

TA的资源

裸片初长成(高级)

4
 
使用Visual Studio ,主要是使用它的编辑功能,因为Visual Studio的编辑功能非常好。
过去我用过VC编译其它的东西时,是使用它能运行别的编译器的功能。
 
 
 

回复

61

帖子

0

TA的资源

一粒金砂(初级)

5
 
额滴神啊
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/10 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表