background image

C2000 Debugger     |    19

©

1989-2023

   Lauterbach        

 

                   

                            

SWDP 

[

ON

 | 

OFF

]

With this command you can change from the normal JTAG 
interface to the serial wire debug mode. SWDP (Serial Wire Debug 
Port) uses just two signals instead of five. It is required that the 
target and the debugger hard- and software supports this 
interface.

Default: OFF.

SWDPIdleHigh 

[

ON

 | 

OFF

]

Keep SWDIO line high when idle. Only for Serialwire Debug mode. 
Usually the debugger will pull the SWDIO data line low, when no 
operation is in progress, so while the clock on the SWCLK line is 
stopped (kept low).

You can configure the debugger to pull the SWDIO data line
high, when no operation is in progress by using 

SYStem.CONFIG SWDPIdleHigh ON

 

Default: OFF.

SWDPTargetSel 

<value>

Device address in case of a multidrop serial wire debug port.

Default: none set (any address accepted).

TriState 

[

ON

 | 

OFF

]

TriState has to be used if several debug cables are connected to a 
common JTAG port. TAPState and TCKLevel define the TAP state 
and TCK level which is selected when the debugger switches to 
tristate mode. 
Please note: 

nTRST must have a pull-up resistor on the target.

TCK can have a pull-up or pull-down resistor.

Other trigger inputs need to be kept in inactive state.

Default: OFF.

Содержание C2000

Страница 1: ...MANUAL Release 02 2023 C2000 Debugger...

Страница 2: ...ses 9 DSP specific SYStem Commands 10 SYStem CONFIG state Display target configuration 10 SYStem CONFIG Configure debugger according to target topology 11 parameters describing the DebugPort 17 parame...

Страница 3: ...andling 53 SYStem Option ExecutionMode Sets the CPU execution mode 54 SYStem Option IMASKASM Disable interrupts while single stepping 54 SYStem Option IMASKHLL Disable interrupts while HLL single step...

Страница 4: ...C2000 Debugger 4 1989 2023 Lauterbach C2000 Debugger Version 10 Feb 2023 History 23 Nov 22 New command SYStem Option ExecutionMode...

Страница 5: ...t of debug commands Architecture specific information Processor Architecture Manuals These manuals describe commands that are specific for the processor architecture supported by your Debug Cable To a...

Страница 6: ...language similar to C that lets you create functions to extend Code Composer Studio s usefulness The converter allows you to convert GEL language into PRACTICE scripts cmm which can be used directly i...

Страница 7: ...e target while the target power is off 2 Connect the host system the TRACE32 hardware and the Debug Cable 3 Power ON the TRACE32 hardware 4 Start the TRACE32 software to load the debugger firmware 5 C...

Страница 8: ...and 100 s If a terminal window is open the response time of the trigger system is undefined It is recommended not to use the trigger system and terminal window at the same time Breakpoints Software Br...

Страница 9: ...Memory Classes The following DSP specific memory classes are available To access a memory class write the class in front of the address Prepending an E as attribute to the memory class will make memo...

Страница 10: ...b tab DebugPort Jtag MultiTap AccessPorts COmponents tab Opens the SYStem CONFIG state window on the specified tab For tab descriptions see below DebugPort default The DebugPort tab informs the debugg...

Страница 11: ...ich memory bus and at which base address the debugger can find the control registers of the modules For descriptions of the commands on the COmponents tab see COmponents Format SYStem CONFIG parameter...

Страница 12: ...meter AccessPorts AHBAPn Base address AHBAPn HPROT value name AHBAPn Port port AHBAPn RESet AHBAPn view AHBAPn XtorName name APBAPn Base address APBAPn Port port APBAPn RESet APBAPn view APBAPn XtorNa...

Страница 13: ...view C5000 C6000 C7000 only parameter COmponents cont CMI Base address CMI RESet CMI TraceID id CMI view COREDEBUG Base address C7000 only COREDEBUG RESet C7000 only COREDEBUG view C7000 only CTI Base...

Страница 14: ...EP ATBSource source REP Base address REP Name string REP RESet REP view SC Base address SC RESet SC TraceID id SC view STM Base address STM Mode None SDTI STP STP64 STPv2 STPv2LE STM Name string STM R...

Страница 15: ...s ETBBASE address ETBFUNNELBASE address ETFBASE address ETMBASE address parameter Deprecated cont FUNNEL2BASE address FUNNELBASE address HTMBASE address ITMBASE address RTPBASE address SDTIBASE addres...

Страница 16: ...on SYStem CPU type to become active and it might additionally depend on further settings Ideally you can select with SYStem CPU the chip you are using which causes all setup you need and you do not ne...

Страница 17: ...d might be required in a multicore environment if you use multiple debugger instances multiple TRACE32 PowerView GUIs to simultaneously debug different cores on the same target system Because of the d...

Страница 18: ...gCa bleA DebugCableB It specifies which probe cable shall be used e g DebugCableA or DebugCableB At the moment only the CombiProbe allows to connect more than one probe cable Default depends on detect...

Страница 19: ...ck on the SWCLK line is stopped kept low You can configure the debugger to pull the SWDIO data line high when no operation is in progress by using SYStem CONFIG SWDPIdleHigh ON Default OFF SWDPTargetS...

Страница 20: ...ber of TAPs in the JTAG chain between the TDI signal and the TAP you are describing In BYPASS mode each TAP contributes one data register bit See possible TAP types and example below Default 0 DRPRE b...

Страница 21: ...ble 0 Exit2 DR 1 Exit1 DR 2 Shift DR 3 Pause DR 4 Select IR Scan 5 Update DR 6 Capture DR 7 Select DR Scan 8 Exit2 IR 9 Exit1 IR 10 Shift IR 11 Pause IR 12 Run Test Idle 13 Update IR 14 Capture IR 15...

Страница 22: ...mory access changes the JTAG chain and the core TAP position then you can specify the new values with the NEXT parameter After the access for example the parameter NEXTIRPRE will replace the IRPRE val...

Страница 23: ...C2000 Debugger 23 1989 2023 Lauterbach...

Страница 24: ...s different versions Icepickx STCLTAPx MSMTAP Example DAPTAP tap Specifies the TAP number which needs to be activated to get the DAP TAP in the JTAG chain Used if MULTITAP Icepickx DEBUGTAP tap Specif...

Страница 25: ...ialize the MSMTAP Please note some of these parameters need a decimal input dot at the end IcepickXY means that there is an Icepick version X which includes a subsystem with an Icepick of version Y Fo...

Страница 26: ...specially important if the core you intend to debug is connected to such an internal JTAG interface The module controlling these JTAG interfaces is called JTAG Access Port JTAG AP Each JTAG AP can con...

Страница 27: ...sed for the HPROT bits in the Control Status Word CSW of a CoreSight AXI Access Port when using the AXI memory class MEMORYAPn HPROT value name Default 0 This option selects the value used for the HPR...

Страница 28: ...x3 Cache 0x0 This option configures the value used for the Cache and Domain bits in the Control Status Word CSW 27 24 Cache CSW 14 13 Domain of an Access Port when using the AXI memory class name Desc...

Страница 29: ...XtorName name APB bus transactor name identifying the bus where the debug register can be found Used for DAP access class MEMORYAPn XtorName name AHB bus transactor name identifying the bus where syst...

Страница 30: ...ss Default port not available DEBUGAPn Port port DEBUGACCESSPORT port deprecated AP access port number 0 255 of a SoC 400 system where the debug register can be found typically on APB Used for DAP acc...

Страница 31: ...FIG APBAP1 Base DP 0x80003000 Meaning The control register block of the APB access ports starts at address 0x80003000 AXIAPn Base address This command informs the debugger about the start address of t...

Страница 32: ...race components your chip includes and which you intend to use with the debugger s help Each configuration can be done by a command in a script file as well Then you do not need to enter everything ag...

Страница 33: ...n most cases Example SYStem CONFIG COREDEBUG Base 0x80010000 0x80012000 SYStem CONFIG BMC Base 0x80011000 0x80013000 SYStem CONFIG ETM Base 0x8001c000 0x8001d000 SYStem CONFIG STM1 Base EAHB 0x2000800...

Страница 34: ...e the interconnection by ATBSource source A CoreSight trace FUNNEL has eight input ports port 0 7 to combine the data of various trace sources to a common trace stream Therefore you can enter instead...

Страница 35: ...exists only for FUNNELs For a list of possible components including a short description see Components and Available Commands BASE address This command informs the debugger about the start address of...

Страница 36: ...ug on a certain chip You will loose trace data at the end of the recording Don t use it if not needed Default OFF RESet Undo the configuration for this component This does not cause a physical reset f...

Страница 37: ...om and to the CTIs ARMv8 only ARMV8V3 Channel 0 1 and 2 of the CTM are used to distribute start stop events Implemented on request ARMv8 only ETB Size size Specifies the size of the Embedded Trace Buf...

Страница 38: ...just a number which you need to figure out in the chip documentation RTP PerBase address PERBASE specifies the base address of the core peripheral registers which accesses shall be traced PERBASE is n...

Страница 39: ...Enables trace to be stored in a dedicated SRAM The trace data will be read out through the debug port after the capturing has finished FUNNEL ATBSource sourcelist FUNNEL Base address FUNNEL Name stri...

Страница 40: ...ring statistic data about bus traffic to a system trace module STM Base address STM Mode NONE XTIv2 SDTI STP STP64 STPv2 STM RESet STM Type None Generic ARM SDTI TI System Trace Macrocell STM MIPI ARM...

Страница 41: ...ssible via APB bus In an SMP Symmetric MultiProcessing debug session you can enter for the components BMC CORE CTI ETB ETF ETM ETR a list of base addresses to specify one component per core Example as...

Страница 42: ...d Available Commands CTICONFIG type Informs about the interconnection of the core Cross Trigger Interfaces CTI Certain ways of interconnection are common and these are supported by the debugger e g to...

Страница 43: ...NEL2PORT port FUNNEL2 ATBSource DTM port 1 DTMFUNNELPORT port FUNNEL1 ATBSource DTM port 1 DTMTPIUFUNNELPORT port FUNNEL3 ATBSource DTM port 1 DWTBASE address DWT Base address ETB2AXIBASE address ETB2...

Страница 44: ...ess SDTIBASE address STM1 Base address STM1 Mode SDTI STM1 Type SDTI STMBASE address STM1 Base address STM1 Mode STPV2 STM1 Type ARM STMETBFUNNELPORT port FUNNEL4 ATBSource STM1 port 1 STMFUNNEL2PORT...

Страница 45: ...nostic module SYStem CPU Select the used CPU Default selection C280X Selects the processor type TRACEFUNNELPORT port FUNNEL1 ATBSource ADTF port 1 TRACETPIUFUNNELPORT port FUNNEL3 ATBSource ADTF port...

Страница 46: ...window Besides a decimal number like 100000 short forms like 10kHz or 15MHz can also be used The short forms imply a decimal value although no is used CTCK With this option higher JTAG speeds can be...

Страница 47: ...he need to synchronize the processor clock and the JTAG clock In this case RTCK shall be selected Synchronization is maintained because the debugger does not progress to the next TCK edge until after...

Страница 48: ...ich do not have a fixed name for the memory access method Denied default Real time memory access during program execution to target is disabled Format SYStem Mode mode SYStem Attach alias for SYStem M...

Страница 49: ...o be in DOWN state when switching to this mode It resets and starts the program when power is detected Halt the program execution and set all the breakpoints and trace conditions you need then re star...

Страница 50: ...13 Domain of an AXI Access Port of a DAP when using the AXI memory class SYStem Option AXIHPROT Select AXI AP HPROT bits Default 0 This option selects the value used for the HPROT bits in the Control...

Страница 51: ...recommended that SYStem Option DAPDBGPWRUPREQ is set to AlwaysON SYStem Option DAPNOIRCHECK No DAP instruction register check Default OFF Bug fix for derivatives which do not return the correct patte...

Страница 52: ...ange address NOTE Up to 16 address_range address pairs are possible Each pair has to contain an address range followed by a single address Format SYStem Option DAPSYSPWRUPREQ AlwaysON ON OFF AlwaysON...

Страница 53: ...listed below This is the default Normally it does not hurt to try improper switching sequences Therefore this succeeds in most cases None There is no switching sequence required The SW DP is ready af...

Страница 54: ...Disable interrupts while HLL single stepping Default OFF If enabled the interrupt mask bits of the CPU will be set during HLL single step operations The interrupt routine is not executed during single...

Страница 55: ...ctivates a more powerful error handling This option should be used if the debugger shows any unstable behavior SYStem RESetOut Reset target without reset of debug port If possible nRESET is open colle...

Страница 56: ...mmands TrOnchip state Display on chip trigger window Opens the TrOnchip state window TrOnchip RESet Set on chip trigger to default state Sets the TrOnchip settings and trigger module to the default se...

Страница 57: ...additional hardware breakpoints as well as benchmark counters BMC general_ref_b pdf If an application running on the device needs to access the ERAD module the ERAD has to be turned off in TRACE32 ER...

Страница 58: ...s connector This is a standard 20 pin double row connector pin to pin spacing 0 100 in We strongly recommend to use a connector on your target with housing and having a center polarization e g AMP 2 8...

Страница 59: ...input It is connected to the supply translating transceiver nSRST nRESET is used by the debugger to reset the target CPU or to detect a reset on the target It is driven by an open collector buffer A 4...

Страница 60: ...C2000 Debugger 60 1989 2023 Lauterbach Mechanical Description of the TI Connector FAQ Please refer to https support lauterbach com kb...

Страница 61: ...C2000 Debugger 61 1989 2023 Lauterbach Operation Voltage Adapter OrderNo Voltage Range JTAG Debugger for C2000 DSP ICD LA 7847 1 8 3 6 V...

Отзывы: