MPC8280 JTAG 调试

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
6,976件の閲覧回数
lhb_will
Contributor IV

按照该链接输入如下命令:T4240 - JTAG chain does not contain any debuggable cores 

(bin) 1 % config cc cwtap:192.168.1.200
(bin) 2 % ccs::config_chain testcore
(bin) 3 % jtag::lock
(bin) 4 % jtag::reset_tap 1
(bin) 5 % jtag::reset_tap 1
(bin) 5 % jtag::scan_in dr 256
(bin) 6 % jtag::unlock
(bin) 7 %

结果提示信息如下,请问可能是哪里的问题:

CodeWarrior Connection Server console display active (Tcl8.4.12 / Tk8.4.12)
Loading CCSAPI Tcl interface (C:/Freescale/CW_PA_v10.5.1/PA/ccs/bin/ccstcl.dll)...
Loading Svfburner (C:/Freescale/CW_PA_v10.5.1/PA/ccs/bin/svfburner.dll)...
There are no command converters configured
Server listening on port: 41475
Clients allowed from all hosts
No clients denied
(bin) 1 % config cc cwtap:192.168.1.200
(bin) 2 % ccs::config_chain testcore
Network timeout
(bin) 3 % jtag::lock
Network timeout
(bin) 4 %

1 解決策
6,648件の閲覧回数
Pavel
NXP Employee
NXP Employee

It your board uses the MPC8280, use CodeWarrior 8.8 instead if CodeWarrior 10.5.

Use CodeWarrior 8.8 and CodeWarrior 8.8.6 patch. CodeWarrior 8.8.6 patch is needed for using CodeWarrior TAP.

This patch is available on the following page:

https://nxp.flexnetoperations.com/control/frse/download?agree=Accept&element=6121541

Have a great day,
Pavel Chubakov

元の投稿で解決策を見る

15 返答(返信)
6,648件の閲覧回数
Pavel
NXP Employee
NXP Employee

Plase wait answer at this case:

MPC8280 SDRAM 60x Bus配置问题 

Have a great day,
Pavel Chubakov

0 件の賞賛
返信
6,648件の閲覧回数
Pavel
NXP Employee
NXP Employee

Test memory on your board using "Tools/Hardware_Diagnostics".

Have a great day,
Pavel Chubakov

0 件の賞賛
返信
6,648件の閲覧回数
lhb_will
Contributor IV

用 "Tools/Hardware_Diagnostics"打开了,错误内容详见.MPC8280 SDRAM 60x Bus配置问题 

0 件の賞賛
返信
6,648件の閲覧回数
lhb_will
Contributor IV

您好,SDRAM配置完后,对SDRAM的0地址,0x2000,地址,0x100000等地址范围内的地址单独一写一读,都是正确的。但是使用Codewarrior 下载程序提示0x2000地址数据和预期不一致?请问可能是哪里的原因?

0 件の賞賛
返信
6,644件の閲覧回数
Pavel
NXP Employee
NXP Employee

See attached files.

Have a great day,
Pavel Chubakov

0 件の賞賛
返信
6,644件の閲覧回数
Pavel
NXP Employee
NXP Employee

See attached file. It is simple program example for the MPC8280. It is CodeWarrior 8.8 project.

Use this project as example.

Have a great day,
Pavel Chubakov

6,644件の閲覧回数
lhb_will
Contributor IV

这个问题已经解决了。非常感谢,有USB和以太网的参考程序吗?

0 件の賞賛
返信
6,644件の閲覧回数
Pavel
NXP Employee
NXP Employee

Check your IMMR value.

Often incorrect IMMR value produces similar behavior.

Have a great day,
Pavel Chubakov

0 件の賞賛
返信
6,644件の閲覧回数
lhb_will
Contributor IV

您好,请问MPC8280和SDRAM的配置有什么快速的参考吗?我现在怎么配置都不对。

0 件の賞賛
返信
6,644件の閲覧回数
lhb_will
Contributor IV

这里有一个和我同样的问题,但是不知道最后怎么解决的。https://community.nxp.com/thread/356408 

0 件の賞賛
返信
6,644件の閲覧回数
lhb_will
Contributor IV

但是目前的现象是  特殊寄存器  

  • PC 有值,可修改,且修改正确。 CR 0 可修改  。LR 0 可修改  。CTR 0 可修改  。XER 0 可修。 FPR0~FPR31不可修改  。FPSCR 0 可修改。

如果是IMMR配置错误的话,应该这些寄存器都不可修改吧。

0 件の賞賛
返信
6,649件の閲覧回数
Pavel
NXP Employee
NXP Employee

It your board uses the MPC8280, use CodeWarrior 8.8 instead if CodeWarrior 10.5.

Use CodeWarrior 8.8 and CodeWarrior 8.8.6 patch. CodeWarrior 8.8.6 patch is needed for using CodeWarrior TAP.

This patch is available on the following page:

https://nxp.flexnetoperations.com/control/frse/download?agree=Accept&element=6121541

Have a great day,
Pavel Chubakov

6,644件の閲覧回数
lhb_will
Contributor IV

这个问题解决了,但是遇到另一个问题了,你能帮忙看下吗?https://community.nxp.com/thread/516613 

0 件の賞賛
返信
6,644件の閲覧回数
Pavel
NXP Employee
NXP Employee

Test connection to your CodeWarrior TAP using the following commands in CCS window:

log v

source IDcode.tcl

 

See the following page:

https://community.nxp.com/docs/DOC-94804

Have a great day,
Pavel Chubakov

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
6,644件の閲覧回数
lhb_will
Contributor IV


Configuring TAP Interface....

Configured Connection: cwtap : 00:04:9f:06:3b:22

CodeWarrior TAP executable differs from local file.
CodeWarrior TAP Boot Loader version 1.0.1
CodeWarrior TAP OS version 1.0.4
Sending code to CodeWarrior TAP.........done
Running package script

TDO -----
|
* Device 0 IDCODE: FFFFFFFF Device: Unknown Device
* Device 1 IDCODE: FFFFFFFF Device: Unknown Device
* Device 2 IDCODE: FFFFFFFF Device: Unknown Device
* Device 3 IDCODE: FFFFFFFF Device: Unknown Device
* Device 4 IDCODE: FFFFFFFF Device: Unknown Device
* Device 5 IDCODE: FFFFFFFF Device: Unknown Device
* Device 6 IDCODE: FFFFFFFF Device: Unknown Device
* Device 7 IDCODE: FFFFFFFF Device: Unknown Device
|
TDI -----


###################################################
#
# configTAP - Redefine TAP interface
#
# scanboard - Scans the target system
# and returns the JTAG IDCode
#
# ir - Loopback test
#
###################################################

(bin) 3 %

0 件の賞賛
返信