Debug Mini2440 on Ubuntu

来源:互联网 发布:ubuntu修改主机名 编辑:程序博客网 时间:2024/05/19 14:19

1:usb转串口,usb转串口芯片为pl2303,ubuntu10.04带了该芯片的驱动,插上usb后通过dmesg可以查看驱动打印的信息

 

[   97.620050] usb 5-2: new full speed USB device using ohci_hcd and address 2

[   97.787229] usb 5-2: configuration #1 chosen from 1 choice

[   97.823419] usbcore: registered new interface driver usbserial

[   97.823444] USB Serial support registered for generic

[   97.823484] usbcore: registered new interface driver usbserial_generic

[   97.823486] usbserial: USB Serial Driver core

[   97.857054] USB Serial support registered for pl2303

[   97.857085] pl2303 5-2:1.0: pl2303 converter detected

[   97.878317] usb 5-2: pl2303 converter now attached to ttyUSB0

[   97.878530] usbcore: registered new interface driver pl2303

[   97.878533] pl2303: Prolific PL2303 USB to serial adaptor driver

通过lsusb也可以查看
Bus 005 Device 002: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
2:sudo apt-get install minicom
3: sudo minicom -D /dev/ttyUSB0,并在设置中把硬件流控去掉就可以正常使用了。
4:dnw的linux版本,可以在arm9bbs上下载
5:make,
     sudo insmod secbulk.ko
     sudo ./dnw xxx
Done!

 

原创粉丝点击