**** BEGIN LOGGING AT Sat Dec 27 02:59:57 2008 Dec 27 03:02:04 * flyback munches on $75 worth of exotic giant eagle foods Dec 27 03:36:04 * flyback is about to pass out, later all Dec 27 08:31:17 Hello all Dec 27 17:44:34 Anybody here who can help me with understanding https://lists.berlios.de/pipermail/openocd-development/2008-December/004227.html ? Dec 27 18:17:46 Does 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 Dec 27 18:19:24 It says 'We use 74HCT244, a "Inverting Octal TRI-STATE(RM) Buffer"' Dec 27 18:21:44 This is quite a frustrating process figuring out parallel port settings/drivers/etc.. :( Dec 27 18:22:21 Curtman: I use this no problem Dec 27 18:22:48 tjtag, Which driver? Wiggler ? ppdev or no? Dec 27 18:23:51 try them both wiggler & dlc5, depends on which connector your attached to on the programmer Dec 27 18:24:03 I use wiggler on the 14pin Dec 27 18:24:05 tjtag, Also, what do you recommend I set in bios? AT / EPP / ECP Dec 27 18:24:39 tjtag, I'm using the pogo pins and aligator clip on the 7 pin adapter that came with it. Dec 27 18:24:44 It reall has never mattered for the targets I have worked with, but I did a test once and normal was best Dec 27 18:25:16 so probablt dlc5 for you Dec 27 18:26:00 I have never used those pogo's ! Dec 27 18:26:11 brb Dec 27 18:26:21 Okay.. All it is saying when I type 'detect' is "Warning: TDO seems to be stuck at 1". So maybe parallel port communication problems, Dec 27 18:26:33 Okay, I'll be back in 5 mins as well. Dec 27 18:31:36 back Dec 27 18:32:13 I'm back as well Dec 27 18:33:20 well also depending on which pinout your connected to, the tdo-sel pin is backwards, or was for me Dec 27 18:35:50 What do you mean backwards? Dec 27 18:36:21 Im mean sel is for pin 13 . but its not on 13 its on tdo or vice versa Dec 27 18:39:02 what is your target ? Dec 27 18:39:38 I have a whole bunch of devices here. I've taken almost every electronic device in the house apart. Hahah Dec 27 18:39:50 heheh Dec 27 18:39:57 At the moment I'm hooked up to a satellite receiver that I bought on eBay for $1. Dec 27 18:40:04 I see Dec 27 18:40:37 I have a few Linksys routers here as well. Dec 27 18:41:23 well hope you de-brick the sat reciever Dec 27 18:42:03 I don't even plan to do anything with it, I just bought it to play with the jtag cable. Dec 27 18:43:10 I understand, I have about 15 routers here, I use one, the rest are for testing against tjtag Dec 27 18:44:40 I need a better soldering gun before I attempt soldering any headers on to the routers though. Dec 27 18:47:44 Curtman:Where are you located Dec 27 18:47:58 Winnipeg, Canada. Dec 27 18:48:13 Ahh, ok Dec 27 18:49:11 Maybe 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. Dec 27 18:49:55 what driver were you using on XP ? Dec 27 18:50:39 I took me a little while to figure out the correct pins for that adapter Dec 27 18:51:07 I 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. Dec 27 18:51:38 you say your using the 8 pin connection ? Dec 27 18:51:50 Yeah. Dec 27 18:52:04 Err, 7 pin. Dec 27 18:53:17 I use mostly Linux, no XP, my wife uses that Dec 27 18:53:43 Of cource the software I write has to run on it :) Dec 27 18:54:34 I 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. Dec 27 18:55:15 hehehe, I know how you feel...I had a hard time with that adapter, getting it set right Dec 27 18:55:27 Linux is better :) Dec 27 18:55:41 What distro do you use ? Dec 27 18:56:05 Usually Gentoo, but I'm trying to get used to Ubuntu. Dec 27 18:56:47 Big difference, Im a Debian guy, but playing with Archlinux right now Dec 27 18:57:52 you might want to try changing the tdo-sel pin ? Dec 27 18:58:28 I 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. Dec 27 18:58:40 How do I do that with the pogo pins? Dec 27 18:59:06 I'm using the ribbon cable with the aligator clip on it. Dec 27 18:59:15 the pogo does not matter, its the tdo-sel jumper Im talking about, what is it on now ? Dec 27 18:59:35 Jumper? Dec 27 19:00:09 yes, you don't have jumper on your adapter ? Dec 27 19:00:28 I don't think so. Dec 27 19:00:52 Inside the casing on the parallel port part? Dec 27 19:01:26 Ok, my bad, when you sadi it was the usb powered adapter I was thinking of a different one they make ! Dec 27 19:02:21 Mine is the wiggler buffered all in one Dec 27 19:02:24 Sorry Dec 27 19:02:39 I would have bought that one if I had known about it at the time. :( Dec 27 19:04:01 Im playing with Gentoo as well, and a few others... Dec 27 19:04:56 And Im used to downloading the source and compiling, so its a little different for me as well Dec 27 19:06:00 distcc makes it a lot faster too if you have spare computers around to help with the compiling. Dec 27 19:06:27 DO you have another cable you have used before ? is there something else you can tes on ? Dec 27 19:06:57 I will try that one day Dec 27 19:07:02 It's the only cable I have.. I'm currently looking at which one I'm going to buy next. Dec 27 19:07:12 k Dec 27 19:08:03 What are the two USB ports on that board? Dec 27 19:08:20 Just for power? Dec 27 19:08:37 Yes, just different kinds of connectors Dec 27 19:18:18 Well I bought one of the other style. Hope it works better. :) Dec 27 19:19:00 hope so ! do you know the right pinout for that sat ? Dec 27 19:20:03 Yeah this seems to be the best of a whole bunch of websites that say the same pinout: http://www.bellexpress.vu/convert.html Dec 27 19:21:17 k Dec 27 19:47:09 hello Dec 27 19:47:57 Hello openocdn00b Dec 27 19:48:40 hello tjtag: do you use openocd? I have a question about the cfi driver Dec 27 19:49:16 rarely Dec 27 19:49:29 but what is the question Dec 27 19:50:47 I have a NOR flash I want to program but when I type flash probe 0 Dec 27 19:51:56 I get Dec 27 19:51:58 Could not probe bank Dec 27 19:51:58 probing failed for flash bank '#0' at 0x00000000 Dec 27 19:52:18 my configuration file has this Dec 27 19:52:36 #flash bank cfi Dec 27 19:52:36 flash bank cfi 0x00000000 0x00200000 1 2 0 Dec 27 19:52:36 which is 100% right Dec 27 19:53:07 so I telnet to it and type cfi which is a command and it said Dec 27 19:53:26 No handler for command Dec 27 19:53:26 Command cfi not found Dec 27 19:53:46 what is the target ? Dec 27 19:53:49 I wondering if the version of OpenOCD that I have was not compiled with cfi support Dec 27 19:54:09 the target is a s3c2440 ARM920T development board Dec 27 19:54:39 and you found that > flash bank cfi 0x00000000 0x00200000 1 2 0 Dec 27 19:54:45 I wanted somebody to type the same command on their stuff Dec 27 19:54:49 in one og the config files or online ? Dec 27 19:54:53 to see if they get an error or not Dec 27 19:55:24 I looked at the datasheet for the s3c2440 Dec 27 19:55:34 and it says that flash starts at 0x0000 Dec 27 19:55:52 because of chip select 0 is enabled at reset and that's where flash is connected Dec 27 19:55:54 I have always built from source, so I guess it could be Dec 27 19:55:56 hmm Dec 27 19:56:11 then the size I read from the memory datasheet Dec 27 19:56:26 chip width I read that it was 8bit wide Dec 27 19:56:31 so 1 Dec 27 19:56:43 and the data bus is 16bit wide I counted the pins Dec 27 19:56:51 Im just curios about that start address Dec 27 19:57:10 now target# is the only thing I am not 100 percent Dec 27 19:57:39 the board starts fine and runs the program from flash Dec 27 19:57:58 and the ARM architecture starts running from address 0x0000 automatically Dec 27 19:58:14 so that is where flash has to be at bootup Dec 27 19:58:23 before anybody does a remapping Dec 27 19:58:46 the s3c2440 does not support remapping memory Dec 27 20:05:34 from what I see on the net, looks okat so far Dec 27 20:07:54 yeah :-( Dec 27 20:09:25 target arm920t little 0 arm920t Dec 27 20:14:35 yeah I just tried that Dec 27 20:14:50 then the flash probe command disapears Dec 27 20:14:58 it says target# too Dec 27 20:15:09 I put the name just in case Dec 27 20:15:16 Have you tried the target/s3c2440.cfg Dec 27 20:16:59 you have that file? Dec 27 20:17:06 could you send it to me? Dec 27 20:17:11 Hang on let me look Dec 27 20:17:19 or read the flash cfi line for me Dec 27 20:25:41 can't find it Dec 27 20:26:42 says it has been committed, but its nt in my working copy Dec 27 20:27:22 i see Dec 27 20:27:56 yeah I found something like that on their svn server but it was not complete and had some other crazy stuff in there Dec 27 20:28:17 that config wouldn't even load on my version of openocd Dec 27 20:29:30 ok, sorry could not help more Dec 27 20:32:22 no problem Dec 27 20:32:27 thank you for your help Dec 28 00:56:51 * flyback thinks his brain and/or body are going to go any second now Dec 28 01:47:41 flash write_image 0 bin writes data to flash != file.bin Looks like its dropping a strings of zeros btween 0x40 and 0x1c0. **** ENDING LOGGING AT Sun Dec 28 02:59:57 2008