主题 : ubuntu9.04  openjtag 问题求助 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 21881
精华: 0
发帖: 16
金钱: 80 两
威望: 16 点
综合积分: 32 分
注册时间: 2010-05-23
最后登录: 2010-11-19
楼主  发表于: 2010-05-23 14:35

 ubuntu9.04  openjtag 问题求助

大家好,前几天刚买了Mini2440+openJTAG,在ubuntu下使用openjtag连接开发板后,打开openocd会报错:
Open On-Chip Debugger 1.0 (2008-10-04-09:26) svn:717
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Info:    options.c:50 configuration_output_handler(): jtag_speed: 0, 0
Info:    options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-10-04-09:26) svn:717

Error:   ft2232.c:1513 ft2232_init_libftdi(): unable to open ftdi device: unable to fetch product description

su到root还是如此

还有个现象是,板子插上jtag后启动屏幕一直白色,没进系统;拔了后能正常进系统

请问大家这正常吗?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-05-23 20:19

 Re:ubuntu9.04 openjtag 问题求助

Error:   ft2232.c:1513 ft2232_init_libftdi(): unable to open ftdi device: unable to fetch product description

你的Ubuntu检测到OpenJtag了吗?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 21881
精华: 0
发帖: 16
金钱: 80 两
威望: 16 点
综合积分: 32 分
注册时间: 2010-05-23
最后登录: 2010-11-19
2楼  发表于: 2010-05-23 21:54

 回 1楼(kasim) 的帖子

感谢版主的回复

插上后系统多出一个ttyUSB0   这样算不算监测到了?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-05-24 12:54

 Re:ubuntu9.04 openjtag 问题求助

按照OpenJtag的手册3.1.1节在/etc/udev/rules.d/下创建50-ftdi.rules文件;
另外,可以参考一下这个贴子
http://www.100ask.net/showtopic.aspx?topicid=2301&page=end
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."