关于TI28027 JTAG连接问题

2019-03-24 08:33发布

本帖最后由 shiguangjiqiren 于 2017-4-7 15:24 编辑

各位路过的大神你们好!
       我是新手,自己制作了一块电路板,使用的主芯片是28027,连接好仿真器之后,首先使用ccxml文件,检测JTAG连接问题,得到的文件如下:
-----[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 38 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: Texas Instruments XDS100v2 USB Emulator_0]




文件表明JTAG扫描链扫描成功,然后写好工程,在烧写程序的时候报错为:
C28xx: Error connecting to the target: (Error -151 @ 0x0) One of the FTDI driver functions used during the connect returned bad status or an error. The cause may one or more of: invalid emulator serial number, blank emulator EEPROM, missing FTDI drivers, faulty USB cable. Use the xds100serial command-line utility in the 'common/uscif' folder to verify the emulator can be located. (Emulation package 5.1.507.0)

不知道该怎么解决?特地求助大家~~~
先谢谢大家了!

此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
10条回答
dontium
1楼-- · 2019-03-24 11:39
是新手,还自己做的板子。你这叫一步到位哈。


好象仿真器是好的。连接目标芯片没有连接上。或者芯片没加电,或者不是所选芯片,或者芯片坏。或者电路有错
huaiqiao
2楼-- · 2019-03-24 11:44
< :TI_MSP430_内容页_SA7 --> 这个问题我看到好几个人在问这个JTAG的问题:
1、排除硬件连接.不上电的情况下,检查下有些线是否是通的。或者硬件其他连接有没有问题;
在排除硬件连接问题的情况下,安装JLINK的驱动,一定要保证在“设备管理器”下显示有jlink;
2、如果你使用Jlink,建议用JLINK自带的Jflash连接一下,看是否能连接通。如果安装JLINK驱动后,在开始菜单的 SEGGER文件夹下,找这个Jflash;
如果连接不通,说明还是你的硬件设计有问题。请仔细查看硬件设计
shiguangjiqiren
3楼-- · 2019-03-24 14:49
 精彩回答 2  元偷偷看……
shiguangjiqiren
4楼-- · 2019-03-24 20:21
huaiqiao 发表于 2017-4-7 18:24
这个问题我看到好几个人在问这个JTAG的问题:
1、排除硬件连接.不上电的情况下,检查下有些线是否是通的。 ...

首先感谢您能够恢复我,刚才又做了一下检测,从一个芯片的小系统来看,主要是时钟(晶振)、复位和JTAG电路,通过示波器和万用表检测,前两部分都正常,可是CCS6.0报错说,芯片一直处于复位状态,这就不能理解了~
C28xx: Failed CPU Reset: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.1.507.0)
C28xx: Trouble Reading Register PC: (Error -1137 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 5.1.507.0)
准备使用其他的仿真器和其他版本的编译器写一个测试过程~
shiguangjiqiren
5楼-- · 2019-03-24 22:51
dontium 发表于 2017-4-7 16:05
是新手,还自己做的板子。你这叫一步到位哈。


好象仿真器是好的。连接目标芯片没有连接上。或者芯片没 ...

恩恩仿真器应该没问题,报错提示的说CCS探测到的芯片不是我的设置的target芯片,让我从新配置目标文件;
第二个错误是芯片一直处于复位状态,可实际上使用万用表测量复位引脚并不是一直处于低电平状态,只有我按下复位键的时候才被拉低;
第三,使用示波器测试了晶振也都正常,芯片的供电引脚电平都正常;我也会再请教一下身边的高人!
dontium
6楼-- · 2019-03-25 01:02
 精彩回答 2  元偷偷看……

一周热门 更多>

相关问题

    相关文章