riscwatch shows up core status UNKNOWN for 970mp ppc processor

anil kumar anildahiya80 at gmail.com
Wed Jul 15 15:15:25 EST 2009


Hello
I am newbie to RISCWatch and debugging using JTAG interface .I want to debug
Linux Kernel on target board
using jtag interface provided on board.

To  debug 970MP dual core ppc processor on traget board, I installed
RISCWatch software on my window host.

My Setup:
----------
   Host <--(over ethernet)--> RISCWatch 13H6423 <--(jtag interface)--> 970MP
Processor

I am able to detect two core on target 970MP processor but it shows both
cores as `UNKNOWN` . I have no idea,
why riscwatch shows up status of both cores as UNKNOWN?

I would like to mention:
-------------------------
1) After attaching JTAG cable & switching on riscwatch box, powered cycle
was done on the target board
   and restart RISCWatch. But still core status is shown `UNKNOWN`
2) For PVR value 0x00440101, I used `REV = 1' in rwppc.env file. Correct us
if I am wrong.
3) I am able to ping RISCWatch 13H6423 from host system.
4) When I reset target board, target status changes from "UNKNOWN to HALTED"
and "HALTED to UNKNOWN"

I noticed that PVR register value is 0x00440101. I am not sure if this
confirms that revision of the processor(970mp) is 1.


Please find the rwppc.env file (C:\Program Files\RISCWatch\rwppc.env) that I
configured:
----------------------------------------------------------------------------------------
PROC = 970MP
REV =  1
TARGET_TYPE = jtag_eth
TARGET_NAME = 192.168.10.5
RWPPC_DIR = .
SEARCH_PATH = .
LOG_FILE_DIR = .
SAVE_LAYOUT = no
PRD_FILE = rwppc.prd



Please find board information:
------------------------------

KAT2000 970MP (1.0)=> boardinfo
board config data version: 1.0
processor name           : 970MP
processor PVR value      : 0x00440101
timer clock frequency    : 112500000
total SDRAM memory       : 4096MB
SDRAM frequency          : 533333333
system clk frequency (Hz): 225000000
CPU frequency            : 1800000000
CPU frequency ind. est.  : 1800001200
CPU to EI speed ratio    : 2:1
frequency scaling divider: 1
serial clk frequency     : 1843200
HID0 value               : 0011008180000000
HID1 value               : fd3c200000000000
HID4 value               : 0000001000000000
HID5 value               : 0000000000000080
SDR1 value               : 0000000000d00002
PIR  value               : 00000000
Ethernet hardware addr 0 : FFFFFFFFFFFF


RISCWatch log:
--------------

12:37:18 - RISCWatch program start
12:37:18 - RISCWatch  v7.1 for Windows XP
12:37:18 - Current directory: C:\Program Files\RISCWatch
12:37:18 - Environment file: RWPPC.ENV
12:37:18 - RWPPC_DIR = .
12:37:18 - TARGET_TYPE = JTAG_Ethernet
12:37:18 - TARGET_NAME = 192.168.10.5
12:37:18 - Requested Processor 970MPRev1:CORE1
12:37:18 - Requested Processor 970MPRev1:CORE2
12:37:18 - Unable to get port number for jtag_eth service, using 6470
default 12:37:30 - Configuring probe 12:37:30 - cf default; jtagch a32,a32
12:37:31 - HPE8130A Series Emulation System
12:37:31 -     Version:   A.01.20 04Apr02 Unreleased
12:37:31 -     Location:  Generics
12:37:31 - HPEGPUL  PowerPC 970 JTAG Emulator
12:37:31 -     Version:   A.00.I0 22Jul08 13:48 Proto
12:37:31 -  WARNING : Could not read processor status, slowing JTAG clock
and retrying
12:37:31 -  ERROR : bad status received, see README for possible causes
12:37:36 - Starting MPS mode
12:43:18 -  STATUS : CORE1 status changed from UNKNOWN to HALTED
12:43:18 -  STATUS : CORE2 status changed from UNKNOWN to HALTED
      Note---> Status become HALTED because I reset target board

12:43:19 -  ERROR : CORE1 status changed from HALTED to UNKNOWN
12:43:19 -  ERROR : CORE2 status changed from HALTED to UNKNOWN


Regards,
Anil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090715/0a53b3e4/attachment.htm>


More information about the Linuxppc-dev mailing list