MPC8280 JTAG 调试

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC8280 JTAG 调试

Jump to solution
3,626 Views
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 Solution
3,298 Views
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

View solution in original post

15 Replies
3,298 Views
Pavel
NXP Employee
NXP Employee

Plase wait answer at this case:

MPC8280 SDRAM 60x Bus配置问题 

Have a great day,
Pavel Chubakov

0 Kudos
3,298 Views
Pavel
NXP Employee
NXP Employee

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

Have a great day,
Pavel Chubakov

0 Kudos
3,298 Views
lhb_will
Contributor IV

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

0 Kudos
3,298 Views
lhb_will
Contributor IV

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

0 Kudos
3,298 Views
Pavel
NXP Employee
NXP Employee

See attached files.

Have a great day,
Pavel Chubakov

0 Kudos
3,298 Views
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

3,298 Views
lhb_will
Contributor IV

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

0 Kudos
3,298 Views
Pavel
NXP Employee
NXP Employee

Check your IMMR value.

Often incorrect IMMR value produces similar behavior.

Have a great day,
Pavel Chubakov

0 Kudos
3,298 Views
lhb_will
Contributor IV

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

0 Kudos
3,298 Views
lhb_will
Contributor IV

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

0 Kudos
3,298 Views
lhb_will
Contributor IV

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

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

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

0 Kudos
3,299 Views
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

3,298 Views
lhb_will
Contributor IV

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

0 Kudos
3,298 Views
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 Kudos
3,298 Views
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 Kudos