On Wed, Mar 18, 2009 at 1:16 PM, Alan Carvalho de Assis <acas...@gmail.com> wrote: > Hi Jeff, > > On Mon, Mar 9, 2009 at 12:05 AM, Jeff Williams <je...@gadgetworks.com> wrote: >> Hi, >> >> I've made some changes to OpenOCD to support the Segger JLink for the >> Freescale MC1322x. >> >> I'm working with someone who says that my changes seem more stable for >> JLink overall, but he also says there might be some issues with ARM9 >> processors. I'm new to ARM and this community, so I've been >> struggling a bit to figure out what to do with my patches. >> > > I tested your patch on i.MX31 (ARM11), then I think your friend was right :-) > > # openocd -f interface/axm0432.cfg -f board/imx31pdk.cfg > Open On-Chip Debugger 1.0 (2009-03-18-12:50) svn:1415M > > > 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 > Info : JTAG tap: imx35.sjc tap/device found: 0xa57201e1 (Manufacturer: > 0x0f0, Part: 0x5720, Version: 0xa) > Error: JTAG tap: imx35.sjc got: 0xa57201e1 (mfg: 0x0f0, > part: 0x5720, ver: 0xa) > Error: JTAG tap: imx35.sjc expected 1 of 1: 0x2b900f0f (mfg: 0x787, > part: 0xb900, ver: 0x2) > Error: trying to validate configured JTAG chain anyway... > Error: Could not validate JTAG scan chain, IR mismatch, scan returned > 0x0C0804. tap=imx35.sjc pos=0 expected 0x1 got 0 > Warn : Could not validate JTAG chain, continuing anyway... > Warn : TAP imx35.cpu: > Warn : value captured during scan didn't pass the requested check: > Warn : captured: 0x00 check_value: 0x01 check_mask: 0x1F > Warn : in_handler: w/o "in_value", mismatch in SIR > Warn : TAP imx35.cpu: > Warn : value captured during scan didn't pass the requested check: > Warn : captured: 0x00 check_value: 0x01 check_mask: 0x1F > Warn : in_handler: w/o "in_value", mismatch in SIR > Error: 'arm11 target' JTAG communication error SCREG SCAN OUT 0x04 > (expected 0x10) > Warn : in_handler: w/o "in_value", mismatch in SDR > Warn : TAP imx35.cpu: > Warn : value captured during scan didn't pass the requested check: > Warn : captured: 0x00 check_value: 0x01 check_mask: 0x1F > Warn : in_handler: w/o "in_value", mismatch in SIR > Warn : no telnet port specified, using default port 4444 > Warn : no gdb port specified, using default port 3333 > Warn : no tcl port specified, using default port 6666 >
I realized that using your patch it is discarding 3 LSBits : Expected: 0 0101 0111 0010 0000 0001 1110 0001 111 Got: 1010 0101 0111 0010 0000 0001 1110 0001 Regards, Alan _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development