作者热门文章
- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我正在尝试学习微 Controller 编程。我从 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
最佳答案
这与删除在 FRAM 芯片上不起作用(或至少不能正常工作)有关。您应该更新到最新版本的 mspdebug ( http://mspdebug.sourceforge.net/),它会处理这个问题。
关于linux - Mspdebug 收不到数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13543927/
我正在尝试学习微 Controller 编程。我从 msp430 开始,我已经安装了 mspdebug 0.18 和 mspgcc 4.5.3。我想加载一个简单的程序到设备上进行测试,但 mspdeb
我是一名优秀的程序员,十分优秀!