JTAG Chain Debugging 8313 + FPGA (Code warrior Classic Edition V8.8)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

JTAG Chain Debugging 8313 + FPGA (Code warrior Classic Edition V8.8)

跳至解决方案
2,878 次查看
wonderwizard
Contributor III

I seem to be running in to the same problem as many people here, struggling to debug a Freescale (8313) processor in a JTAG daisy chain with another device (Spartan 6 FPGA). I am attempting to use the non eclipse based IDE CW V8.8 and a USB TAP. Error generated is "Target processor not recognised"


Reading the documentation*, I am guessing this should be correct for the JTAG initialization file.

generic (1 6) (2 1) (3 0x0000003F)

E300 (1 1) (2 0x65040000) (3 0xA0602400)


The chain looks like this:

TDI -> MPC8313 -> FPGA -> TDO

Ie the Xilinx Spartan 6 is the last device in the chain:


*Documentation for CW V8.8 seems to be patchy on this subject, "CodeWarrior Development Studio for Power Architecture Processors Targeting Manual, Rev. 10.3.3" Section "Using JTAG Configuration File to Specify Multiple Linked Devices on a JTAG Chain" is where I have guessed the generic line from.


The Spartan 6 has an instruction register length of 6, 1 bit bypass register and the bypass instruction is “111111 in binary” or 0x3F.


I am pretty sure my problem is only with the CW config since I am able to perform the following:

 

1) I can program the FPGA using JTAG using Xilinx Tools with

the complete chain intact.

 

2) I can debug the 8313 if I remove the FPGA from the chain. (And remove the generic line from the file)

 

3) JTAG voltages and edges all look good in both configurations.

 

Does CW V8.8 Support Chains?

 

Any ideas / Experience?

 

Cheers

标签 (1)
标记 (5)
0 项奖励
回复
1 解答
2,469 次查看
wonderwizard
Contributor III

Despite the miserable documentation on this subject I got pretty good support in the end. I needed to add a blank line, and change some of the formatting.

File contains:

Generic 6 1 0x0000003F

E300 (1 1) (2 0x65040000) (3 0xA0602400)

<blank line>

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,470 次查看
wonderwizard
Contributor III

Despite the miserable documentation on this subject I got pretty good support in the end. I needed to add a blank line, and change some of the formatting.

File contains:

Generic 6 1 0x0000003F

E300 (1 1) (2 0x65040000) (3 0xA0602400)

<blank line>

0 项奖励
回复
2,469 次查看
lunminliang
NXP Employee
NXP Employee

Good to know that.

0 项奖励
回复