**** BEGIN LOGGING AT Wed Mar 08 10:59:56 2006 Mar 08 11:05:03 <[g2-lap]> Ok a little desk clean up Mar 08 11:05:35 <[g2-lap]> I'm hooked up with a 4 LEDs to TDO, TDI, TCLK and TMS Mar 08 11:05:46 (i hope you have series resistors :) Mar 08 11:06:11 TDO is an input as far as the ep93xx is concerned, so it will not drive that pin Mar 08 11:06:22 but TDI/TCK/TMS/TRST/SRST should 'work' Mar 08 11:07:20 * [g2-lap] wonders if we've got TDI and TDO backwards Mar 08 11:14:59 <[g2-lap]> Ok I'm driving the LEDs Mar 08 11:15:17 <[g2-lap]> I'll need to separate out a BIT at a time Mar 08 11:16:25 <[g2-lap]> actually I think we are pretty OK Mar 08 11:18:15 <[g2-lap]> the real question is what is VCC for the XC95 Mar 08 11:19:33 there are three variants of the xc95 Mar 08 11:21:17 plain xc9500 is 5v, xc9500xl is 3.3v and xc9500xv is 2.5v Mar 08 11:26:55 <[g2-lap]> great Mar 08 11:27:01 <[g2-lap]> we've got an XL :) Mar 08 11:27:36 [g2-lap]: we might still want to use some kind of interface logic to allow it to use multiple different voltages Mar 08 11:28:06 <[g2-lap]> lennert absolutely Mar 08 11:28:18 <[g2-lap]> but that's a VL thingy Mar 08 11:28:26 VL ? Mar 08 11:28:29 Very much Later? :) Mar 08 11:28:39 <[g2-lap]> voltage level :) Mar 08 11:29:09 <[g2-lap]> well kill that dragon when we handle the high-speed rates Mar 08 11:29:16 ok Mar 08 11:29:21 <[g2-lap]> lennert vmaster I think I know what the issue is Mar 08 11:30:02 <[g2-lap]> TDI is with respect to the DUT (device under test) right ? Mar 08 11:30:25 TDI is an output to the ep93xx Mar 08 11:30:28 TDO is an input to the ep93xx Mar 08 11:30:41 <[g2-lap]> right that's what I said Mar 08 11:30:47 right Mar 08 11:31:06 <[g2-lap]> TDO looks stuck high Mar 08 11:31:17 <[g2-lap]> I'll have to verify my LED thingy Mar 08 11:31:35 <[g2-lap]> but TDI TMS and TCK all blink right Mar 08 11:31:41 well Mar 08 11:31:47 the ep93xx doesn't drive the TDO pin Mar 08 11:31:50 TDO only operates during Shift-IR/DR Mar 08 11:32:00 other than that it should be HighZ Mar 08 11:32:13 <[g2-lap]> pulled high ? Mar 08 11:32:29 i've seen all kinds of pull up/down on the jtag lines Mar 08 11:32:36 pulling high is recommended Mar 08 11:32:40 [g2-lap]: try shorting the TDO pin to Vcc/GND with a 1kohm resistor and check whether the ep93xx can read the right values Mar 08 11:33:05 [g2-lap]: if not, there's either someone pulling/pushing it already or you don't have the right pin Mar 08 11:33:15 4k7 Mar 08 11:35:50 <[g2-lap]> maybe it defaults high on my little LED gizmo Mar 08 11:36:09 <[g2-lap]> the other option is we are driving the JTAG too fast :) Mar 08 11:36:40 the leds can affect it depeding how your driving them Mar 08 11:37:03 <[g2-lap]> AchiestDragon these are mutally exclusive tests Mar 08 11:37:19 <[g2-lap]> the LED gizmo is plugged in or the JTAG device Mar 08 11:37:22 [g2-lap]: yeah, that could be a problem Mar 08 11:37:26 <[g2-lap]> not both at the same time Mar 08 11:37:27 driving to fast Mar 08 11:37:49 <[g2-lap]> we are probably driving TCLK pretty fast Mar 08 11:38:14 if using a transistor buffer to drive the leds you should be able to use them both at the same time Mar 08 11:40:36 <[g2-lap]> AchiestDragon at slow rates :) Mar 08 11:40:51 <[g2-lap]> at 15Mcycles per second I need help :) Mar 08 11:41:04 <[g2-lap]> electronic eyes Mar 08 11:41:50 not shure on the ep93xx but on the pic micros you can read and write to the port faster than the port will respond , so the signal may not be raiseing to a full logic 1 state before dropping back to a 0 Mar 08 11:41:52 or you just slow it down by a factor of 15 million :-) Mar 08 11:42:13 AchiestDragon: that could be happening on the ep93xx as well Mar 08 11:42:26 AchiestDragon: drive strength is kind of limited Mar 08 11:42:39 you need a scope on the output see if the waveform looks ok Mar 08 11:44:32 my scope died of old age last year not replaced it yet Mar 08 11:46:02 btw.. if required, I should have a Xilinx dev board with 3.3v cpld device.. Mar 08 11:49:27 <[g2-lap]> dwery thx, but do you have a scope ? Mar 08 11:49:47 a small one Mar 08 11:49:54 how many MHz do you need? Mar 08 11:50:10 the signal is 20 MHz max Mar 08 11:50:27 <[g2-lap]> and how many channels ? Mar 08 11:50:39 just to look at the waveform, you need only 1? Mar 08 11:51:20 <[g2-lap]> actually well want to see the relationship between the signals Mar 08 11:51:31 <[g2-lap]> but 2 channels would be enough Mar 08 11:51:45 <[g2-lap]> through the transitive property Mar 08 11:52:09 <[g2-lap]> it's all slaved to TCLK anyway right ? Mar 08 11:52:16 yeah Mar 08 11:52:29 signals should change on the falling edge of tck Mar 08 11:53:04 <[g2-lap]> I'm guessing we are just plain driving the signals too fast Mar 08 11:53:14 [g2-lap]: then put a delay in there :-) Mar 08 11:53:34 <[g2-lap]> lennert I was looking for that but I think it's been removed :) Mar 08 11:53:50 struct timespec zzzz; Mar 08 11:53:53 zzzz.tv_sec = 0; Mar 08 11:54:02 zzzz.tv_nsec = 10000000; Mar 08 11:54:08 nanosleep(&zzzz, NULL); Mar 08 11:54:20 after every write to the data register Mar 08 11:54:22 just to see if it works Mar 08 11:54:43 <[g2-lap]> that'll work Mar 08 11:54:52 <[g2-lap]> vmaster had a delay counter Mar 08 11:55:30 but that delay was only useful with x86 Mar 08 11:55:45 i've simply repeated the outb calls Mar 08 11:56:03 you can do that on ep93xx as well Mar 08 11:56:07 each write is 20-ish cycles Mar 08 11:56:39 ah, yeah, sure Mar 08 11:56:57 we can also just make a kernel driver and watch it sloooooooooooooow down :) Mar 08 11:57:10 hehehe Mar 08 12:02:43 mm.. my scope might not be fast enough Mar 08 12:07:20 <[g2-lap]> dyoung-away up ? Mar 08 12:07:47 for you yes Mar 08 12:08:26 bbl Mar 08 12:18:04 <[g2-lap]> dyoung-away hey ;) Mar 08 12:19:10 <[g2-lap]> dyoung-away sometime I'm wondering if you could put a scope on glomation Mar 08 12:19:17 Sure Mar 08 12:19:24 If you can help me bring it up Mar 08 12:19:26 dyoung-away: does your serial work yet? Mar 08 12:19:28 right :) Mar 08 12:19:38 The serial is fighting me Mar 08 12:19:48 <[g2-lap]> serail on the glomation ? Mar 08 12:19:49 I have redboot prompt. Mar 08 12:19:52 yes Mar 08 12:19:59 oh Mar 08 12:20:00 <[g2-lap]> that's all you need and ethernet :) Mar 08 12:20:01 but then I dont get anyn kernel messages Mar 08 12:20:05 hmmm Mar 08 12:20:08 are you running derevo14? Mar 08 12:20:20 what load address are you using? Mar 08 12:20:25 then after some amount of time, I get "Press enter for console" Mar 08 12:20:32 This is totally factory. Mar 08 12:20:36 well, that's expected, no? Mar 08 12:20:36 <[g2-lap]> sure Mar 08 12:20:41 <[g2-lap]> yeah :) Mar 08 12:20:42 the stock kernel doesn't output log messages Mar 08 12:20:47 Oh Mar 08 12:20:52 they turned that off for some reason Mar 08 12:20:59 so when I press enter for console.... ? Mar 08 12:21:04 you get busybox Mar 08 12:21:08 ? Mar 08 12:21:17 No, I get nothing Mar 08 12:21:25 hmm Mar 08 12:21:26 okay so it probably DOES work then Mar 08 12:21:29 <[g2-lap]> did lennert actually power on his ep9312 ? Mar 08 12:21:34 [g2-lap]: no... :-/ Mar 08 12:21:41 [g2-lap]: i'm slack :-| Mar 08 12:21:50 [g2-lap]: I've been slacking on the glomation Mar 08 12:21:59 Been fighting other fights Mar 08 12:22:04 <[g2-lap]> dyoung-away np Mar 08 12:22:07 but I really want to play with the thing Mar 08 12:22:13 <[g2-lap]> we've been having fun Mar 08 12:22:41 If you can outline for me what you want me to hit with a scope; I can do Mar 08 12:22:48 <[g2-lap]> dyoung-away I've got a kernel (jffs2 partition) and an OCDprogram Mar 08 12:23:01 dyoung-away: toggle a gpio and see what the waveform looks like Mar 08 12:23:01 nothing fast though, I only have 100Mhz of scope Mar 08 12:23:16 we can only toggle at 15 MHz or so :) Mar 08 12:23:43 [g2-lap]: I dontsuppose I could interest you in send me your image? :-) Mar 08 12:24:29 <[g2-lap]> that's exactly what I'm thinking Mar 08 12:24:47 I can do it i around 8hrs or so Mar 08 12:24:56 I'm getting a bit sleepy.... Mar 08 12:24:57 <[g2-lap]> I'm wondering which libraries the openocd stuff uses Mar 08 12:25:10 but I have the scope out; its ready for action Mar 08 12:25:11 <[g2-lap]> dyoung-away Ok that'll be great Mar 08 12:25:23 <[g2-lap]> by then you should have a kernel and jffs2 partition Mar 08 12:25:27 I also have the GEBC9312 out Mar 08 12:26:24 [g2-lap]: libc Mar 08 12:26:24 <[g2-lap]> you can just load and flash the jffs2 then load the kernel and boot to the rootfs on flash Mar 08 12:26:37 no other dependencies Mar 08 12:27:00 <[g2-lap]> vmaster lennert I put the nanosleep in and get the same results Mar 08 12:27:02 how much detail do you want on this waveform? Mar 08 12:27:05 <[g2-lap]> I didn't delay the read Mar 08 12:27:33 if you need detail, I can take it to the office and slap a good scope on it. Mar 08 12:28:38 no promises on that though, because the boss said something about taking the scope to Britanny. Mar 08 12:29:01 what am I scoping? Mar 08 12:29:08 one of the GPIO lines Mar 08 12:29:11 <[g2-lap]> I don't think we'll need a lot of detail Mar 08 12:29:24 is there a redboot command I can use? Mar 08 12:29:33 or do I really need [g2] image? Mar 08 12:29:52 <[g2-lap]> dyoung-away you'll want the image Mar 08 12:30:45 <[g2-lap]> dyoung-away I think we are a little timing issue away from doing JTAG debugging on ARM7/9 with the glomation Mar 08 12:30:45 ok I do tommrow then. :-) Mar 08 12:31:02 <[g2-lap]> dyoung-away you know where the wiki is ? Mar 08 12:31:05 heh as usual I miss all the fun Mar 08 12:32:01 <[g2-lap]> dyoung-away you know where the ep93xx wiki is ? Mar 08 12:32:15 Yes Mar 08 12:32:24 so I want to hit J30 ? Mar 08 12:32:40 <[g2-lap]> Ok I'll add a page for the OCD stuff Mar 08 12:33:04 <[g2-lap]> J8 Mar 08 12:34:20 ok thats pretty easy access Mar 08 12:40:27 <[g2-lap]> dyoung-away vmaster lennert on the Xilinx DLC5 cable VCC is an output from the device right :? Mar 08 12:40:59 <[g2-lap]> or is it an input to the device ? Mar 08 12:41:01 not sure, vmaster probably knows Mar 08 12:41:02 the vcc pin provides the power to the DLC5 Mar 08 12:41:45 <[g2-lap]> Ok then I think that's my problem Mar 08 12:42:19 <[g2-lap]> I had an unpowered device connected on the cable Mar 08 12:42:32 <[g2-lap]> and I'm driving VCC from the EP9312 Mar 08 12:43:06 <[g2-lap]> what I should be doing is powering this device and have VCC not connected Mar 08 12:43:31 <[g2-lap]> just GND, TCLK, TMS, TDI and TDO Mar 08 12:43:51 <[g2-lap]> correct ? Mar 08 12:49:45 so I'm scannin g the documentation. Do you really need a Null Modem ? Mar 08 12:52:16 <[g2-lap]> dyoung-away not if you switch pins 2 and 3 Mar 08 12:52:36 <[g2-lap]> I connect straight through but I've swapped 2 and 3 Mar 08 12:52:53 I connect straight through, and I'm using all straight cables, so.... Mar 08 12:53:00 <[g2-lap]> I think I've got pin 3 on the glomation connected to DB-9 pin 2 Mar 08 12:53:39 <[g2-lap]> dyoung-away we may not need the scope btw :) Mar 08 12:54:11 [g2-lap]: it's working? Mar 08 12:54:26 <[g2-lap]> lennert no :( but I've got an idea :) Mar 08 12:55:05 <[g2-lap]> I can I can turn the ts7200 into a capture devices and will have wave forms before dyoung-away wakes up :) Mar 08 12:55:12 hehe Mar 08 12:55:14 go for it :) Mar 08 12:56:41 there's Vref which is used to detect if a target is powered (input to the debugger interface) Mar 08 12:57:01 and Vcc which may be used to power the debug interface from the target, or to power the target from the debug interface Mar 08 12:57:12 http://www.whipy.demon.co.uk/xgeep.pdf updated,, http://www.whipy.demon.co.uk/geep-sch.pdf updated ,,, :) dvi done almost , just the composite video out to add Mar 08 12:57:44 <[g2-lap]> vmaster then I should have been OK Mar 08 12:58:04 <[g2-lap]> as we'd be powering the target from the cable Mar 08 13:00:24 <[g2-lap]> lennert T4 is a count up timer right ? Mar 08 13:01:44 yeah Mar 08 13:01:49 40 bit timer Mar 08 13:01:59 983.04 kHz or so Mar 08 13:02:03 so not very fine-grained Mar 08 13:03:48 [g2-lap]: I am sure that the cable Vcc provides power to the DLC5 cable. Mar 08 13:03:50 http://www.xilinx.com/bvdocs/userguides/ug130.pdf Mar 08 13:03:52 page 62 Mar 08 13:05:06 that is, the DUT provides power to the cable. Mar 08 13:06:19 <[g2-lap]> dyoung-away Ok thx Mar 08 13:07:09 serial is still fighting me Mar 08 13:07:40 surely a sign to sleep on it Mar 08 13:08:04 get some rest :-) Mar 08 13:08:22 When I press control-c in redboot nothing happens; and it continues to boot Mar 08 13:10:26 <[g2-lap]> I press it right after seeing the + Mar 08 13:16:05 no joy. Mar 08 13:16:19 on 2 separate machines Mar 08 13:16:25 with differnt cable sets Mar 08 13:16:40 maybe its not meant to be Mar 08 13:18:29 <[g2-lap]> sounds like the RX to the device isn't connected right Mar 08 13:18:38 <[g2-lap]> or there's flow-control or something Mar 08 13:19:00 <[g2-lap]> that would need to be off Mar 08 13:19:14 <[g2-lap]> but I'm sure you already set that up Mar 08 13:22:06 <[g2-lap]> lennert how fast was this thing reading ? Mar 08 13:22:33 grrr Mar 08 13:22:52 <[g2-lap]> a bear in HI ? Mar 08 13:23:24 I'm just getting frustrated not being able to send. Mar 08 13:23:48 Guess I'll hit the MAX2343 with the scope. Mar 08 13:24:03 <[g2-lap]> are you on P1 ? Mar 08 13:24:13 Yes Mar 08 13:24:23 <[g2-lap]> Ok just checking silly stuff Mar 08 13:25:56 it was reading at 10Msamples/sec Mar 08 13:39:49 ok i'm a moron Mar 08 13:39:54 that does it. Mar 08 13:40:33 'night dyoung-zzzz Mar 08 13:41:44 <[g2-lap]> dyoung-zzzz sweet dreams Mar 08 13:46:09 har har Mar 08 13:46:49 I need all this fancy test equipment to tell me I'm an idiot that doesnt RTFM. :-) Mar 08 13:50:30 <[g2-lap]> dyoung-zzzz I thought you were going to sleep ? Mar 08 13:51:40 * [g2-lap] wonders what dyoung-zzzz did Mar 08 13:54:48 hehe Mar 08 13:57:49 Um.. Mar 08 13:57:59 12345 != 13579 Mar 08 13:58:08 right :-) Mar 08 13:58:56 so I'm GTG now. Mar 08 13:59:06 *now* I can sleep in peace. :-) Mar 08 13:59:09 good to go? :) Mar 08 13:59:28 <[g2-lap]> sweet peaceful sleep Mar 08 13:59:47 If you want me to hit someting with a scope, I do in around 7 hrs Mar 08 14:00:16 <[g2-lap]> dyoung-zzzz OK great thx Mar 08 15:25:07 <[g2-lap]> anybody know of any fast/cheap optical transceivers ? Mar 08 15:25:28 just buy a 1000baseSX GBIC? Mar 08 15:25:39 or do you mean something else? Mar 08 15:26:06 <[g2-lap]> any idea what they run ? Mar 08 15:26:19 <[g2-lap]> and how are they driven ? Mar 08 15:26:29 <[g2-lap]> GMII ? Mar 08 15:26:40 SERDES Mar 08 15:26:53 if you want GMII you need an additional ixf1104 or pmc/sierra 3386 or something Mar 08 15:26:59 this is for gigabit, right? Mar 08 15:27:12 <[g2-lap]> no, but gigabit would work Mar 08 15:27:58 the needed parts aren't very easy to solder yourself though Mar 08 15:28:38 <[g2-lap]> hey I'm all for getting stuff manufactured Mar 08 15:28:47 * [g2-lap] is soldered challenged Mar 08 15:29:07 go with the intel ixf1104 then, it's a load cheaper than the pmc/sierra Mar 08 15:29:28 <[g2-lap]> I don't need GMII Mar 08 15:29:37 <[g2-lap]> and I don't need SERDES Mar 08 15:30:31 <[g2-lap]> gigE would work fine Mar 08 15:30:56 <[g2-lap]> it'll send nearly 120MB over the link point to point Mar 08 15:31:15 <[g2-lap]> per second :) Mar 08 15:31:23 well, most GigE transceivers use either SERDES, GMII, or SPI3 Mar 08 15:31:37 SPI3 is one of the easier protocols to speak Mar 08 15:31:57 <[g2-lap]> so do any of the S3s speak one of those ? Mar 08 15:32:05 32 bit data path running at 50 MHz or so should be enough for a single gigabit pipe Mar 08 15:32:12 i think you can make the S3 speak SPI3 Mar 08 15:32:28 the S3 certainly won't speak SERDES, as SERDES is 1.25 giga-baud Mar 08 15:32:36 basically, SERDES is what goes into the laser Mar 08 15:32:52 <[g2-lap]> or a backplane :) Mar 08 15:33:00 or a backplane :) Mar 08 15:33:20 spi3 is probably easiest Mar 08 15:33:37 the ixf1104 is a quad gige phy Mar 08 15:33:53 which runs spi3 at 125MHz or so Mar 08 15:34:00 not sure if that's okay for the s3 Mar 08 15:34:04 <[g2-lap]> is there an ixf1101 ? Mar 08 15:34:14 but you can always run it at a lower rate (or a decrease in available bandwidth) Mar 08 15:34:17 <[g2-lap]> or 02 Mar 08 15:34:17 not sure.. Mar 08 15:34:26 i don't think so Mar 08 15:34:31 <[g2-lap]> any clue what they cost ? Mar 08 15:34:51 i saw prices a while ago.. hmm Mar 08 15:35:06 Price: call :P Mar 08 15:35:14 https://www.sierraic.com/pnresults.asp?navpart=IXF1104 Mar 08 15:35:51 <[g2-lap]> ring ring Mar 08 15:36:13 * [g2-lap] pauses music Mar 08 15:36:18 hehe Mar 08 15:36:20 you calling them? :) Mar 08 15:38:11 <[g2-lap]> left a message Mar 08 15:38:17 <[g2-lap]> they weren't there Mar 08 15:38:25 <[g2-lap]> talk is cheap right ? Mar 08 15:38:28 hehe Mar 08 15:38:34 cool :-) Mar 08 15:38:48 there are all intel MACs: http://www.pcparents.com/design/network/products/optical/lc_tsp.htm Mar 08 15:38:55 do they send free samples ? :) Mar 08 15:39:07 hehe Mar 08 15:42:16 <[g2-lap]> http://www.intel.com/design/network/products/lan/bsdl/ixf1104_bsdl.htm Mar 08 15:42:29 <[g2-lap]> that might be handy at some point :) Mar 08 15:42:42 [g2-lap]: so, the pmc/sierra 3386 is a dual-port and the pmc/sierra 3387 is a single-port GigE Mar 08 15:43:12 <[g2-lap]> there are about 3 or 4 different things going here Mar 08 15:43:31 http://www.pmc-sierra.com/products/details/pm3387/ http://www.pmc-sierra.com/products/details/pm3386/ Mar 08 15:43:37 <[g2-lap]> thx Mar 08 15:44:19 <[g2-lap]> one is a day-dream about an optical link between the JTAG attachment and the back-end processing Mar 08 16:40:16 beewoolie-afk: das bee in the house Mar 08 16:40:21 beewoolie-afk: whats cookin? Mar 08 16:40:25 beewoolie-afk: have a good trip? Mar 08 16:40:31 Excellent Mar 08 16:40:42 I'm all about the skate-skiing Mar 08 16:40:49 ahh Mar 08 16:40:55 beewoolie-afk: where did ya go? Mar 08 16:41:04 mt bachelor Mar 08 16:41:08 ahh Mar 08 16:41:12 haven't been there Mar 08 16:41:50 It's central Oregon. I like it a lot. Not expensive. Nice folks. I think it's owned by the state of O. Mar 08 16:48:03 yea, i've read about it before Mar 08 16:48:20 just never went to that area for skiing before Mar 08 17:37:33 yawn Mar 08 17:38:17 beewoolie-afk, my sister used to go to Mt Batchelor a lot Mar 08 17:38:22 hi Mar 08 17:38:38 Hi folks Mar 08 17:39:53 howdy AchiestDragon beewoolie-afk Mar 08 17:41:00 looks like the debugging side is coming along. Mar 08 17:44:17 beewoolie-afk: so this week on that patch? hehe Mar 08 18:00:24 anyone here working with a s3c2410 based device? Mar 08 18:59:40 <[g2-lap]> hey beewoolie-afk ! Mar 08 19:00:08 [g2-lap]: hi Mar 08 19:00:21 <[g2-lap]> how goes mate ? Mar 08 19:00:37 just returned from skiing. Mar 08 19:07:27 <[g2-lap]> cool Mar 08 19:07:41 <[g2-lap]> good tracks ? Mar 08 23:28:33 http://www.whipy.demon.co.uk/xgeep.pdf updated,, http://www.whipy.demon.co.uk/geep-sch.pdf updated ,,, added composite video out , and half way though adding ac97 audio Mar 09 08:18:23 good morning all **** ENDING LOGGING AT Thu Mar 09 10:59:57 2006