On Sat, Aug 14, 2010 at 12:00 PM, Xiaofan Chen <xiaof...@gmail.com> wrote: > On Sat, Aug 14, 2010 at 8:30 AM, Xiaofan Chen <xiaof...@gmail.com> wrote: >> OpenOCD has long worked with LPC-2148. Last time I was >> using a J-Link (V6, V7 and V3, it took some time to get V3 working). >> > > I also tried it under Linux with the latest git. Here I am using libftdi-0.18. > Somehow the RCLK support is gone. > > ../git/openocd/configure --enable-maintainer-mode --enable-jlink > --enable-ft2232_libftdi --enable-parport --enable-dummy > > mc...@ubuntu:~/Desktop/build/openocd/lpc2148$ > openocd -f interface/jtagkey2.cfg -f board/olimex_lpc_h2148.cfg > Open On-Chip Debugger 0.5.0-dev-00485-g36333f9 (2010-08-14-11:18) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.berlios.de/doc/doxygen/bugs.html > Info : only one transport option; autoselect 'jtag' > RCLK - adaptive > adapter_nsrst_delay: 200 > jtag_ntrst_delay: 200 > trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain > Info : RCLK (adaptive clock speed) not supported - fallback to 500 kHz > Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (mfg: 0x787, > part: 0xf1f0, ver: 0x4) > Info : Embedded ICE version 4 > Info : lpc2148.cpu: hardware has 2 breakpoint/watchpoint units >
This seems to be a regression from OpenOCD 0.4.0. mc...@ubuntu:~/Desktop/build/openocd/lpc2148$ /usr/bin/openocd -f interface/jtagkey2.cfg -f board/olimex_lpc_h2148.cfg Open On-Chip Debugger 0.4.0 (2010-08-14-17:05) Licensed under GNU GPL v2 For bug reports, read http://openocd.berlios.de/doc/doxygen/bugs.html RCLK - adaptive jtag_nsrst_delay: 200 jtag_ntrst_delay: 200 trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain Info : max TCK change to: 30000 kHz Info : RCLK (adaptive clock speed) Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (mfg: 0x787, part: 0xf1f0, ver: 0x4) Info : Embedded ICE version 4 Info : lpc2148.cpu: hardware has 2 breakpoint/watchpoint units BTW, it seems to me DCC is not enabled by default. > flash erase_sector 0 0 26 erased sectors 0 through 26 on flash bank 0 in 0.144873s > flash write_image lpc2148_demo.hex 0x0 Verification will fail since checksum in image (0xe59ff004) to be written to flash is different from calculated vector checksum (0xb9205f88). To remove this warning modify build tools on developer PC to inject correct LPC vector checksum. wrote 232748 bytes from file lpc2148_demo.hex in 11.702226s (19.423 kb/s) > arm7_9 dcc_downloads enable dcc downloads are enabled > flash erase_sector 0 0 26 erased sectors 0 through 26 on flash bank 0 in 0.144249s > flash write_image lpc2148_demo.hex 0x0 Verification will fail since checksum in image (0xe59ff004) to be written to flash is different from calculated vector checksum (0xb9205f88). To remove this warning modify build tools on developer PC to inject correct LPC vector checksum. wrote 232748 bytes from file lpc2148_demo.hex in 5.172287s (43.944 kb/s) -- Xiaofan _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development