Mspdebug无法接收数据

时间:2012-11-24 17:55:11

标签: linux ubuntu microcontroller ubuntu-12.04 msp430

我正在努力学习编程微控制器。我从msp430开始,我已经安装了mspdebug 0.18和mspgcc 4.5.3。我想将一个简单的程序加载到设备上进行测试,但mspdebug无法通过擦除设备。

Device: MSP-EXP430FR5739  
Computer OS: Ubuntu 12.04 LTS  

Error Messages:  
Trying to program device:  
(mspdebug) prog led.elf  
Erasing...  
rf2500: can't receive data: Resource temporarily unavailable  
fet: erase command failed  

Trying solely to erase device
(mspdebug) erase  
Erasing...  
rf2500: can't receive data: Resource temporarily unavailable  
fet: erase command failed  

Output of dmesg after unplugging and plugging in the device:  
[ 1537.370302] usb 3-2: USB disconnect, device number 3  
[ 1544.276180] usb 3-2: new full-speed USB device number 4 using ohci_hcd  
[ 1544.476821] cdc_acm 3-2:1.0: This device cannot do calls on its own. It is not a modem.  
[ 1544.476838] cdc_acm 3-2:1.0: No union descriptor, testing for castrated device  
[ 1544.476903] cdc_acm 3-2:1.0: ttyACM0: USB ACM device

1 个答案:

答案 0 :(得分:2)

这与在FRAM芯片上擦除不工作(或至少不像往常一样工作)有关。您应该更新到最新版本的mspdebug(http://mspdebug.sourceforge.net/)来处理这个问题。