IRC log for #openjtag on 20081227

00:18.54mgrossI'm coming back to some openocd based work on the olimex lpc-p2148 board and redoing my toolchain, I'm running the svn tip now but keep getting the following errors Error: invalid mode value encountered
00:18.55mgrossError: cpsr contains invalid mode value - communication failure
00:19.02mgrossany idea?
00:33.59mgrossr260 works.
00:53.24mgrosssortof
03:02.04flybackmunches on $75 worth of exotic giant eagle foods
03:36.04flybackis about to pass out, later all
08:08.50*** join/#openjtag tjtag (n=tjtag@bhossman.user.matrix.farlep.net)
08:12.48*** part/#openjtag tjtag (n=tjtag@bhossman.user.matrix.farlep.net)
08:31.03*** join/#openjtag tjtag (n=tjtag@bhossman.user.matrix.farlep.net)
08:31.17tjtagHello all
08:33.31*** part/#openjtag tjtag (n=tjtag@bhossman.user.matrix.farlep.net)
08:50.08*** join/#openjtag pleemans (n=toi@d54C2AAB7.access.telenet.be)
08:57.12*** join/#openjtag tjtag (n=tjtag@bhossman.user.matrix.farlep.net)
09:27.02*** part/#openjtag tjtag (n=tjtag@bhossman.user.matrix.farlep.net)
10:47.08*** join/#openjtag dirk2 (n=dirk@p5B0429DB.dip0.t-ipconnect.de)
13:56.07*** join/#openjtag _n0 (n=n3@76-191-148-54.dsl.dynamic.sonic.net)
14:20.16*** join/#openjtag mgross (n=mgross@pool-71-117-215-6.ptldor.fios.verizon.net)
16:05.30*** join/#openjtag dirk2 (n=dirk@p5B0416E1.dip0.t-ipconnect.de)
16:08.06*** part/#openjtag _n0 (n=n3@76-191-148-54.dsl.dynamic.sonic.net)
16:12.24*** join/#openjtag pleemans (n=toi@d54C2AAB7.access.telenet.be)
16:58.35*** join/#openjtag tjtag (n=tjtag@bhossman.user.matrix.farlep.net)
17:08.09*** join/#openjtag L_Deluxe (n=lou@c-68-53-134-58.hsd1.tn.comcast.net)
17:41.56*** join/#openjtag L_Deluxe (n=lou@c-68-53-134-58.hsd1.tn.comcast.net)
17:44.34dirk2Anybody here who can help me with understanding https://lists.berlios.de/pipermail/openocd-development/2008-December/004227.html ?
17:46.19*** join/#openjtag tjtag (n=tjtag@bhossman.user.matrix.farlep.net)
18:15.34*** join/#openjtag Curtman (n=curtis@S010600888888002a.wp.shawcable.net)
18:17.46CurtmanDoes anyone know if UrJTAG works with my cable, and if so what driver should I be using?  http://www.diygadget.com/store/jtag-test-tool/usb-powered-buffered-all-in-one-jtag-programmer/prod_32.html
18:19.24CurtmanIt says 'We use 74HCT244, a "Inverting Octal TRI-STATE(RM) Buffer"'
18:21.44CurtmanThis is quite a frustrating process figuring out parallel port settings/drivers/etc..  :(
18:22.21tjtagCurtman: I use this no problem
18:22.48Curtmantjtag, Which driver?  Wiggler ?  ppdev or no?
18:23.51tjtagtry them both wiggler & dlc5, depends on which connector your attached to on the programmer
18:24.03tjtagI use wiggler on the 14pin
18:24.05Curtmantjtag, Also, what do you recommend I set  in bios? AT / EPP / ECP
18:24.39Curtmantjtag, I'm using the pogo pins and aligator clip on the 7 pin adapter that came with it.
18:24.44tjtagIt reall has never mattered for the targets I have worked with, but I did a test once and normal was best
18:25.16tjtagso probablt dlc5 for you
18:26.00tjtagI have never used those pogo's !
18:26.12tjtagbrb
18:26.21CurtmanOkay.. All it is saying when I type 'detect' is "Warning: TDO seems to be stuck at 1".  So maybe parallel port communication problems,  
18:26.29*** part/#openjtag t (i=tom@freenode/staff/tomaw)
18:26.33CurtmanOkay, I'll be back in 5 mins as well.
18:31.36tjtagback
18:32.13CurtmanI'm back as well
18:33.20tjtagwell also depending on which pinout your connected to, the tdo-sel pin is backwards, or was for me
18:35.50CurtmanWhat do you mean backwards?  
18:36.21tjtagIm mean sel is for pin 13 . but its not on 13 its on tdo or vice versa
18:39.02tjtagwhat is your target ?
18:39.38CurtmanI have a whole bunch of devices here.  I've taken almost every electronic device in the house apart.  Hahah
18:39.50tjtagheheh
18:39.58CurtmanAt the moment I'm hooked up to a satellite receiver that I bought on eBay for $1.
18:40.04tjtagI see
18:40.37CurtmanI have a few Linksys routers here as well.
18:41.24tjtagwell hope you de-brick the sat reciever
18:42.03CurtmanI don't even plan to do anything with it, I just bought it to play with the jtag cable.
18:43.10tjtagI understand, I have about 15 routers here, I use one, the rest are for testing against tjtag
18:44.40CurtmanI need a better soldering gun before I attempt soldering any headers on to the routers though.
18:47.44tjtagCurtman:Where are you located
18:47.58CurtmanWinnipeg, Canada.
18:48.13tjtagAhh, ok
18:49.11CurtmanMaybe this cable is no good..  I couldn't even get the Windows software to work.  I spent a few hours repartitioning and installing XP just to try it.
18:49.55tjtagwhat driver were you using on XP ?
18:50.39tjtagI took me a little while to figure out the correct pins for that adapter
18:51.07CurtmanI tried a program called "jKeys" which had a diagnostic thing where I was supposed to be able to use my voltmeter to verify that it was operating the cable properly.  I couldn't get it to do anything.
18:51.39tjtagyou say your using the 8 pin connection ?
18:51.50CurtmanYeah.
18:52.04CurtmanErr, 7 pin.
18:53.17tjtagI use mostly Linux, no XP, my wife uses that
18:53.43tjtagOf cource the software I write has to run on it  :)
18:54.34CurtmanI didn't even have a computer with XP on it until two days ago when I got frustrated trying to get this thing working in Linux.  And even more frustrated when it didn't even work in Windows.
18:55.15tjtaghehehe, I know how you feel...I had a hard time with that adapter, getting it set right
18:55.28tjtagLinux is better :)
18:55.41tjtagWhat distro do you use ?
18:56.05CurtmanUsually Gentoo, but I'm trying to get used to Ubuntu.
18:56.47tjtagBig difference, Im a Debian guy, but playing with Archlinux right now
18:57.52tjtagyou might want to try changing the tdo-sel pin ?
18:58.29CurtmanI can never seem to get the hang of creating debs though.  I usually get upset about that and go back to Gentoo where I can make an ebuild in 10 lines of text or so and install something.
18:58.40CurtmanHow do I do that with the pogo pins?
18:59.06CurtmanI'm using the ribbon cable with the aligator clip on it.
18:59.16tjtagthe pogo does not matter, its the tdo-sel jumper Im talking about, what is it on now ?
18:59.35CurtmanJumper?
19:00.09tjtagyes, you don't have jumper on your adapter ?
19:00.28CurtmanI don't think so.
19:00.52CurtmanInside the casing on the parallel port part?
19:01.26tjtagOk, my bad, when you sadi it was the usb powered adapter I was thinking of a different one they make !
19:02.21tjtagMine is the wiggler buffered all in one
19:02.24tjtagSorry
19:02.39CurtmanI would have bought that one if I had known about it at the time.  :(
19:04.01tjtagIm playing with Gentoo as well, and a few others...
19:04.56tjtagAnd Im used to downloading the source and compiling, so its a little different for me as well
19:06.00Curtmandistcc makes it a lot faster too if you have spare computers around to help with the compiling.
19:06.27tjtagDO you have another cable you have used before ? is there something else you can tes on ?
19:06.57tjtagI will try that one day
19:07.02CurtmanIt's the only cable I have..  I'm currently looking at which one I'm going to buy next.
19:07.12tjtag<PROTECTED>
19:08.03CurtmanWhat are the two USB ports on that board?
19:08.21CurtmanJust for power?
19:08.37tjtagYes, just different kinds of connectors
19:18.18CurtmanWell I bought one of the other style.  Hope it works better.  :)
19:19.00tjtaghope so ! do you know the right pinout for that sat ?
19:20.03CurtmanYeah this seems to be the best of a whole bunch of websites that say the same pinout: http://www.bellexpress.vu/convert.html
19:21.18tjtagk
19:46.53*** join/#openjtag openocdn00b (n=ddkd@c-98-226-129-230.hsd1.in.comcast.net)
19:47.09openocdn00bhello
19:47.57tjtagHello openocdn00b
19:48.40openocdn00bhello tjtag: do you use openocd? I have a question about the cfi driver
19:49.16tjtagrarely
19:49.29tjtagbut what is the question
19:50.47openocdn00bI have a NOR flash I want to program but when I type flash probe 0
19:51.56openocdn00bI get
19:51.58openocdn00bCould not probe bank
19:51.58openocdn00bprobing failed for flash bank '#0' at 0x00000000
19:52.18openocdn00bmy configuration file has this
19:52.36openocdn00b#flash bank cfi <base> <size> <chip width> <bus width> <target#>
19:52.36openocdn00bflash bank cfi 0x00000000 0x00200000 1 2 0
19:52.36openocdn00bwhich is 100% right
19:53.07openocdn00bso I telnet to it and type cfi which is a command and it said
19:53.26openocdn00bNo handler for command
19:53.26openocdn00bCommand cfi not found
19:53.46tjtagwhat is the target ?
19:53.49openocdn00bI wondering if the version of OpenOCD that I have was not compiled with cfi support
19:54.09openocdn00bthe target is a s3c2440 ARM920T development board
19:54.39tjtagand you found that > flash bank cfi 0x00000000 0x00200000 1 2 0
19:54.45openocdn00bI wanted somebody to type the same command on their stuff
19:54.50tjtagin one og the config files or online ?
19:54.53openocdn00bto see if they get an error or not
19:55.24openocdn00bI looked at the datasheet for the s3c2440
19:55.34openocdn00band it says that flash starts at 0x0000
19:55.52openocdn00bbecause of chip select 0 is enabled at reset and that's where flash is connected
19:55.54tjtagI have always built from source, so I guess it could be
19:55.56tjtaghmm
19:56.11openocdn00bthen the size I read from the memory datasheet
19:56.26openocdn00bchip width I read that it was 8bit wide
19:56.32openocdn00bso 1
19:56.44openocdn00band the data bus is 16bit wide I counted the pins
19:56.52tjtagIm just curios about that start address
19:57.10openocdn00bnow target# is the only thing I am not 100 percent
19:57.39openocdn00bthe board starts fine and runs the program from flash
19:57.58openocdn00band the ARM architecture starts running from address 0x0000 automatically
19:58.14openocdn00bso that is where flash has to be at bootup
19:58.23openocdn00bbefore anybody does a remapping
19:58.46openocdn00bthe s3c2440 does not support remapping memory
20:05.34tjtagfrom what I see on the net, looks okat so far
20:08.14openocdn00byeah :-(
20:09.25tjtagtarget arm920t little 0 arm920t
20:14.35openocdn00byeah I just tried that
20:14.50openocdn00bthen the flash probe command disapears
20:14.58openocdn00bit says target# too
20:15.09openocdn00bI put the name just in case
20:15.16tjtagHave you tried the target/s3c2440.cfg
20:16.59openocdn00byou have that file?
20:17.06openocdn00bcould you send it to me?
20:17.11tjtagHang on let me look
20:17.19openocdn00bor read the flash cfi line for me
20:25.41tjtagcan't find it
20:26.42tjtagsays it has been committed, but its nt in my working copy
20:27.22openocdn00bi see
20:27.56openocdn00byeah I found something like that on their svn server but it was not complete and had some other crazy stuff in there
20:28.17openocdn00bthat config wouldn't even load on my version of openocd
20:29.30tjtagok, sorry could not help more
20:32.22openocdn00bno problem
20:32.27openocdn00bthank you for your help
20:42.52*** part/#openjtag tjtag (n=tjtag@bhossman.user.matrix.farlep.net)
21:00.26*** part/#openjtag dirk2 (n=dirk@p5B0416E1.dip0.t-ipconnect.de)
21:35.30*** join/#openjtag L_Deluxe (n=lou@c-68-53-134-58.hsd1.tn.comcast.net)

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