**** BEGIN LOGGING AT Mon Sep 17 02:59:57 2007 Sep 17 18:19:06 drath: ping. The cfi.patch works for me (tm). Sep 17 18:20:36 hey likewise Sep 17 18:20:40 cool, thanks for letting me know Sep 17 18:21:21 drath: well, thanks for helping review the code on this. Sep 17 18:21:53 drath: BTW, any experience on what the fastest USB dongle is? Sep 17 18:22:16 I'm getting 30 kBytes/second with the Amontec/JTAGkey to a IXP420@533MHz. Sep 17 18:22:29 while flashing using workspace Sep 17 18:48:09 they're all based on the FT2232, so speeed is the same Sep 17 18:49:25 likewise: are you using libftdi? or the binary-only FTD2XX? Sep 17 18:49:29 drath: ok, so only a parallel port (or Ethernet one) can do better Sep 17 18:49:37 drath: binary-only under Cygwin Sep 17 18:50:06 likewise: the Amontec JTAG Accelerator configuration is the fastest interface Sep 17 18:50:17 drath: I needed to create a production programming tool without losing our BDI2000. Sep 17 18:50:34 drath: but of course we will now see to use OpenOCD for debugging as well. Sep 17 18:51:04 drath: a next processor is a PowerPC though, so we need the BDI anyway Sep 17 18:53:48 i've never had a chance to evaluate xscale performance, because the only xscale hardware i've got has a 200khz low-pass on TCK Sep 17 18:56:43 but the transfer should be optimized already Sep 17 18:57:01 did you measure download to ram speed? Sep 17 18:57:20 drath: no, flash speed (as reported by openocd when finished, after 16 MB) Sep 17 18:57:35 drath: will try to measure the download to RAM speed tomorrow Sep 17 18:58:41 likewise: yeah, would be nice to know where the time is being spent Sep 17 18:59:02 drath: probably in windows :-) Sep 17 18:59:28 likewise: running with -d slows down a lot, too - -d -l improves speed by outputting to a log file instead of console Sep 17 19:00:03 didn't do any debugging/logging during measurement Sep 17 19:00:26 ok Sep 17 19:01:36 if RAM download turns out to be a lot faster we could increase the maximum buffer size, to reduce the overhead of halting-resuming Sep 17 19:03:48 currently only 32kb are used - if you're flashing images of several mb the target needs to be halted and resumed quite often Sep 17 19:37:00 drath: ok, yes I see. Sep 17 20:28:07 anyone having trouble with jtagkey-tiny and the latest openocd? Sep 17 20:31:35 the interface is proving 3V, but there's nothing happening on any of the lines, such as TCK? Sep 17 20:33:22 fluff: latest build using the flyswatter board works, so i'd guess its either your hardware or something specific to that board layout in openocd Sep 17 20:34:16 fluff: got me on /ignore over in #h1940 ? Sep 17 20:35:22 hmm, am i still on that channel? my screen session froze and i've relogged in most places Sep 17 20:36:44 fluff: yep Sep 17 20:38:20 hmm, i know the jtag connection is good, the parallel port verison works Sep 17 20:38:42 i've pulled the unused nRST to VCCtarget by 4K7 Sep 17 20:38:48 and still the thing does f'all Sep 17 20:38:57 hmm Sep 17 20:39:11 * prpplague looks up the jtag-key-tiny Sep 17 20:39:58 wonder if it is just too low for it work properly, Vtarget is just under 3V Sep 17 20:40:49 thats possible, i don't see a schematic available Sep 17 20:41:05 it does say it supports as low as 2v Sep 17 20:43:22 fluff: so Vref is set to the correct voltage? Sep 17 20:44:31 fluff: the tiny is 100% usb powered correct? Sep 17 20:45:28 dunno Sep 17 20:45:30 fluff: might be pulling too much current Sep 17 20:45:39 my scope is a little inaccurate, Vref is 2.8V Sep 17 20:46:35 fluff: the board you are working with, i assume you have a seperate power supply for it? and not using the tiny to power the board? Sep 17 20:50:54 fluff: the jtagkey-tiny page says Wide target Sep 17 20:50:54 voltage range Sep 17 20:50:56 2.8V to 5.0V Sep 17 20:51:10 not sure how good it is at the lower end of supported voltages Sep 17 20:51:41 2.8 or 2.0 ? Sep 17 20:51:49 2.8 Sep 17 20:52:00 hmm Sep 17 20:52:05 "All JTAG signals are 5V down to 2.8V tolerant" Sep 17 20:52:05 sparkfun's page says 2.0 Sep 17 20:52:14 grr Sep 17 20:52:17 oh, sparkfun has the jtagkey-tiny? Sep 17 20:52:31 for what the schematics say is 3.3V, is only reading 2.8V at the board end Sep 17 20:52:34 supports ARM targets working in voltage range 2.0 \x{2013} 5.0 V DC Sep 17 20:52:45 * fluff feels the urge to find some hardware people and make some hurtings Sep 17 20:53:08 hehe Sep 17 20:53:12 fluff: join the crowd Sep 17 20:53:37 fluff: btw, i really need to talk to you about the s3c2410 spi driver as soon as you are available Sep 17 20:54:01 any particular problem? Sep 17 20:54:01 prpplague: afaik sparkfun only offers the ARM-USB-TINY - that's from olimex Sep 17 20:54:14 prpplague: the jtagkey-tiny is from amontec Sep 17 20:54:21 drath: ahhh, my mistake Sep 17 20:54:29 looking at the wrong item then, Sep 17 20:54:55 * fluff does some calcs to see what this psu is done Sep 17 20:55:06 drath: must get around to submitting my s3c24xx nand support Sep 17 20:55:34 fluff: did you use the nand.h interface? Sep 17 20:55:44 think I did Sep 17 20:55:56 i've been ill since writing it which is why it hasn't gotten out yet Sep 17 20:56:05 great :) Sep 17 20:56:25 well, not the being ill thing, but the nand thing :) Sep 17 20:57:05 fluff: that would be nice, i'd already started working on the nand support Sep 17 20:57:13 fluff: hadn't completed it yet though Sep 17 20:57:21 the only bit i couldn't get working was using the comms registers to accelerate Sep 17 20:57:29 but this was baded on r17x Sep 17 20:57:39 whatever the problem may be fixed now Sep 17 20:57:43 fluff: ahh Sep 17 20:57:51 after the next kernel release i'll push it to the list Sep 17 20:57:55 fluff: i'd like to have that patch if you post it somewhere Sep 17 21:02:05 hmm, their calcs for their DC-DC show it to be set to 2.82V Sep 17 21:02:14 now to not get angry with client Sep 17 21:02:56 hmm, the old values made 3.1V Sep 17 21:03:46 doh Sep 17 21:14:10 fluff: are you using the OpenOCD on linux or on windows? Sep 17 22:15:47 drath: Linux Sep 17 22:16:21 would have been really useful to have ~5years ago when we first did our 2410 boards Sep 17 22:17:01 right, yes, they acknowledge the bug in DC-DC config Sep 17 22:17:05 new board being sent Sep 17 22:17:29 temp solution will be tommorow get the second bench supply out and connect 3V to the probe Sep 17 22:19:36 so far it seems to work well Sep 17 22:19:54 probably going to recommend it to customers Sep 18 00:11:58 goodnight all **** ENDING LOGGING AT Tue Sep 18 02:59:59 2007