OMAP3530 ICEPICK

From eLinux.org
Revision as of 19:24, 12 December 2008 by Dirk (Talk | contribs)

Jump to: navigation, search

The page is about OMAP3530 ICEPICK. See BeagleBoard JTAG page for more info about JTAG on OMAP3530 used at BeagleBoard.

Adding TAPs to the Scan Chain

The TAP router must be programmed to add additional TAPs to the scan chain. The following JTAG scans must be completed before the CoreSight DAP is added to the scan chain.

## Function  : Update the JTAG preamble and post-amble counts.
   Parameter : The IR pre-amble count is '0'.
   Parameter : The IR post-amble count is '0'.
   Parameter : The DR pre-amble count is '0'.
   Parameter : The DR post-amble count is '0'.
   Parameter : The IR main count is '6'.
   Parameter : The DR main count is '1'.

## Function  : Do a send-only JTAG IR/DR scan.
   Parameter : The route to JTAG shift state is 'shortest transition'.
   Parameter : The JTAG shift state is 'shift-ir'.
   Parameter : The JTAG destination state is 'pause-ir'.
   Parameter : The bit length of the command is '6'.
   Parameter : The send data value is '0x00000007'.
   Parameter : The actual receive data is 'discarded'.

## Function  : Do a send-only JTAG IR/DR scan.
   Parameter : The route to JTAG shift state is 'shortest transition'.
   Parameter : The JTAG shift state is 'shift-dr'.
   Parameter : The JTAG destination state is 'pause-dr'.
   Parameter : The bit length of the command is '8'.
   Parameter : The send data value is '0x00000089'.
   Parameter : The actual receive data is 'discarded'.

## Function  : Do a send-only JTAG IR/DR scan.
   Parameter : The route to JTAG shift state is 'shortest transition'.
   Parameter : The JTAG shift state is 'shift-ir'.
   Parameter : The JTAG destination state is 'pause-ir'.
   Parameter : The bit length of the command is '6'.
   Parameter : The send data value is '0x00000002'.
   Parameter : The actual receive data is 'discarded'.

## Function  : Embed the port address in next command.
   Parameter : The port address field is '0x0f000000'.
   Parameter : The port address value is '3'.

## Function  : Do a send-only JTAG IR/DR scan.
   Parameter : The route to JTAG shift state is 'shortest transition'.
   Parameter : The JTAG shift state is 'shift-dr'.
   Parameter : The JTAG destination state is 'pause-dr'.
   Parameter : The bit length of the command is '32'.
   Parameter : The send data value is '0xa3002108'.
   Parameter : The actual receive data is 'discarded'.

## Function  : Do a send-only all-ones JTAG IR/DR scan.
   Parameter : The JTAG shift state is 'shift-ir'.
   Parameter : The JTAG destination state is 'run-test/idle'.
   Parameter : The bit length of the command is '6'.
   Parameter : The send data value is 'all-ones'.
   Parameter : The actual receive data is 'discarded'.

## Function  : Wait for a minimum number of TCLK pulses.
   Parameter : The count of TCLK pulses is '10'.

## Function  : Update the JTAG preamble and post-amble counts.
   Parameter : The IR pre-amble count is '0'.
   Parameter : The IR post-amble count is '6'.
   Parameter : The DR pre-amble count is '0'.
   Parameter : The DR post-amble count is '1'.
   Parameter : The IR main count is '4'.
   Parameter : The DR main count is '1'. 

Once the DAP is added to the scan chain, the debugger can communicate with the CortexA8 processor.

Screen shot of OMAP3530 scan chain from ARM's RealView ICE.