oops, I used 0x088231d instead 0x0882301d! fixed!
On Fri, Jan 16, 2009 at 1:00 PM, Alan Carvalho de Assis <[email protected]> wrote: > Hi all, > > I am facing a strange problem: the JTAG tap is reading the right value > from my device but the value I defined on config file appear changed > during detection. > > This is the config file: > > # The bs tap > if { [info exists BSTAPID ] } { > set _BSTAPID $BSTAPID > } else { > set _BSTAPID 0x1b900f0f > } > jtag newtap $_CHIPNAME bs -irlen 4 -ircapture 0x1 -irmask 0xf > -expected-id $_BSTAPID > > # The CPU tap > if { [info exists CPUTAPID ] } { > set _CPUTAPID $CPUTAPID > } else { > set _CPUTAPID 0x07926041 > } > jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf > -expected-id $_CPUTAPID > > # The SDMA tap > if { [info exists SDMATAPID ] } { > set _SDMATAPID $SDMATAPID > } else { > set _SDMATAPID 0 > } > jtag newtap $_CHIPNAME sdma -irlen 4 -ircapture 0x0 -irmask 0xf > -expected-id $_SDMATAPID > > # The SJC tap > if { [info exists SJCTAPID ] } { > set _SJCTAPID $SJCTAPID > } else { > set _SJCTAPID 0x088231d > } > jtag newtap $_CHIPNAME sjc -irlen 5 -ircapture 0x1 -irmask 0x1f > -expected-id $_SJCTAPID > > > Notice I defined SJC IDCODE = 0x088231d, but during detection the > openocd is looking for 0x0088231d > > > See: > > Open On-Chip Debugger 1.0 (2009-01-16-08:27) svn:1324 > > > BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS > > > $URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $ > jtag_speed: 10 > dcc downloads are enabled > Info : JTAG tap: imx.bs tap/device found: 0x1b900f0f (Manufacturer: > 0x787, Part: 0xb900, Version: 0x1) > Info : JTAG Tap/device matched > Info : JTAG tap: imx.cpu tap/device found: 0x07926041 (Manufacturer: > 0x020, Part: 0x7926, Version: 0x0) > Info : JTAG Tap/device matched > Warn : Tap/Device does not have IDCODE > Info : JTAG Tap/device matched > Info : JTAG tap: imx.sjc tap/device found: 0x0882301d (Manufacturer: > 0x00e, Part: 0x8823, Version: 0x0) > Error: JTAG tap: imx.sjc got: 0x0882301d (mfg: 0x00e, > part: 0x8823, ver: 0x0) > Error: JTAG tap: imx.sjc expected 1 of 1: 0x0088231d (mfg: 0x18e, > part: 0x0882, ver: 0x0) > Error: trying to validate configured JTAG chain anyway... > Error: Could not validate JTAG scan chain, IR mismatch, scan returned > 0x061011. tap=imx.sdma pos=8 expected 0x1 got 0 > Warn : Could not validate JTAG chain, continuing anyway... > Warn : TAP imx.cpu: > Warn : value captured during scan didn't pass the requested check: > Warn : captured: 0x0f check_value: 0x01 check_mask: 0x0f > Warn : in_handler: w/o "in_value", mismatch in SIR > Warn : no tcl port specified, using default port 6666 > > > I think this is not just a shift problem because the 0 between 3 and 1 go > away. > > Someone here know about this problem? > > Best Regards, > > Alan > _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
