1

我正在尝试学习对微控制器进行编程。我从 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
4

1 回答 1

2

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

于 2012-11-27T12:49:27.500 回答