irclog2html for #openjtag on 20060913

01:51.49*** join/#openjtag wookey_ (i=wookey@courthouse.aleph1.co.uk)
02:58.14*** join/#openjtag ka6sox-laptop (n=tom@nslu2-linux/ka6sox)
03:37.25*** join/#openjtag ka6sox (n=ka6sox@nslu2-linux/ka6sox)
06:11.51*** join/#openjtag ka6sox (n=ka6sox@nslu2-linux/ka6sox)
07:28.07*** join/#openjtag rwhitby (n=rwhitby@nslu2-linux/rwhitby)
08:56.36*** join/#openjtag bullet (n=bullet@245.212.203.62.cust.bluewin.ch)
10:58.38*** join/#openjtag rwhitby (n=rwhitby@nslu2-linux/rwhitby)
11:03.08*** join/#openjtag rwhitby (n=rwhitby@nslu2-linux/rwhitby)
12:32.02*** join/#openjtag vmaster_ (n=vmaster@p549B5D41.dip.t-dialin.net)
13:49.46*** join/#openjtag prpplague (n=billybob@216.110.117.117)
18:26.55*** join/#openjtag [g2] (n=g2@nslu2-linux/g2)
18:27.16[g2]anybody seen AD around ?
18:36.35vmaster~seen AchiestDragon
18:36.49purlachiestdragon <n=david@whipy.demon.co.uk> was last seen on IRC in channel #openjtag, 44d 20h 46m 52s ago, saying: 'for debug etc , as sample ram ?'.
18:37.15vmasterhm, i've definitely seen him since then
18:57.26prpplaguevmaster: you get my email?
19:04.43vmasterhey prpplague, yeah, got it
19:05.22vmasterwe talked about how the output enables your boss wanted didn't make a lot of sense, did we?
19:05.36vmasterat least i hope we did :)
19:06.40vmasterthe design is fine as it is, but i'll tie these output enables permanently on in the openocd
19:08.04prpplaguevmaster: seems like we discussed it
19:08.35prpplaguevmaster: which ones are you refering to?
19:08.44prpplaguevmaster: i have the schematic in front of me now
19:09.26prpplaguevmaster: ok, yea, i remember now
19:09.46prpplaguevmaster: we have specific piece of hardware we want to use with this module
19:09.50vmasterah, ok
19:10.08prpplaguevmaster: so for standard jtag they aren't really needed
19:10.36vmasteryeah, exactly
19:11.32prpplaguevmaster: i've started work on a small c app that will jtag on some code, then start it, causing the uart to receive data from the serial port
19:12.30prpplaguevmaster: we plan to have 4 to 8 of these devices connected to a single pc for gang loading of main boards
19:12.48vmasterwhy do you want to use the serial port?
19:13.26vmasteri mean, jtag with the ft2232 is going to faster than 115200
19:13.30prpplaguevmaster: no specific reason than its already on the ft2232 and its easy to code for
19:13.49vmasterah, ok
19:13.59prpplaguevmaster: yea, the key is that we want to use some error checking
19:14.48prpplaguevmaster: we'll use xmodem
19:17.21prpplaguevmaster: basically we are just doing a flash of about 4mb on some NOR flash
19:17.57prpplaguevmaster: what kind of performance do you normally get using  a ft2232 to do flashing?
19:20.00vmasterhaven't used the CFI flash driver in a while, but RAM download is ~120kb/s, and flash was about half of that, iirc
19:20.34prpplaguethats pretty darn good
19:20.44prpplaguevmaster: thats using openocd?
19:20.55vmasteryeah
19:21.29vmasterbut not with default settings - you'll have to use "arm7_9 fast_memory_access enable" and "arm7_9 dcc_downloads enable"
19:21.55vmasterthese are disabled by default to prevent users from outrunning devices running from a slow-clock like 32kHz
19:21.56prpplaguevmaster: at 60kp/s that would be just a little over a minute to upload all 4mb
19:22.22vmasteri can write str7 flash at that speed, and the algorithms are comparable
19:22.34vmasterof course, the str7 is done in 4 seconds :)
19:23.01prpplaguevmaster: any verification of the data done?
19:23.18vmasternope, but you can read at >50kb/s
19:23.52prpplaguehmm
19:24.55vmasterthat's what people are doing
19:25.22prpplaguevmaster: question i have is can i run 4 copies at once
19:25.48vmasteryou can, but i suspect performance is going to suffer
19:25.57prpplaguevmaster: hmm
19:26.10prpplaguevmaster: well i should be able to test with openocd for the performance
19:26.27prpplaguevmaster: are the changes you made in cvs/svn ?
19:27.21vmasterchanges for your ft2232 layout? not yet
19:27.30prpplagueahh ok
19:27.55vmasterbrb
19:41.08prpplaguevmaster: hmm, openocd doesn't seem to be finding me device
19:41.23vmasterdo you use your own vid/pid?
19:42.23prpplagueno, right now we are just using the defaults for testing, they match
19:42.37prpplaguei think i dont have it enable for ftdi2232, recompiling now
19:43.11prpplagueftdi2232.c:33:18: ftdi.h: No such file or directory
19:43.24vmastermhh, ftdi2232.c is dead
19:43.43vmasterthere was a lot of duplicate code in ftdi2232.c and ftd2xx.c, now everything is in ft2232.c
19:44.05prpplagueahh, guess i need to grab the latest copy then
19:44.36vmasterah, my performance figures are for FTD2XX, not for libftdi
19:44.44vmasterlibftdi is a lot less
19:45.06prpplagueahh
19:45.24prpplagueFTD2xx is the FTDI official lib correct?
19:45.28vmasteryes
19:46.33prpplaguehmm
19:46.42prpplaguelots of errors after svn update :(
19:48.05vmastermhh, the current code compiles cleanly on linux (ftd2xx and libftdi), windows (ftd2xx) and freebsd (not sure what they're using)
19:48.39prpplaguevmaster: yea i think its just it wasn't clean
19:48.53vmasterok
19:56.04prpplaguehmm
19:56.09prpplaguecompilied properly
19:56.15prpplaguestill not seeing my device though
19:56.29prpplagueInfo:    openocd.c:82 main(): Open On-Chip Debugger (2006-09-07 20:00 CEST)
19:56.29prpplagueInfo:    configuration.c:50 configuration_output_handler(): Command ft2232_device_desc not found
19:56.29prpplagueInfo:    configuration.c:50 configuration_output_handler(): Command ft2232_layout not found
19:56.29prpplagueInfo:    configuration.c:50 configuration_output_handler(): Command ft2232_vid_pid not found
19:57.31vmasterdo you have "interface ft2232" in the .cfg file?
19:58.10prpplagueyep
19:59.39vmasterdid you configure with --enable-ft2232_ftd2xx or --enable-ft2232_libftdi?
20:00.41prpplaguevmaster: with libftdi, changing now, my bad
20:01.40vmastermhh, no source
20:01.48prpplaguelib i mean
20:01.48vmasterthat's the problem with ftdi's own driver
20:01.50vmasterok
20:02.49prpplaguehmm
20:02.57prpplaguei'm not seeing a place to dl that off hand
20:03.03prpplaguethats on the ftdichip.com site?
20:03.17vmasterfor 32-bit linux? hold on
20:03.34vmasterhttp://www.ftdichip.com/Drivers/D2XX/Linux/libftd2xx0.4.10.tar.gz
20:03.43vmasterthe driver page is here: http://www.ftdichip.com/Drivers/D2XX.htm
20:03.53prpplagueahh
20:05.26prpplagueargh
20:05.31prpplaguesomeone needs to kick them
20:05.42prpplaguedon't they know how to make a proper tarball
20:05.50vmasternope
20:09.44prpplaguewhere do you normally put the ft2xx.h file?
20:11.45vmasteri have it in /usr/local/include
20:12.02vmasteryou could also put it into the OpenOCD tree in src/jtag/
20:12.03prpplagueyea thats where i put it as well
20:13.58prpplaguevmaster: yea that did the trick
20:15.10prpplaguevmaster: a little closer
20:24.37vmasterprpplague: this is what i'd like to include in the OpenOCD code to support your device: http://mmd.ath.cx/ft2232_m5960.diff
20:25.00vmasteri didn't include led handling, as that's not really usable as it is now
20:31.15prpplagueDebug:   ft2232.c:972 ft2232_init(): 'ft2232' interface using FTD2XX with 'm5960' layout
20:31.15prpplagueError:   ft2232.c:997 ft2232_init(): unable to open ftdi device: 2
20:31.16prpplagueError:   ft2232.c:1012 ft2232_init(): ListDevices: 3
20:32.50vmasterdid you specify the right ft2232_device_desc?
20:33.42prpplaguei guess not, i just used m5960 as the description
20:35.34vmasterlsusb -v as root, the iProduct
20:35.50vmasterdon't remember what the FTDI uses by default
20:39.11prpplaguevmaster: ahh didn't catch that
20:39.34vmasterah, sorry, not iProduct
20:40.22vmasteriInterface - but the OpenOCD should list all the devices it found
20:41.19prpplagueyea got it
20:42.20prpplaguevmaster: we it recognized the device
20:42.43prpplagueInfo:    ft2232.c:359 ft2232_send_and_recv(): inter: 0.1451, inter2: 0.1451 end: 5.7912
20:42.43prpplagueError:   ft2232.c:367 ft2232_send_and_recv(): ft2232_expect_read (2) != ft2232_buffer_size (0) (0 retries)
20:43.21prpplaguevmaster: thanks for the help, i'm gonna have to get at it in the morning
20:43.34vmasterheh, funny, i inserted that timeout just for one windows user
20:43.47vmasterend: 5.7912 means it waited more than 5 seconds for a reply
20:43.51prpplaguedoh
20:44.16vmasteryeah, just let me know if you need anything
20:44.30prpplaguethanks, i'll get to doing some serious work tomorrow
20:44.35prpplaguevmaster: later
20:44.38vmastercya
23:48.22*** join/#openjtag ka6sox (n=ka6sox@nslu2-linux/ka6sox)

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.