小编Kat*_*son的帖子

AVRISP MKII在Linux上不适用于AVRDUDE

当我插拔电源时系统看到插入的东西:

bluehat@Matapan:/dev$ tail -f /var/log/syslog
Mar 23 15:36:35 Matapan kernel: [156082.112874] usb 7-1: new full speed USB device using uhci_hcd and address 6
Mar 23 15:47:19 Matapan kernel: [156726.248081] usb 7-1: USB disconnect, address 6
Mar 23 15:47:29 Matapan kernel: [156736.200148] usb 6-1: new full speed USB device using uhci_hcd and address 3
Run Code Online (Sandbox Code Playgroud)

AVRISP MKII应该依赖于cdc-acm:

bluehat@Matapan:/dev$ modinfo cdc-acm -V
module-init-tools version 3.12
Run Code Online (Sandbox Code Playgroud)

所以它应该能够看到它很好,但我无法写它.

avrdude -p m1280 -c avrispmkII -P usb -U test.hex
Run Code Online (Sandbox Code Playgroud)

返回

avrdude: usb_open(): cannot read serial number "error …
Run Code Online (Sandbox Code Playgroud)

linux usb avr avrdude

23
推荐指数
3
解决办法
3万
查看次数

可以安装gem ruby​​-debug,但rails服务器找不到它

我发现安装红宝石宝石有一个非常有趣的问题

bluehat@Matapan:~/code/Amacron$ rails server --debugger
=> Booting WEBrick
=> Rails 3.0.3 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
You need to install ruby-debug to run the server in debugging mode. With gems, use 'gem install ruby-debug'
Exiting
bluehat@Matapan:~/code/Amacron$ sudo gem install ruby-debug
Successfully installed ruby-debug-0.10.4
1 gem installed
Installing ri documentation for ruby-debug-0.10.4...
Installing RDoc documentation for ruby-debug-0.10.4...
bluehat@Matapan:~/code/Amacron$ rails server --debugger
=> Booting WEBrick
=> Rails 3.0.3 application starting …
Run Code Online (Sandbox Code Playgroud)

ubuntu rubygems ruby-on-rails ruby-debug

3
推荐指数
1
解决办法
2881
查看次数

标签 统计

avr ×1

avrdude ×1

linux ×1

ruby-debug ×1

ruby-on-rails ×1

rubygems ×1

ubuntu ×1

usb ×1