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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
2,068件の閲覧回数
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 解決策
1,659件の閲覧回数
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 返答(返信)
1,660件の閲覧回数
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 件の賞賛
返信
1,659件の閲覧回数
lunminliang
NXP Employee
NXP Employee

Good to know that.

0 件の賞賛
返信