On Mon, Jul 6, 2009 at 6:16 AM, Xiaofan Chen<[email protected]> wrote: > > Thanks a lot. Right now I have zero failure rate during startup under > Ubuntu 9.04 for the LPC-P2148 and STM3210E-Eval, with both V3 and > V7 J-Link. Often I would have about 20-25% startup failure for > EMU_CMD_VERSION before your patch. Now it is zero percent. > Great job. > > I will try out Arch Linux. >
With your first patch, it does not work at all. With your new patch, it seems to work better but still failed. The initialization error is gone at least. In any case, your patch makes things better and should be commited. 1) V3/V7 J-Link and STM3210E-EVAL. [mc...@myhost jlinkv7]$ openocd -f stm3210e.cfg Open On-Chip Debugger 0.2.0-in-development (2009-07-06-06:37) svn:2462M $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $ For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS 1000 kHz jtag_nsrst_delay: 100 jtag_ntrst_delay: 100 Info : J-Link initialization started / target CPU reset initiated Error: J-Link command 0xde failed (-1) Error: J-Link command 0xdc failed (-1) Error: J-Link command 0x01 failed (-1) Error: J-Link command EMU_CMD_VERSION failed (-1) Info : J-Link JTAG Interface ready Error: J-Link command 0xdd failed (-1) Error: J-Link command 0xdf failed (-1) Error: J-Link setting speed failed (-1) Error: usb_bulk_write failed (requested=6, result=-1) Error: jlink_tap_execute, wrong result -107 (expected 1) Error: usb_bulk_write failed (requested=6, result=-1) Error: jlink_tap_execute, wrong result -107 (expected 1) Error: J-Link command 0xdd failed (-1) Error: J-Link command 0xde failed (-1) Error: J-Link command 0xdc failed (-1) Error: J-Link command 0xde failed (-1) Error: J-Link command 0xdc failed (-1) Error: J-Link command 0xdf failed (-1) Error: usb_bulk_write failed (requested=6, result=-1) Error: jlink_tap_execute, wrong result -107 (expected 1) Error: J-Link command 0xdd failed (-1) Error: J-Link command 0xdf failed (-1) Error: usb_bulk_write failed (requested=6, result=-1) Error: jlink_tap_execute, wrong result -107 (expected 1) Error: usb_bulk_write failed (requested=6, result=-1) Error: jlink_tap_execute, wrong result -107 (expected 1) ^C 2) V3/V7 J-Link and LPC-P2148 [mc...@myhost jlinkv7]$ openocd -f lpc-p2148.cfg Open On-Chip Debugger 0.2.0-in-development (2009-07-06-06:37) svn:2462M $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $ For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS RCLK - adaptive jtag_nsrst_delay: 200 jtag_ntrst_delay: 200 Info : J-Link initialization started / target CPU reset initiated Error: J-Link command 0xde failed (-1) Error: J-Link command 0xdc failed (-1) Error: J-Link command 0x01 failed (-1) Error: J-Link command EMU_CMD_VERSION failed (-1) Info : J-Link JTAG Interface ready Error: J-Link command 0xdd failed (-1) Error: J-Link command 0xdf failed (-1) Error: J-Link setting speed failed (-1) Error: usb_bulk_write failed (requested=6, result=-1) Error: jlink_tap_execute, wrong result -107 (expected 1) Error: usb_bulk_write failed (requested=6, result=-1) Error: jlink_tap_execute, wrong result -107 (expected 1) Error: J-Link command 0xdd failed (-1) Error: J-Link command 0xde failed (-1) Error: J-Link command 0xdc failed (-1) Error: J-Link command 0xde failed (-1) Error: J-Link command 0xdd failed (-1) Error: J-Link command 0xdf failed (-1) Error: usb_bulk_write failed (requested=6, result=-1) Error: jlink_tap_execute, wrong result -107 (expected 1) Error: usb_bulk_write failed (requested=6, result=-1) Error: jlink_tap_execute, wrong result -107 (expected 1) ^C -- Xiaofan http://mcuee.blogspot.com _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
