我正在努力学习如何给微控制器编程。我从msp430开始,我已经安装了mspdebug0.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
发布于 2012-11-27 20:49:28
这与擦除无法在FRAM芯片上工作(或至少不能正常工作)有关。您应该更新到最新版本的mspdebug ( http://mspdebug.sourceforge.net/ ),它可以解决这个问题。
https://stackoverflow.com/questions/13543927
复制相似问题