MPC8280连接上JTAG后寄存器全0

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

MPC8280连接上JTAG后寄存器全0

Jump to solution
4,732 Views
lhb_will
Contributor IV

如题,请问可能是哪里的问题?如图所示,寄存器和STACK中的MEM值都是0,请问可能是哪里的原因?MPC8280.jpg

1 Solution
4,632 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please check the status, when the initialization file has just been executed and the debugger stops at the entry point of the program(main.c),

View solution in original post

5 Replies
4,632 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello liu bin,

Would you please provide CCS console log?

Thanks,

Yiping

0 Kudos
Reply
4,632 Views
lhb_will
Contributor IV

相关寄存器测试:

1GPR寄存器

  • GPR0 有值,但是修改后变为0
  • GPR1~GPR31全部不可修改

       2、特殊寄存器

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

       3、外设相关寄存器测试:

  • PVR 0x80822014
  • MSR 0 可修改
  • DAR 0 可修改
  • 与存储体相关寄存器
  • IMMR0 不可修改(配置外设寄存器基址)
  • BR0/OR00 不可修改(配置CS0基址及大小等参数)
  • BR1/OR10 不可修改(配置CS1基址及大小等参数)
  • BR2/OR20 不可修改(配置CS2基址及大小等参数)
  • PSDMR0 不可修改(配置SDRAM刷新时间等参数)
0 Kudos
Reply
4,633 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please check the status, when the initialization file has just been executed and the debugger stops at the entry point of the program(main.c),

4,633 Views
lhb_will
Contributor IV

感谢,是IMMR的问题。

0 Kudos
Reply
4,633 Views
lhb_will
Contributor IV

只能看到一部分log文件,也就是最后的LOG信息,有什么方式可以把启动到调试开始的所有LOG记录下来吗?

0 Kudos
Reply