Hello <br>I am newbie to RISCWatch and debugging using JTAG interface .I want to debug Linux Kernel on target board <br>using jtag interface provided on board.<br><br>To debug 970MP dual core ppc processor on traget board, I installed RISCWatch software on my window host. <br>
<br>My Setup:<br>
----------<br>
Host <--(over ethernet)--> RISCWatch 13H6423 <--(jtag interface)--> 970MP Processor <br>
<br>I am able to detect two core on target 970MP processor but it shows both cores as `UNKNOWN` . I have no idea, <br>why riscwatch shows up status of both cores as UNKNOWN?<br><br>I would like to mention:<br>-------------------------<br>
1) After attaching JTAG cable & switching on riscwatch box, powered cycle was done on the target board <br> and restart RISCWatch. But still core status is shown `UNKNOWN`<br>2) For PVR value 0x00440101, I used `REV = 1' in rwppc.env file. Correct us if I am wrong.<br>
3) I am able to ping RISCWatch 13H6423 from host system.<br>4) When I reset target board, target status changes from "UNKNOWN to HALTED" and "HALTED to UNKNOWN"<br><br>I noticed that PVR register value is 0x00440101. I am not sure if this confirms that revision of the processor(970mp) is 1.<br>
<br><br>Please find the rwppc.env file (C:\Program Files\RISCWatch\rwppc.env) that I configured:<br>
----------------------------------------------------------------------------------------<br>
PROC = 970MP<br>
REV = 1<br>
TARGET_TYPE = jtag_eth<br>
TARGET_NAME = 192.168.10.5<br>
RWPPC_DIR = .<br>
SEARCH_PATH = .<br>
LOG_FILE_DIR = .<br>
SAVE_LAYOUT = no<br>
PRD_FILE = rwppc.prd<br>
<br>
<br><br>Please find board information:<br>------------------------------<br><br>KAT2000 970MP (1.0)=> boardinfo<br>board config data version: 1.0<br>processor name : 970MP<br>processor PVR value : 0x00440101<br>
timer clock frequency : 112500000<br>total SDRAM memory : 4096MB<br>SDRAM frequency : 533333333<br>system clk frequency (Hz): 225000000<br>CPU frequency : 1800000000<br>CPU frequency ind. est. : 1800001200<br>
CPU to EI speed ratio : 2:1<br>frequency scaling divider: 1<br>serial clk frequency : 1843200<br>HID0 value : 0011008180000000<br>HID1 value : fd3c200000000000<br>HID4 value : 0000001000000000<br>
HID5 value : 0000000000000080<br>SDR1 value : 0000000000d00002<br>PIR value : 00000000<br>Ethernet hardware addr 0 : FFFFFFFFFFFF<br> <br> <br>RISCWatch log:<br>--------------<br>
<br>12:37:18 - RISCWatch program start<br>12:37:18 - RISCWatch v7.1 for Windows XP<br>12:37:18 - Current directory: C:\Program Files\RISCWatch<br>12:37:18 - Environment file: RWPPC.ENV<br>12:37:18 - RWPPC_DIR = .<br>12:37:18 - TARGET_TYPE = JTAG_Ethernet<br>
12:37:18 - TARGET_NAME = 192.168.10.5<br>12:37:18 - Requested Processor 970MPRev1:CORE1<br>12:37:18 - Requested Processor 970MPRev1:CORE2<br>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<br>
12:37:31 - HPE8130A Series Emulation System<br>12:37:31 - Version: A.01.20 04Apr02 Unreleased <br>12:37:31 - Location: Generics<br>12:37:31 - HPEGPUL PowerPC 970 JTAG Emulator <br>12:37:31 - Version: A.00.I0 22Jul08 13:48 Proto <br>
12:37:31 - WARNING : Could not read processor status, slowing JTAG clock and retrying<br>12:37:31 - ERROR : bad status received, see README for possible causes<br>12:37:36 - Starting MPS mode<br>12:43:18 - STATUS : CORE1 status changed from UNKNOWN to HALTED<br>
12:43:18 - STATUS : CORE2 status changed from UNKNOWN to HALTED<br> Note---> Status become HALTED because I reset target board<br> <br>12:43:19 - ERROR : CORE1 status changed from HALTED to UNKNOWN<br>12:43:19 - ERROR : CORE2 status changed from HALTED to UNKNOWN<br>
<br><br>Regards,<br>Anil<br><br><br>