6523|4

1944

帖子

32

TA的资源

纯净的硅(高级)

楼主
 

提问 + BeagleBone Black + CCS V5.5 怎么才能裸奔?【已解决】 [复制链接]

本帖最后由 azhiking 于 2014-3-6 16:29 编辑

操作系统: Win7 32位

IDE: CCS V5.5

平台: 英蓓特  BeagleBone Black (B4)

利用CCS的TI Resource Explorer ,选择BeagleBone Black 下Generic Examples中的Hello World.

Step 3:        Debugger Configuration        
Connection: Texas Instruments XDS100v2 USB Emulator
Click on the link above to change the device connection. Additionally, this option is also available in the project properties.
最后Step 4Debug the imported project总是出现

Error connecting to the target:
(Error -1266 @ 0x0)
Device is held in reset. Take the device out of reset, and retry the operation.
(Emulation package 5.1.232.0)

在配置文件中测试连接:

[Start]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\ZHOUMA~1\AppData\Local\.TI\4084209646\
0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusb.dll'.
The library build date was 'Aug 20 2013'.
The library build time was '22:56:19'.
The library package version is '5.1.232.0'.
The library component version is '35.34.40.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '4' (0x00000004).
The controller has an insertion length of '0' (0x00000000).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.

-----[Print the reset-command hardware log-file]-----------------------------

The scan-path will be reset by toggling the JTAG TRST signal.
The controller is the FTDI FT2232 with USB interface.
The link from controller to target is direct (without cable).
The software is configured for FTDI FT2232 features.
The controller cannot monitor the value on the EMU[0] pin.
The controller cannot monitor the value on the EMU[1] pin.
The controller cannot control the timing on output pins.
The controller cannot control the timing on input pins.
The scan-path link-delay has been set to exactly '0' (0x0000).

-----[The log-file for the JTAG TCLK output generated from the PLL]----------

There is no hardware for programming the JTAG TCLK frequency.

-----[Measure the source and frequency of the final JTAG TCLKR input]--------

There is no hardware for measuring the JTAG TCLK frequency.

-----[Perform the standard path-length test on the JTAG IR and DR]-----------

This path-length test uses blocks of 512 32-bit words.

The test for the JTAG IR instruction path-length succeeded.
The JTAG IR instruction path-length is 6 bits.

The test for the JTAG DR bypass path-length succeeded.
The JTAG DR bypass path-length is 1 bits.

-----[Perform the Integrity scan-test on the JTAG IR]------------------------

This test will use blocks of 512 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.

The JTAG IR Integrity scan-test has succeeded.

-----[Perform the Integrity scan-test on the JTAG DR]------------------------

This test will use blocks of 512 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Scan tests: 2, skipped: 0, failed: 0
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 0
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 0
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 0
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 0
All of the values were scanned correctly.

The JTAG DR Integrity scan-test has succeeded.

[End]

请问是什么原因导致无法调试的呢?

CortxA8: Output: **** AM335x BeagleBlack Initialization is in progress ..........
CortxA8: Output: **** AM335x ALL PLL Config for OPP == OPP100 is in progress .........
CortxA8: GEL: Error while executing OnTargetConnect(): Target failed to read 0x44E10040 at (*((unsigned int *) (0x44E10000+0x40))>>22) [beagleboneblack.gel:362] at GetInputClockFrequency() [beagleboneblack.gel:433] at ARM_OPP100_Config() [beagleboneblack.gel:353] at AM335x_BeagleBlack_Initialization() [beagleboneblack.gel:339] at OnTargetConnect() .
CortxA8: Trouble Writing Memory Block at 0x800145b0 on Page 0 of Length 0x5c0: (Error -2130 @ 0x800145B0) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 5.1.232.0)
CortxA8: GEL: File: D:\BB Black\hello_BeagleBone_Black_CortexA\Debug\hello_BeagleBone_Black_CortexA.out: Load failed.

尝试更换不同的gel,最后总是Load Failed. 什么原因呢?

还是有什么地方操作不正确?

我是用了StarterWare,也不行。

参考过:http://processors.wiki.ti.com/in ... e_board_using_CCSv5

最新回复

楼主您好,我现在遇到跟你一样的情况,您说的不让linux启动指的是更改了启动模式还是拔了SD卡?我现在用的是SD卡启动  详情 回复 发表于 2014-8-1 08:51
点赞 关注
 

回复
举报

5979

帖子

8

TA的资源

版主

沙发
 
裸奔不好 有损风化
个人签名生活就是油盐酱醋再加一点糖,快活就是一天到晚乐呵呵的忙
===================================
做一个简单的人,踏实而务实,不沉溺幻想,不庸人自扰
 
 

回复

774

帖子

2

TA的资源

纯净的硅(中级)

板凳
 
在board or devive 那里有beaglebone black 的选项的   不要根据教程里的选am335x
或者重启试试看。。。实在不行再重新配置一遍,,
还是不行的话去TI 社区吧///
 
 
 

回复

1944

帖子

32

TA的资源

纯净的硅(高级)

4
 
找到原因了,是因为Linux启动了,不让Linux启动就可以正常进行调试了。
 
 
 

回复

1

帖子

0

TA的资源

一粒金砂(初级)

5
 
楼主您好,我现在遇到跟你一样的情况,您说的不让linux启动指的是更改了启动模式还是拔了SD卡?我现在用的是SD卡启动
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/10 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表