**** BEGIN LOGGING AT Tue Oct 20 02:59:57 2009 Oct 20 18:47:46 <_julian_> hi Oct 20 18:48:26 <_julian_> I am new to openocd and am trying to setup a debug chain to a lpc2103 device. I have a usb jtag adapter from www.embedded-projects.org which is directly connected to a lpc2103 jtag interface Oct 20 18:49:46 <_julian_> so I did a config with just two source lines - one for interface openocd-usb.cfg and one for target lpc2103.cfg - then I started openocd. now I get this error output Oct 20 18:50:01 <_julian_> http://pastebin.com/d23737cbd Oct 20 18:50:13 <_julian_> can anyone guide me what might go wrong here? Oct 20 18:53:49 got power for the board, and enabled jtag? Oct 20 18:54:29 my lpc2138 board also has some jumper that affects the bootloader in some fashion (havent got that far yet) that needs to be in a certain position too Oct 20 18:59:20 <_julian_> zilog: yes board is powered up and jtag should be enabled Oct 20 18:59:33 <_julian_> DBGSEL jumper is set Oct 20 18:59:57 <_julian_> I don't know if the reset is driven correctly by the jtag adapter, maybe that's going wrong!? Oct 20 18:59:57 maybe could try a slower jtag speed Oct 20 19:00:38 I use the lpc2138 board from olimex, could compare with the schematic for that Oct 20 19:01:27 <_julian_> I can send you the schematics of the board I try to connect to Oct 20 19:02:05 this is my board: http://www.olimex.com/dev/images/lpc-p2138-sch.gif Oct 20 19:03:00 it seems like I need to go as low as jtag_speed 10 even though I use the arm-usb-tiny adapter Oct 20 19:03:10 my old parallell wiggler adapter doesnt work at any speed at all Oct 20 19:06:08 <_julian_> damn can't find my scanned schematics... Oct 20 19:07:03 <_julian_> ah, found it: http://www.jusst.de/files/minimars-schema.jpeg Oct 20 19:07:46 <_julian_> I made an adapter cable for that 12pin jtag header which just connects all the wires straight to their matches on the adapter. rtck is not connected as my adapter has no rtck Oct 20 19:08:29 <_julian_> jtag_speed 10 makes no difference Oct 20 19:10:01 maybe the reset configuration is wrong Oct 20 19:13:31 <_julian_> what could I try there? Oct 20 19:14:59 I use this: reset_config trst_and_srst srst_pulls_trst Oct 20 19:15:22 I unfortunately know too little of what it corresponds to in the electronics Oct 20 19:15:38 I use lauterbach at work, and we have a gau that manages the config of that one ;) Oct 20 19:15:43 guy Oct 20 19:16:40 <_julian_> that's the config I have set as well Oct 20 19:17:12 can you verify with a multimeter or scope that your reset line is pulled low when it should? Oct 20 19:17:18 or that jtag signals really arrive Oct 20 19:17:35 <_julian_> maybe the reset is inverted? - as the lpc requires !rst Oct 20 19:17:50 <_julian_> yeah can set up the scope. but not this evening. will you be online tomorrwo morning? Oct 20 19:19:19 will be home around this time, maybe 12 hours earlier Oct 20 19:19:22 1-2 hours Oct 20 19:19:44 but Im not an expert on this, also trying to get my hello world stuff to work ;) Oct 20 19:21:28 <_julian_> heh ok - maybe someone else is online as well tomorrow (c: Oct 20 19:22:08 fortunately I still have a job to attend daytime ;) Oct 20 19:23:06 what kind of jtag adapter are you using? Oct 20 19:23:24 I found my laptop producing too low signal voltage to use the parallell port adapter Oct 20 19:23:27 <_julian_> this one: http://www.embedded-projects.net/index.php?page_id=256 Oct 20 19:23:36 <_julian_> it's a usb adapter Oct 20 19:24:34 never seen that one, but shouldnt have problems with the voltages at least Oct 20 19:27:40 <_julian_> hope so Oct 20 19:30:20 what kind of IDE are you planning to use? Oct 20 19:30:49 <_julian_> eclipse Oct 20 19:31:16 same here Oct 20 19:31:34 you know how to have several targets in a makefile, and let eclipse choose which one to make? Oct 20 19:31:36 <_julian_> actually I have a complete project for that board already. but as the original board engineer used rowley I used this for flashing the board so far as well (using a rowley adapter), butnow I want to switch over Oct 20 19:31:47 I have RAM and ROM targets, but cant figure out how to only make one of them.. Oct 20 19:31:54 <_julian_> isn't this possible in the c++ build configuration? Oct 20 19:32:06 <_julian_> let me check Oct 20 19:32:54 probably, just dont know how Oct 20 19:32:58 new to eclipse Oct 20 19:34:30 <_julian_> in the project preferences under C/C++ Make Project you can at least set a target for "Build" Oct 20 19:34:36 mm Oct 20 19:34:46 seems like I managed to add "RAM" as a target Oct 20 19:39:22 <_julian_> I think there is some more convenient way to do this though Oct 20 19:39:27 <_julian_> anyway, I need some sleep now Oct 20 19:39:29 <_julian_> thanks for your hints Oct 20 19:41:14 night **** ENDING LOGGING AT Tue Oct 20 20:16:14 2009 **** BEGIN LOGGING AT Tue Oct 20 22:16:15 2009 **** ENDING LOGGING AT Tue Oct 20 22:56:54 2009 **** BEGIN LOGGING AT Tue Oct 20 23:36:15 2009 **** ENDING LOGGING AT Wed Oct 21 02:59:59 2009