IRC log for #openjtag on 20091020

00:01.51*** join/#openjtag brolin (n=brolin@nat78.udea.edu.co)
02:25.53*** join/#openjtag roxfan (n=dunno@206.223-240-81.adsl-dyn.isp.belgacom.be)
05:18.19*** join/#openjtag Rolybrau (n=Rolybrau@unaffiliated/rolybrau)
11:28.21*** join/#openjtag pirho (i=pirho@gateway/gpg-tor/key-0x2CEEC9CB)
11:28.50*** part/#openjtag pirho (i=pirho@gateway/gpg-tor/key-0x2CEEC9CB)
11:35.58*** join/#openjtag _julian (n=quassel@dslc-082-083-134-123.pools.arcor-ip.net)
14:41.01*** join/#openjtag _julian (n=quassel@dslc-082-083-134-123.pools.arcor-ip.net)
16:23.51*** join/#openjtag dirk2 (n=dirk@p5B040543.dip0.t-ipconnect.de)
16:45.12*** join/#openjtag pleemans (n=toi@d54C2A96D.access.telenet.be)
18:24.07*** join/#openjtag _julian_ (n=quassel@dslc-082-083-134-123.pools.arcor-ip.net)
18:47.46_julian_hi
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
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
18:50.01_julian_http://pastebin.com/d23737cbd
18:50.13_julian_can anyone guide me what might go wrong here?
18:53.49ziloggot power for the board, and enabled jtag?
18:54.29zilogmy 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
18:59.21_julian_zilog: yes board is powered up and jtag should be enabled
18:59.33_julian_DBGSEL jumper is set
18:59.57_julian_I don't know if the reset is driven correctly by the jtag adapter, maybe that's going wrong!?
18:59.57zilogmaybe could try a slower jtag speed
19:00.38zilogI use the lpc2138 board from olimex, could compare with the schematic for that
19:01.27_julian_I can send you the schematics of the board  I try to connect to
19:02.05zilogthis is my board: http://www.olimex.com/dev/images/lpc-p2138-sch.gif
19:03.00zilogit seems like I need to go as low as jtag_speed 10 even though I use the arm-usb-tiny adapter
19:03.10zilogmy old parallell wiggler adapter doesnt work at any speed at all
19:06.08_julian_damn can't find my scanned schematics...
19:07.03_julian_ah, found it: http://www.jusst.de/files/minimars-schema.jpeg
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
19:08.29_julian_jtag_speed 10 makes no difference
19:10.01zilogmaybe the reset configuration is wrong
19:13.31_julian_what could I try there?
19:14.59zilogI use this: reset_config trst_and_srst srst_pulls_trst
19:15.22zilogI unfortunately know too little of what it corresponds to in the electronics
19:15.38zilogI use lauterbach at work, and we have a gau that manages the config of that one ;)
19:15.43zilogguy
19:16.40_julian_that's the config I have set as well
19:17.12zilogcan you verify with a multimeter or scope that your reset line is pulled low when it should?
19:17.18zilogor that jtag signals really arrive
19:18.24_julian_maybe the reset is inverted? - as the lpc requires !rst
19:18.24_julian_yeah can set up the scope. but not this evening. will you be online tomorrwo morning?
19:19.19zilogwill be home around this time, maybe 12 hours earlier
19:19.22zilog1-2 hours
19:19.44zilogbut Im not an expert on this, also trying to get my hello world stuff to work ;)
19:21.28_julian_heh ok - maybe someone else is online as well tomorrow (c:
19:22.08zilogfortunately I still have a job to attend daytime ;)
19:23.06zilogwhat kind of jtag adapter are you using?
19:23.24zilogI found my laptop producing too low signal voltage to use the parallell port adapter
19:23.27_julian_this one: http://www.embedded-projects.net/index.php?page_id=256
19:23.36_julian_it's a usb adapter
19:24.34zilognever seen that one, but shouldnt have problems with the voltages at least
19:27.40_julian_hope so
19:30.20zilogwhat kind of IDE are you planning to use?
19:30.49_julian_eclipse
19:31.16zilogsame here
19:31.34zilogyou know how to have several targets in a makefile, and let eclipse choose which one to make?
19:31.35_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
19:31.47zilogI have RAM and ROM targets, but cant figure out how to only make one of them..
19:31.54_julian_isn't this possible in the c++ build configuration?
19:32.06_julian_let me check
19:32.54zilogprobably, just dont know how
19:32.58zilognew to eclipse
19:34.30_julian_in the project preferences under C/C++ Make Project you can at least set a target for "Build"
19:34.36zilogmm
19:34.46zilogseems like I managed to add "RAM" as a target
19:39.22_julian_I think there is some more convenient way to do this though
19:39.27_julian_anyway, I need some sleep now
19:39.29_julian_thanks for your hints
19:41.14zilognight
21:00.36*** join/#openjtag pirho (i=pirho@gateway/gpg-tor/key-0x2CEEC9CB)
21:09.47*** part/#openjtag pirho (i=pirho@gateway/gpg-tor/key-0x2CEEC9CB)
22:16.15*** join/#openjtag nslu2-log (n=nslu2-lo@limax.nslu2-linux.org)
22:18.37*** join/#openjtag brolin (n=brolin@201.232.107.129)
23:36.15*** join/#openjtag nslu2-log (n=nslu2-lo@limax.nslu2-linux.org)
23:45.44*** join/#openjtag purl (i=ibot@rikers.org)
23:45.44*** topic/#openjtag is this is the place to discuss bootloaders and JTAG

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.