**** BEGIN LOGGING AT Sun Feb 06 05:39:56 2005 Feb 06 10:19:22 * beewoolie-away yawns Feb 06 10:21:07 I'm already yawning with 2 cups already down! Feb 06 10:27:08 * beewoolie turns slowly, moonfaced Feb 06 10:30:40 good idea to turn slowly Feb 06 10:57:45 hey crack babies Feb 06 10:59:10 hiya prpplague Feb 06 11:00:19 kas11: whats cookin today? Feb 06 11:01:50 prpplague: I have a question about how you got MMC controller to operate the JTAG scan chain. Feb 06 11:02:03 prpplague: First, did you write the code that make it work? Feb 06 11:03:09 otay...so I'm starting the POD design here.. Feb 06 11:03:26 coolio Feb 06 11:03:28 it will have a FTDI 2232 and a CPLD for voltage control. Feb 06 11:03:32 and pinouts. Feb 06 11:04:03 I'll try to have a PDF up either tonight or tommorrow night. Feb 06 11:04:22 I was thinking about the connector to the USB. It would be handy if it could be away from the computer. Feb 06 11:04:40 kewl...I am browsing the ftdi code I have come across Feb 06 11:04:43 That means either a normal usb flat connector (A?) Feb 06 11:05:06 or the square connector and a requirement for a cable. Feb 06 11:05:26 kas11: whadaya seein? Feb 06 11:07:01 beewoolie: yea, just hacked the driver that was already existing in the kernel Feb 06 11:07:33 beewoolie: instead of doing the mmc protocol, i just replaced it with the procedure for jtag Feb 06 11:07:50 looking mostly at what is here http://www.intra2net.com/opensource/ftdi/index.php Feb 06 11:08:28 beewoolie: http://www.elinux.org/wiki/MMC?action=AttachFile&do=get&target=mmc_example.pdf Feb 06 11:08:47 beewoolie: there is a good white paper from sharp about doing mmc interface Feb 06 11:09:08 beewoolie: if you look it over, you will realize its basically identical to jtag Feb 06 11:09:54 beewoolie: oops wrong url, let me grab the right one Feb 06 11:10:29 beewoolie: here try this one - http://www.sharpsma.com/pub/productfocus/publications/micro/mcu/tec_appnote_LH79520_multimediacar.pdf Feb 06 11:11:49 prpplague: how do you drive TMS? Feb 06 11:13:41 beewoolie: with the chipselect Feb 06 11:14:57 prpplague: seems to me that calling this 'the same as JTAG' is kind of an exaggeration. Feb 06 11:15:14 prpplague: It's just a bit serial interface. SPI can do this, too. Feb 06 11:15:49 beewoolie: right thats exactly what the mmc interface is, SPI Feb 06 11:16:34 beewoolie: maybe it is just wording on my part, i simply mean that the interface has the same serial type functionality Feb 06 11:17:43 beewoolie: the alcor chip also has some gpio's as well as the extra lines for sd card Feb 06 11:17:54 the nice part about the current plan is that it is modular...the dongle can start out being hung on your development workstation to do plain ol jtag to debrick...later we can add RT capabilities running off a dedicated host...but frankly all most people need is jtag to flash Feb 06 11:18:00 beewoolie: which allows for nTRST and other functionality Feb 06 11:18:18 kas11: agreed Feb 06 11:18:21 kas11: I won't have a chance to look at the code for a few days. I was just curious if you are seeing anything interesting. Feb 06 11:19:48 beewoolie: you could purchase a mmc/sd card usb adapter, open it up, solder to the header and your ready Feb 06 11:21:18 it will give us a baseline so we can proceed...at least for me, at this point there are a lot of imponderables...the 2232 simplifies things considerably Feb 06 11:22:51 kas11: yea i can see that Feb 06 11:23:14 kas11: whats the status of linux support for the 2232 chip? Feb 06 11:23:54 beewoolie...it is code for the 2232...but I am just getting up to speed...I'll let ya know in a couple hours ;) Feb 06 11:25:48 there is open source code that appears to do most of the job...peering deeper into it now...the link to it is above Feb 06 11:32:18 okay so we can use the FTDI chip to attach to our S3's just like the CY part from Digilent (thanks kas11 for the idea!) Feb 06 11:33:04 * prpplague wonders if there is an existing device using the 2232 chip Feb 06 11:35:10 http://www.qualitycables.com/usb-serial-adapter-windows-mac.cfm Feb 06 11:36:19 looks like there are alot Feb 06 11:36:29 http://www.usbgear.com/USB-to-serial-adapter-cable/usb-serial-adapter.html Feb 06 11:37:51 kas11: http://www.coolgear.com/images/USBG-232FT-1.jpg Feb 06 11:38:05 kas11: that one is listed using the 2232 chip Feb 06 11:40:46 it would be a very ugly hack to make that work with an output of 2.5V-5V Feb 06 11:47:17 ka6sox-away: why is that?, just remove the rs232 transceiver Feb 06 11:47:42 with a cheap source of supply for the FTDI chip, making our own dongle with the features we want is very compelling to me Feb 06 11:49:11 kas11: nod Feb 06 11:53:48 agreed, i was just saying as a prototype basis Feb 06 11:54:17 i don't have resources to do custom pcbs so i usually find something i can hack Feb 06 11:54:26 guess its just a different hobbists view Feb 06 11:56:04 prpplague, I can do custom PCBs easily and would rather not hack something. Feb 06 12:00:33 ka6sox-away: Are you offering to supply us with prototype boards? Feb 06 12:05:59 I am sure one of us can finance a run of enough boards to suit our immediate needs...and everyone will chip in to cover the cost...shouldn't be more than $10 apiece Feb 06 12:08:22 I know I am willing to put a $20 in the mail tomorrow to cover the board...$20 more to cover the $7 chip if it gets run thru a tank with the board... Feb 06 12:11:20 I know there are places willing to do 2 5"x6" boards for $85...that should be good for 8 boards...another $5 outta get them chopped into 8 2 x 2 1/2s Feb 06 12:12:34 if we need to DIY wave soldering, it may be more of a challenge...;) Feb 06 12:13:17 np Feb 06 12:55:08 [g2]: yo Feb 06 12:55:30 <[g2]> hey beewoolie ! Feb 06 12:55:42 <[g2]> just reading through the log Feb 06 12:57:05 morning [g2] Feb 06 12:57:11 <[g2]> hey ka6sox-away ! Feb 06 12:57:29 <[g2]> sounds like kas11 is ready for a prototype run Feb 06 12:58:39 <[g2]> ~qboty Feb 06 12:58:39 [g2]: parse error: dunno what the heck you're talking about Feb 06 12:58:40 <[g2]> ~qbot Feb 06 12:58:40 qbot is a friendly forgetful blootbot. Feb 06 12:59:00 <[g2]> is that dyoung's bot ? Feb 06 12:59:05 <[g2]> qbot identify Feb 06 12:59:06 [g2]: i don't know Feb 06 12:59:38 <[g2]> anyone know who randman is ? Feb 06 13:00:18 <[g2]> hello qbot :) Feb 06 13:03:24 [g2], he is a good friend of mine Feb 06 13:03:56 he used to live near me here and recently moved about 1hr from me. Feb 06 13:23:17 hiya [g2] ;) Feb 06 13:24:09 kas11 is hot-to-trot ;) Feb 06 13:29:25 you go girl! Feb 06 13:29:56 [g2], qbot is on my server Feb 06 13:32:55 the 2232 is supported in 2.6...I guess that is what beewoolie was saying yesterday Feb 06 13:32:57 ka6sox-away: you got that url for the sample usage for jtag on the FTDI chip? Feb 06 13:33:16 kas11 has it..irrc Feb 06 13:33:19 iirc Feb 06 13:33:35 kas11: ping Feb 06 13:34:08 ka6sox-away: actually that is a ssop package right for the 2232? Feb 06 13:34:18 kas11: that's what I found Feb 06 13:34:48 this is the most useful http://www.intra2net.com/opensource/ftdi/index.php Feb 06 13:35:41 kas11: what about that sample schematic interfacing to the TI 244 chip? Feb 06 13:36:11 that was on the FTDI page Feb 06 13:36:17 kas11: ahh ok Feb 06 13:38:17 hmm, i could use some protoboard and build this up pretty quick Feb 06 13:38:28 http://www.ftdichip.com/Projects/MPSSE/FT2232C-Proj03_v11.pdf Feb 06 13:38:30 ka6sox-away: you already laid out a schematic? Feb 06 13:38:41 prpplague, I'm working on it. Feb 06 13:38:48 too many windows open...could find it *lol* Feb 06 13:39:03 it should be up in PDF format either late tonight or Tommorow. Feb 06 13:39:09 on the wiki Feb 06 13:39:34 kas11: thanks Feb 06 13:39:54 ka6sox-away: where are you gonna order the FTDI chips from? Feb 06 13:41:39 mouser, digikey and jameco don't seem to carry them Feb 06 13:43:42 parallax is showing the 48 pin chip...that schematic sez the 48 is the highest used....looking for data sheet now Feb 06 13:44:06 the 48 guy is very easy to lay out. Feb 06 13:44:16 I like the qfp's Feb 06 13:45:43 ka6sox-away: yea, i use the protoboards from beldyn systems for doing easy qfp packaging Feb 06 13:45:50 <[g2]> kas11, VCP support is in 2.6.9+ I don't think D2XX is Feb 06 13:46:04 <[g2]-away> bbiab Feb 06 13:46:34 LQFP seems to be the only package Feb 06 13:47:04 why not just order this - http://www.dlpdesign.com/usb/2232m.html Feb 06 13:50:14 * prpplague places order for one from mouser Feb 06 13:50:55 because it still doesn't address the issue of the targets having different voltage requirements. Feb 06 13:54:04 and how are you gonna solve that with your design? Feb 06 13:55:09 I'm thinking of buying something like that just to get a jump start on the software. It depends on how long ka6sox-away thinks it will take get us hardware Feb 06 13:56:14 2 weeks max to have boards populated. Feb 06 13:56:30 * beewoolie turns slowly, moonfaced Feb 06 13:57:31 Is $20 enough? To whom do I write the check? Feb 06 13:58:10 bbs Feb 06 13:59:07 time for lunch...bbiaw Feb 06 13:59:13 I also like the possibility of plugging into the S3...to do that you need a board...you could make a daughter board with a machine pin socket on it for that...but it will be less robust and more expensive, I expect Feb 06 13:59:52 I plan on making it work for the S3 board...I like that idea a LOT. Feb 06 14:05:20 ka6sox is estimating less than $50 for a board with 2232 and CPLD at least...other parts TBD but everything else is nickel and dime stuff Feb 06 14:05:24 * dyoung-zzzz grumble Feb 06 14:05:41 I am in for that...who else? Feb 06 14:06:17 to r un at the full speed I think we probably want something l ike the Xilinx-4 connector. Feb 06 14:06:41 so Yes, I 'm in becvause I'll need a Xilinx-4 -> Xilinx-3 Adapter. Feb 06 14:07:32 I have in mind to have 6, 14 and 20 pin connector pads plus the edge pins Feb 06 14:07:52 nod Feb 06 14:08:00 I wouldnt mind the standard ARM Arrangement too Feb 06 14:08:18 They call me "Adapter Man" for a reason. Feb 06 14:09:01 works for me...we need to provide at least a little challenge for ka6sox... Feb 06 14:09:40 Too bad hes not using Eagle. I have both the FTDI and Xilinx CPLD part libraries on hand. Feb 06 14:09:59 the it *really* would have been fast. Feb 06 14:10:13 Drop, drop, wire, wire, connector, Done. Feb 06 14:10:32 oh yeah Bus. Feb 06 14:10:35 ;-) Feb 06 14:12:12 we may need a jumper to provide for nRST on one of the GPIOs that will be on the S3 data bus at times also...we definitely want nRST at any rate Feb 06 14:12:32 I looked at the sample code. Feb 06 14:12:39 Shouldn't bee too bad. Feb 06 14:13:25 yeah, looks like we have most everything we need to put the s/w together Feb 06 14:13:36 It would probably be faster for a C Queen like kas11 to just write it new; but it looks like most of the Delphi exmpale code should be easily ported to C/FDTI calls. Feb 06 14:13:56 (for braindead types like me) Feb 06 14:14:22 there is non-Delphi sample stuff too Feb 06 14:14:59 and I want to avoid the closed libraries Feb 06 14:15:35 there is enough open stuff to get the job done without major head-scratching Feb 06 14:16:55 I tend to start with the data sheet and work backwards...a library without source becomes a major impediment for me getting anything done Feb 06 14:17:28 I guess I am really a h/w person at heart Feb 06 14:18:08 prolly comes from a mis-spent youth working with ttl Feb 06 14:18:25 I'm lazy. Feb 06 14:19:02 I only keep referring to this "delphi stuff" because its already mostly complete. I dont even know what delphi is... Feb 06 14:19:22 anyone that understand h/w and can write pseudo-code can eventually translate that into C Feb 06 14:19:32 Tell that to ka6sox. Feb 06 14:19:35 pascal by another name Feb 06 14:19:59 it is warmed over Turbo Pascal Feb 06 14:20:07 ka6sox seems to be frightened by C. Feb 06 14:20:54 I know...but he shouldn't be...we'll get him whipped into shape directly ;) Feb 06 14:21:13 Yeah, we can give him 'few lashes later. Feb 06 14:21:29 I shouldnt talk. Feb 06 14:21:35 VHDL scares the h ell outt me. Feb 06 14:22:29 me too Feb 06 14:24:21 the joy of open source is that you are expected to adapt code written by others...cuz that is the only documentation on what you are supposed to be doing anyhow Feb 06 14:24:49 code reuse at its finest ;) Feb 06 14:27:16 that's what really gets Billy Gates' goat...he wants everyone to use libraries that no one understands and that he controls the API of... Feb 06 14:38:50 g Feb 06 14:39:06 I thought that the idea was to use muxing to provide all of the options. Feb 06 14:39:30 There would be, perhaps three or so headers, but the pin organization is produced by the cpld. Feb 06 14:39:40 That goes for ntrst Feb 06 14:39:58 bg is a fool Feb 06 14:42:01 StuporBowl Party or not to Stuporbowl party.... Feb 06 14:42:03 It all sounds fine to me. $50 is an improvement over $100. If the 2232 is $8 and the cpld is $4, what gets us to $50? Feb 06 14:42:27 dyoung: btw, I'd like to test APEX on your machine using the original firmware from Linksys. Feb 06 14:42:32 dyoung: are you game? Feb 06 14:42:48 the pcb and imponderables...the estimate is under $50....how much so is TBD Feb 06 14:42:52 dyoung: unfortunately, I've got obligations for the rest of the day. Feb 06 14:43:47 dyoung: I'd like to know if APEX, from SDRAM, will boot the Linksys fw. It does for me. Feb 06 14:44:02 ttfn. Back tomorrow. Feb 06 14:44:34 laters ;) Feb 06 14:48:35 ok Feb 06 14:48:37 Yes Feb 06 14:48:39 I can do that Feb 06 14:48:42 but not today Feb 06 14:48:49 I *should* do stuporbowl party. Feb 06 14:48:53 and be social for a change Feb 06 15:00:08 hehe, that dlpdesign module looked familiar Feb 06 15:00:39 so i dl'd the schematics for one of boards in development now, hehe, its using the FT2232 chip Feb 06 15:00:49 which means we have samples at the office Feb 06 15:02:24 dyoung, are you in for the <$50 USB to JTAG dongle package? Feb 06 15:02:55 kas11: i'm in Feb 06 15:03:07 kewl ;) Feb 06 15:06:30 kas11: that include shipping to barbados? Feb 06 15:07:42 the 2232 exposes a 8051 bus interface...the simplest way to do that is to just embed a 8051 like all the others do...wonder if this thing is that much diff than the FX2? Feb 06 15:08:15 uh huh....by slow boat ;) Feb 06 15:08:43 is that where you are...or are you taking delivery on vacation? Feb 06 15:10:57 Yeah, do I get shipping too? Feb 06 15:11:34 and I wonder if the firmware on the Digilent board is really in the eeprom or is it downloaded by their driver? Feb 06 15:11:58 I nearly had a fit last night at the gallery when this lady from boston said, ... "Back in the states....." Feb 06 15:12:05 shipping to the non-contigous 48 states is extra Feb 06 15:13:34 *LOL*...in the backwaters y'all aren't recognized yet Feb 06 15:15:10 Barbados we can do...but to truly exotic locations, we must charge extra...I think that is Federal law Feb 06 15:15:29 I think I held my toungue and instead made some snide remark about living in grass shacks Feb 06 15:15:40 *LOL* Feb 06 15:15:52 having a visual now Feb 06 15:17:08 about my grass shack? Feb 06 15:17:10 Its really nice. Feb 06 15:17:37 Flow Through Ventilation. Feb 06 15:17:39 uh huh...complete with various puters, slugs and a mini mac Feb 06 15:18:42 I imagine plugging the power strip into a wall socket is a bitch Feb 06 15:19:29 Yeah, we use the ocean's power. Feb 06 15:19:50 Pray to the Gods make some human sacrifices.. Poof! Power comes magically. Feb 06 15:20:23 *lol* Feb 06 15:20:36 I hear the gods just love bostonian women. Feb 06 15:21:08 so the shipping is a deal breaker, eh?...ka6sox will be disappointed Feb 06 15:21:19 No its not Feb 06 15:21:28 I know that from his location it cost the same to ship to yo as me. Feb 06 15:21:34 Zone 8. Feb 06 15:21:40 you have one all picked out to test the theory, eh? Feb 06 15:22:32 there must be a surcharge we can apply somewhere.... Feb 06 15:47:53 kas11: moving to barbados at the end of the month Feb 06 16:37:51 I'm trying to figure out what this Microchip serial eeprom size is...line 1: 4LC Line 2: 1337 Line 3: 1CC I can't find anything without a # after the 4LC Feb 06 16:43:46 I guess 4LC is customer specific and we ain't gonna find out what size it is... Feb 06 16:48:10 I am trying to figure out if I can safely monkey with this Digilent board without bricking the 68013 Feb 06 17:05:04 kas11: do so at your own risk ;) Feb 06 17:12:21 being risk adverse..... Feb 06 17:15:43 I have a feeling that it is a 128 bit eeprom and Diligent driver downloads IP to the 68013...but I need proof before I blunder ahead Feb 06 17:17:31 more to the point, I need to make sure I don't do anything to the eeprom if I use fxload to download to the 68013 Feb 06 17:28:32 I need to talk to g2 before I shoot myself in the foot Feb 06 17:31:53 <[g2]-away> hey kas11 what's up ? Feb 06 17:35:26 hey [g2] did you get the impresion that maybe the Digilent board has its IP downloaded by the driver and not from the eeprom? Feb 06 17:36:49 I can't determine the size of the eeprom here...marking seem to indicate a private label...and maybe it only has SN in it Feb 06 17:37:17 <[g2]-away> kas11, by IP I assume you mean 8051 programming, and no I got the assumption that it loaded it from the eepromp Feb 06 17:38:40 <[g2]-away> that'd be kinka crazy to try and cover up the part Feb 06 17:39:12 k...can't get EZUSB s/w to see it even when adding VIP/PID to the .inf file... Feb 06 17:39:34 <[g2]-away> I mean if some MIT grad student and hacked an 800Mhz HT bus, monitoring the 6/12/24 Mhz eeprom lines is childs play :) Feb 06 17:39:48 well, it seems that Microchip marks them that way Feb 06 17:41:21 seems like the preferred way to deal with these is to download from the driver to make updates easy Feb 06 17:42:56 while you are here...are you in for our USB to JTAG <$50 dongle? Feb 06 17:44:27 2232 based with CPLD, eeprom pads for possible future use and edge connector that plugs into S3 Feb 06 17:45:46 essentially like the Digilent board but with our own open source drivers Feb 06 17:46:56 2232 being a 68013 work-alike but having enough open source code so we can figure out how to make it tick Feb 06 17:49:52 <[g2]-away> absolutely I'm in for a <$50 dongle Feb 06 17:50:14 kewl ;) Feb 06 17:50:41 <[g2]-away> I'm confused about the edge connector for the S3 Feb 06 17:53:25 the 2232 has 8 gpios so we'll use the same connector pinout as the S3 ports...so we should be able to pgm the S3 from our driver Feb 06 17:55:41 S3 board has both the jtag and the 8 bit parallel port for bulk loads...we may or may not need the parallel port but since we want to jtag the S3, we might as well wire it Feb 06 17:55:47 make sense? Feb 06 17:56:17 <[g2]-away> it's basically a slightly more open USB2 board Feb 06 17:56:41 <[g2]-away> can it be used stand-alone for the usb JTAG ? Feb 06 17:56:43 yeppers Feb 06 17:56:48 yep Feb 06 17:57:31 <[g2]-away> well the form factor of a card compatible S3 extension card is uselss for 99.9999% of users Feb 06 17:57:31 yeah, the S3 connector is for futher use Feb 06 17:57:38 future too Feb 06 17:58:18 but for us really important .0001% ;) Feb 06 17:59:21 <[g2]-away> how so ? Feb 06 17:59:58 so we can do BDI with the S3 Feb 06 17:59:59 dyoung-stuporbow: grass shack? get real, they have fiber to ever house down there Feb 06 18:00:20 dyoung-stuporbow: they have been net connectivity that the dallas-fortworth area Feb 06 18:05:44 and am I misisng something? seems to me that the Digilent board is closed...and Windows only Feb 06 18:07:18 won't even work with the Xilinx tools directly... Feb 06 18:11:06 <[g2]-away> well it'll be interesting to see how things play out longer-term 6-12 months Feb 06 18:11:57 <[g2]-away> meaning the digilent boards will have more horse power, and if were laying out a board, I don't know how much extra it'd be to just put the S3 on there Feb 06 18:12:36 <[g2]-away> I think for testing and prototyping to get it right it makes lots of sense Feb 06 18:13:42 more horsepower?...speed wise, you mean? Feb 06 18:14:15 I am picking your brain...not trying to contradictory ;) Feb 06 18:15:01 <[g2]-away> more ram and size of fpga, I think just about all of us would like to do softcores and we'll need both gates and memory for that Feb 06 18:17:10 oic...yeah, I agree...with the S3 compatible connector on our dongle, don't you think we will retain compatibility at least over the next 6-12 months? Feb 06 18:17:57 I have heard Digilent will soon have a -1000...be nice if they add more ram and flash Feb 06 18:19:14 it would also be nice if they retroactively gave S3 owners the demo EDK that Xilinx is giving to people buy the board from them Feb 06 18:20:46 demo EDK giving you microBlaze for at least 60 days Feb 06 18:22:53 gotta say I do like the USB board...pgms my -400 with no errors everytime...minor pita to have to use Export to use it tho Feb 06 18:23:27 have to redo with the wiggler about 25% of the time Feb 06 18:41:42 for those with too much time on their hands...http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/24594.pdf **** BEGIN LOGGING AT Sun Feb 06 19:02:30 2005 **** BEGIN LOGGING AT Sun Feb 06 19:42:25 2005 Feb 06 19:46:16 kas11: can i have some? Feb 06 19:47:02 sure...but they don't email well Feb 06 19:47:02 and they tend to gum up the scanner **** BEGIN LOGGING AT Sun Feb 06 19:48:44 2005 Feb 06 23:18:33 kas: can you send me some brownies? **** ENDING LOGGING AT Sun Feb 06 23:59:57 2005