00:18.54 | mgross | I'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.55 | mgross | Error: cpsr contains invalid mode value - communication failure |
00:19.02 | mgross | any idea? |
00:33.59 | mgross | r260 works. |
00:53.24 | mgross | sortof |
03:02.04 | flyback | munches on $75 worth of exotic giant eagle foods |
03:36.04 | flyback | is 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.17 | tjtag | Hello 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.34 | dirk2 | Anybody 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.46 | Curtman | 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 |
18:19.24 | Curtman | It says 'We use 74HCT244, a "Inverting Octal TRI-STATE(RM) Buffer"' |
18:21.44 | Curtman | This is quite a frustrating process figuring out parallel port settings/drivers/etc.. :( |
18:22.21 | tjtag | Curtman: I use this no problem |
18:22.48 | Curtman | tjtag, Which driver? Wiggler ? ppdev or no? |
18:23.51 | tjtag | try them both wiggler & dlc5, depends on which connector your attached to on the programmer |
18:24.03 | tjtag | I use wiggler on the 14pin |
18:24.05 | Curtman | tjtag, Also, what do you recommend I set in bios? AT / EPP / ECP |
18:24.39 | Curtman | tjtag, I'm using the pogo pins and aligator clip on the 7 pin adapter that came with it. |
18:24.44 | tjtag | It reall has never mattered for the targets I have worked with, but I did a test once and normal was best |
18:25.16 | tjtag | so probablt dlc5 for you |
18:26.00 | tjtag | I have never used those pogo's ! |
18:26.12 | tjtag | brb |
18:26.21 | Curtman | Okay.. 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.33 | Curtman | Okay, I'll be back in 5 mins as well. |
18:31.36 | tjtag | back |
18:32.13 | Curtman | I'm back as well |
18:33.20 | tjtag | well also depending on which pinout your connected to, the tdo-sel pin is backwards, or was for me |
18:35.50 | Curtman | What do you mean backwards? |
18:36.21 | tjtag | Im mean sel is for pin 13 . but its not on 13 its on tdo or vice versa |
18:39.02 | tjtag | what is your target ? |
18:39.38 | Curtman | I have a whole bunch of devices here. I've taken almost every electronic device in the house apart. Hahah |
18:39.50 | tjtag | heheh |
18:39.58 | Curtman | At the moment I'm hooked up to a satellite receiver that I bought on eBay for $1. |
18:40.04 | tjtag | I see |
18:40.37 | Curtman | I have a few Linksys routers here as well. |
18:41.24 | tjtag | well hope you de-brick the sat reciever |
18:42.03 | Curtman | I don't even plan to do anything with it, I just bought it to play with the jtag cable. |
18:43.10 | tjtag | I understand, I have about 15 routers here, I use one, the rest are for testing against tjtag |
18:44.40 | Curtman | I need a better soldering gun before I attempt soldering any headers on to the routers though. |
18:47.44 | tjtag | Curtman:Where are you located |
18:47.58 | Curtman | Winnipeg, Canada. |
18:48.13 | tjtag | Ahh, ok |
18:49.11 | Curtman | 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. |
18:49.55 | tjtag | what driver were you using on XP ? |
18:50.39 | tjtag | I took me a little while to figure out the correct pins for that adapter |
18:51.07 | Curtman | 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. |
18:51.39 | tjtag | you say your using the 8 pin connection ? |
18:51.50 | Curtman | Yeah. |
18:52.04 | Curtman | Err, 7 pin. |
18:53.17 | tjtag | I use mostly Linux, no XP, my wife uses that |
18:53.43 | tjtag | Of cource the software I write has to run on it :) |
18:54.34 | Curtman | 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. |
18:55.15 | tjtag | hehehe, I know how you feel...I had a hard time with that adapter, getting it set right |
18:55.28 | tjtag | Linux is better :) |
18:55.41 | tjtag | What distro do you use ? |
18:56.05 | Curtman | Usually Gentoo, but I'm trying to get used to Ubuntu. |
18:56.47 | tjtag | Big difference, Im a Debian guy, but playing with Archlinux right now |
18:57.52 | tjtag | you might want to try changing the tdo-sel pin ? |
18:58.29 | Curtman | 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. |
18:58.40 | Curtman | How do I do that with the pogo pins? |
18:59.06 | Curtman | I'm using the ribbon cable with the aligator clip on it. |
18:59.16 | tjtag | the pogo does not matter, its the tdo-sel jumper Im talking about, what is it on now ? |
18:59.35 | Curtman | Jumper? |
19:00.09 | tjtag | yes, you don't have jumper on your adapter ? |
19:00.28 | Curtman | I don't think so. |
19:00.52 | Curtman | Inside the casing on the parallel port part? |
19:01.26 | tjtag | Ok, my bad, when you sadi it was the usb powered adapter I was thinking of a different one they make ! |
19:02.21 | tjtag | Mine is the wiggler buffered all in one |
19:02.24 | tjtag | Sorry |
19:02.39 | Curtman | I would have bought that one if I had known about it at the time. :( |
19:04.01 | tjtag | Im playing with Gentoo as well, and a few others... |
19:04.56 | tjtag | And Im used to downloading the source and compiling, so its a little different for me as well |
19:06.00 | Curtman | distcc makes it a lot faster too if you have spare computers around to help with the compiling. |
19:06.27 | tjtag | DO you have another cable you have used before ? is there something else you can tes on ? |
19:06.57 | tjtag | I will try that one day |
19:07.02 | Curtman | It's the only cable I have.. I'm currently looking at which one I'm going to buy next. |
19:07.12 | tjtag | <PROTECTED> |
19:08.03 | Curtman | What are the two USB ports on that board? |
19:08.21 | Curtman | Just for power? |
19:08.37 | tjtag | Yes, just different kinds of connectors |
19:18.18 | Curtman | Well I bought one of the other style. Hope it works better. :) |
19:19.00 | tjtag | hope so ! do you know the right pinout for that sat ? |
19:20.03 | Curtman | Yeah 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.18 | tjtag | k |
19:46.53 | *** join/#openjtag openocdn00b (n=ddkd@c-98-226-129-230.hsd1.in.comcast.net) |
19:47.09 | openocdn00b | hello |
19:47.57 | tjtag | Hello openocdn00b |
19:48.40 | openocdn00b | hello tjtag: do you use openocd? I have a question about the cfi driver |
19:49.16 | tjtag | rarely |
19:49.29 | tjtag | but what is the question |
19:50.47 | openocdn00b | I have a NOR flash I want to program but when I type flash probe 0 |
19:51.56 | openocdn00b | I get |
19:51.58 | openocdn00b | Could not probe bank |
19:51.58 | openocdn00b | probing failed for flash bank '#0' at 0x00000000 |
19:52.18 | openocdn00b | my configuration file has this |
19:52.36 | openocdn00b | #flash bank cfi <base> <size> <chip width> <bus width> <target#> |
19:52.36 | openocdn00b | flash bank cfi 0x00000000 0x00200000 1 2 0 |
19:52.36 | openocdn00b | which is 100% right |
19:53.07 | openocdn00b | so I telnet to it and type cfi which is a command and it said |
19:53.26 | openocdn00b | No handler for command |
19:53.26 | openocdn00b | Command cfi not found |
19:53.46 | tjtag | what is the target ? |
19:53.49 | openocdn00b | I wondering if the version of OpenOCD that I have was not compiled with cfi support |
19:54.09 | openocdn00b | the target is a s3c2440 ARM920T development board |
19:54.39 | tjtag | and you found that > flash bank cfi 0x00000000 0x00200000 1 2 0 |
19:54.45 | openocdn00b | I wanted somebody to type the same command on their stuff |
19:54.50 | tjtag | in one og the config files or online ? |
19:54.53 | openocdn00b | to see if they get an error or not |
19:55.24 | openocdn00b | I looked at the datasheet for the s3c2440 |
19:55.34 | openocdn00b | and it says that flash starts at 0x0000 |
19:55.52 | openocdn00b | because of chip select 0 is enabled at reset and that's where flash is connected |
19:55.54 | tjtag | I have always built from source, so I guess it could be |
19:55.56 | tjtag | hmm |
19:56.11 | openocdn00b | then the size I read from the memory datasheet |
19:56.26 | openocdn00b | chip width I read that it was 8bit wide |
19:56.32 | openocdn00b | so 1 |
19:56.44 | openocdn00b | and the data bus is 16bit wide I counted the pins |
19:56.52 | tjtag | Im just curios about that start address |
19:57.10 | openocdn00b | now target# is the only thing I am not 100 percent |
19:57.39 | openocdn00b | the board starts fine and runs the program from flash |
19:57.58 | openocdn00b | and the ARM architecture starts running from address 0x0000 automatically |
19:58.14 | openocdn00b | so that is where flash has to be at bootup |
19:58.23 | openocdn00b | before anybody does a remapping |
19:58.46 | openocdn00b | the s3c2440 does not support remapping memory |
20:05.34 | tjtag | from what I see on the net, looks okat so far |
20:08.14 | openocdn00b | yeah :-( |
20:09.25 | tjtag | target arm920t little 0 arm920t |
20:14.35 | openocdn00b | yeah I just tried that |
20:14.50 | openocdn00b | then the flash probe command disapears |
20:14.58 | openocdn00b | it says target# too |
20:15.09 | openocdn00b | I put the name just in case |
20:15.16 | tjtag | Have you tried the target/s3c2440.cfg |
20:16.59 | openocdn00b | you have that file? |
20:17.06 | openocdn00b | could you send it to me? |
20:17.11 | tjtag | Hang on let me look |
20:17.19 | openocdn00b | or read the flash cfi line for me |
20:25.41 | tjtag | can't find it |
20:26.42 | tjtag | says it has been committed, but its nt in my working copy |
20:27.22 | openocdn00b | i see |
20:27.56 | openocdn00b | yeah I found something like that on their svn server but it was not complete and had some other crazy stuff in there |
20:28.17 | openocdn00b | that config wouldn't even load on my version of openocd |
20:29.30 | tjtag | ok, sorry could not help more |
20:32.22 | openocdn00b | no problem |
20:32.27 | openocdn00b | thank 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) |