AnsweredAssumed Answered

MPC8309TWR Board JTAG connectivity issue

Question asked by jiten patel on Oct 13, 2016
Latest reply on Dec 1, 2017 by Brett Stahlman

Hi all,
I am facing issue while connecting JTAG with MPC8309 board. I am using codewarrior TAP with CodeWarrior for Power Architecture Version: 10.4.0. Below are the steps I followed :-

- Created Codewarrior Bareboard project
- selected 8309 processor for the project
- For Debug Target Settings 
- Debugger Connection type: Hardware
- Board: 8309TWR
- Connection type : Code Warrior TAP
- Build Settings 
- Language : C
- Toolchain : PPC Freescale 
- Floating Point : Hardware 
- Processing Model
- AMP (one project per core)
- Using above settings build project for MPC8309TWR

 

=> Now when we try to connect the board using Debug Configuration(generated while creating project), gives below error :-
Error launching 8309-core00_RAM_8309_Connect
CCSProtocolPlugin : Failed to correctly configure the JTAG chain

 

=> Also when tried to debug using CCS(Code warrior connection server) it seems that our JTAG is not able to scan target system. Below are the attached CCS logs:-

(bin) 50 % source IDcode.tcl
Scanning for available TAPs connected via USB.....
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+      Available Remote Connections
+
+   1 -  CodeWarriorTAP  -  00:04:9f:03:9b:7d
+   2 -  CodeWarriorTAP  -  <Specify IP Address>
+   3 -  EthernetTAP  -  <Specify IP Address>
+   4 -  GigabitTAP  -  <Specify IP Address>
+
+   x  - Exit Script without Changes
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Specify connection:
1
Configuring TAP Interface....
Configured Connection: cwtap : 00:04:9f:03:9b:7d
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
#
###################################################

 

Please suggest solution for the above problem, is this related to MPC8309 hardware switch settings or any software configuration required to debug MPC8309twr board. If possible please provide debugging steps to track the issue.

Outcomes