irclog2html for #openjtag on 20050709

01:31.01*** join/#openjtag ChanServ (ChanServ@services.)
01:31.01*** join/#openjtag rwhitby (~rwhitby@rwhitby.nslu2-linux) [NETSPLIT VICTIM]
01:31.01*** join/#openjtag jacques (~jacques@jacques.nslu2-linux) [NETSPLIT VICTIM]
01:31.02*** join/#openjtag nslu2-log (dyoung@dyoung.nslu2-linux) [NETSPLIT VICTIM]
01:31.02*** join/#openjtag VoodooZ_Log (~VoodooZ@CPE00c0f021712c-CM014110003785.cpe.net.cable.rogers.com) [NETSPLIT VICTIM]
01:31.02*** join/#openjtag Jacmet_ (~jacmet@50C59F0E.flatrate.dk) [NETSPLIT VICTIM]
01:31.02*** join/#openjtag ubeman-zzzz (~dyoung@dyoung.nslu2-linux) [NETSPLIT VICTIM]
01:31.02*** join/#openjtag pjames (~jcouzens@S0106000024c23f2c.vs.shawcable.net) [NETSPLIT VICTIM]
01:31.02*** join/#openjtag cbrake (~cbrake@cpe-204-210-216-174.neo.res.rr.com) [NETSPLIT VICTIM]
01:31.02*** join/#openjtag ka6sox-office (~tking@netblock-66-159-209-52.dslextreme.com) [NETSPLIT VICTIM]
01:31.02*** mode/#openjtag [+o ChanServ] by irc.freenode.net
01:51.07*** join/#openjtag cbrake (~cbrake@cpe-204-210-216-174.neo.res.rr.com)
06:22.47*** join/#openjtag ByronT (~byron-por@ByronT.nslu2-linux)
07:00.36*** join/#openjtag ep1220 (~NN@gate.epatec.at)
07:05.47*** join/#openjtag ByronT-Away (~byron-por@ByronT.nslu2-linux)
09:53.55*** join/#openjtag JMunakra (~JMunakra@dsl-084-059-199-088.arcor-ip.net)
09:59.09JMunakraep1220: What about the EZNIOSUSB? is that one compatible with 3.3V ?
10:00.00ubeman-zzzzIt should be.
10:00.20ubeman-zzzzI seem to remember inspecting that schematic a few month ago
10:01.26JMunakraI see no level changer circuitry, but there is a 3.3V regulator
10:01.44JMunakraDoes the 2232 need 3.3 V externally regulated?
10:05.49ubeman-zzzzpin 3,42 VCC +4.35 - 5.25V Vcc for device core
10:06.07ubeman-zzzzthere is a convenience 3v3 out too
10:06.36ubeman-zzzzOh, I think my penance is up, you probably dont reconize this nick.
10:13.22JMunakraHm, looks like the chip can be configured to do either 3.3 or 5 V for I/O
10:17.57dyoungon 2 ports, theres a vccio for both a and b
10:26.50ep1220Jmunakra: Yes, EZNIOUSB is 3.3V
10:27.44JMunakraand so should be the DLP-2232M
10:28.11ep1220the DLP-2232M does not have a voltage regualarot on board.
10:28.19ep1220You have to add it externally
10:28.30JMunakraSo you have an external 3.3V regulator to support your chip
10:28.36ep1220Yes.
10:28.42JMunakraOK, got it
10:29.17JMunakrais there other boards that might be suitable for development?
10:29.55dyoungthe DLP looks nice.  
10:29.57ep1220With 2232M, I am not aware of any other
10:30.20dyoungthe DLP is the cheapest method.
10:30.27ep1220DLP is nice, but You need to add more parts
10:30.44dyoungTheres a dual serial port adapter with a 2232 in it, but its $80.
10:30.57ep1220JMunakra: where did You see the DLPM at 19$
10:30.58dyoungep1220, not too much extra stuff though right?
10:31.30JMunakraat the FTDI site when you click "Buy online"
10:31.54JMunakradyoung: do you have the link to that serial adapter
10:32.12ep1220JMunakra; this are UKP not USD
10:32.24JMunakraOh :)
10:32.29ep1220Is approx 35USD
10:32.48dyoungthe dlp: http://www.mouser.com/index.cfm?handler=displayproduct&lstdispproductid=560644&e_categoryid=284&e_pcodeid=62602
10:33.25ep1220dyoung: what You need to add depends on what You want to do.
10:34.07ep1220If You only want to do FLASH programming thru the JTAG scan-chain all U need is a 3.3V regulator (plus capacitors)
10:34.11dyoungHmm, the serial adapter is $40 now; I guess I was imagining things.
10:34.32dyoung... or pilfer the 3.3V from the DUT..
10:34.41dyounghttp://www.usbgear.com/computer_cable_details.cfm?sku=XC-232-C&cats=199&catid=626%2C106%2C199%2C465
10:34.53ep1220The 3.3C on-chip can only be laoded with a few mA
10:35.01ep1220Not enough to drive VCCIO
10:35.18dyoungoh, I meant the real DUT.
10:35.23dyounglike a nslu2 for instance...
10:35.32ep1220Taking 3.3V from DUT has following problem:
10:35.48ep1220the 2232C needs VCCinternal and VCCIO from same source
10:36.10ep1220e.g it does not like having internal power from USB and VCCIO unpowered
10:36.45JMunakradyoung, how do you know it has the 2232C in it?
10:37.07dyoungI think thats the one that prpplague looked at.
10:37.32dyoungI msyelf am not positive it has it.
10:37.48dyoungI saw one at the store that looks similar that does though.
10:39.26ep1220Still, You have to open these devices and add JTAG cabling, disable/remove the RS232 level converter, ..
10:40.04ep1220I guess you do not come away cheaper than with the DLP2232M
10:40.05JMunakrachange the EPROM
10:40.15ep1220THis is easy. SW only
10:40.28dyoungep1220, exactly.  Thats why I like the dlp !
10:41.10ep1220One could think of making a small PCB to take the DLPM + other parts
10:41.27dyoungthts actually the current plan...
10:41.41JMunakraThe ideal thing for us would be a commercial product with a connector where only a matching cable needs to be made.
10:41.59ep1220JMunakra: this does not exist.
10:42.20ep1220Though I heard there are JTAG emulators using this chip (500$+)
10:42.44JMunakraWe could use their software :)
10:43.08dyoungthe openjtag board that the dlp2232 plugs into should be cheap.
10:43.48ep1220I routed what I have and asked for a quote.
10:43.52JMunakraIf we had a JTAG software that supports more than just the slug, this thing could quickly become big
10:44.12ep1220Setup fee 50EUR, plus 7EUR per board
10:45.10ep1220(in Q10)
10:45.28ep1220JMunakra: Writing this SW is a lot of work
10:45.54JMunakraep1220, I have a working ARM debugger
10:46.19JMunakraand there is a MIPS module, but I haven't tested it
10:46.42ep1220JMunakra: JtagPack ?
10:46.49JMunakrajtagpack.sourceforge.net
10:46.56ep1220I looked at it:
10:47.06dyoungIt ought to be easy enough to have "personality modules" to make it work for lots of targets
10:47.09ep1220Most files are copyright by a Japanese guy
10:47.19JMunakrago and make a driver for 2232C for it and try, it shouldn't take more than a day now that you have the code
10:47.37JMunakraCopyrighted, but they're GPL
10:47.45ep1220You saw: http://www.nahitech.com/jtag-en/license.html
10:47.57ep1220There he says it is not GPL
10:48.30JMunakraOh yeah, he switched license. The files I got were released under GPL.
10:49.00ep1220JMunakra: Now if he claims someone else has added the GPL lines ? Not that I believe you did this !!!
10:49.36JMunakraI don't believe that's a big threat.
10:49.53JMunakraI have his original packages, and copies of his old web sites.
10:50.12JMunakraAnd even if I didn't...
10:50.40JMunakraIf he were to do anything about it, we could still dump his code and use the IP we produced so far.
10:51.59JMunakraAnyway, I don't think he's doing a debugger right now.
10:52.27JMunakraoh, yeah, he is :)
10:54.16JMunakradyoung: jtagpack is very modular. You need <500 lines of code to add a new hardware (bit shift level)
10:54.43ep1220JMunakra: the DLP-2232C is not good at bitshift level.
10:54.49ep1220There it is very slow.
10:54.55JMunakrawhat else do you do with it?
10:55.57dyoungMPSSE...
10:56.04ep1220With bitShift level I mean. Your API is like  setTMS(), SetTDO(), toggleTCK()  
10:56.15ep1220You refer to the same thing ?
10:57.01ep1220For the 2232 your API is  writeIR(), writeDR(), ...
10:57.40JMunakrait knows about the TAP state machine?
10:57.44JMunakrathat's great!
10:57.54ep1220No it does not.
10:58.20JMunakraIf you say writeIR(), the stae machine has to change.
10:58.28JMunakrahow is that done?
10:59.01ep1220Yes, but this is done in SW. Yu send a combination of commands and bitstrings over USB
10:59.38JMunakraAnyway, the jtagpack API is basically TAPSetState(), shiftInOut().
11:00.27JMunakraso that should go together easyly.
11:02.10ep1220That abstraction layer fits better
11:02.36dyoung-zzzznight all
11:02.52JMunakranighty-night
11:04.25ep1220JMunakra: First i must finish the Linux Port of my library, anyway
11:04.47JMunakraWhat does your lib do?
11:05.27ep1220implement commands like: WriteIR(), ReadDR(), WriteReadDR(), ..
11:05.57ep1220Then I have a few XSCALE specific higher level routines
11:06.14ep1220Like: Read Xscale DBGTX register, ..
11:06.52JMunakrajtagpack utilizes a bitmask to indicate which bits need to be read
11:07.38JMunakrathe xscale functions would go into a higher abstraction level in jtagpack, over the core, while the bitshift is below the core
11:08.31ep1220I will take another look at it.
11:08.46JMunakrathe core (libjtag) abstracts away the physical chain (multiple chained chips etc.)
11:09.32ep1220I looked at it once, and saw it does a much better job at abstraction then OpenWince
11:10.07ep1220Still I prefer to have a core independent of jtagpack.
11:10.32JMunakraAre you going to release your source?
11:10.45ep1220And maybe have another layer to fit it to jtagpack (so it can be separated easily if needed)
11:10.51ep1220Yes
11:11.14JMunakrathat should be easy
11:11.39ep1220I also have a faster JTAG HW  in planning
11:11.52ep1220and want to make sure that one drops in easily :-)
11:12.09JMunakrado you use the open source libftdi?
11:12.30ep1220I have it, and use it as a reference.
11:12.40ep1220I started with the FTDI API on Windows.
11:12.42JMunakralibusb?
11:12.53JMunakrais your code portable?
11:13.15ep1220And now I am implementing the (neede) functions from their library for Linus over libusb
11:13.21ep1220s/linus/Linux
11:13.50ep1220I want Win + Linux
11:14.05JMunakraI want Mac OS X
11:14.16JMunakraand Linux
11:14.27ep1220You have gcc on Mac OS X, right ?
11:14.33JMunakrayeah
11:14.40JMunakraand libusb
11:14.48ep1220This is all You need-
11:15.06JMunakrajtagpack is also autotoolized.
11:15.38ep1220I have no experience with the autoconfig and co on Linux.
11:15.51ep1220I will leave this part to other people
11:17.11ep1220but until other people do have 2232C based compatible HW, it will not  be of much use anyway
11:18.28ep1220What target do You use for You work on jtagpack ?
11:18.38JMunakraARM7TDMI
11:18.50ep1220evaluation board ?
11:19.19JMunakrano, a board we made for a product at my company
11:20.05ep1220You are a HW engineer ?
11:20.31JMunakrahm, usually the target powers the JTAG hardware, but do you say, in the FTDI case the JTAG hardware needs to power the target?
11:20.35JMunakrano, SW
11:21.16ep1220For most commercial devices the target only powers the Level-shifters of the JTAG hardware
11:21.36ep1220With the FTDI there is no power connection between target and probe
11:21.41JMunakraYeah, but since we don't have level shifters
11:21.46ep1220(except for GND)
11:22.20JMunakraOK, so the target doesn't need to be powered by the probe.
11:22.54ep1220Yes. however this leaves some issues when the probe is powered and the target not (or vice-cversa)
11:23.09JMunakra<PROTECTED>
11:23.09JMunakra<PROTECTED>
11:23.28ep1220yes
11:24.25JMunakraOh, but the IO pins don't need to be supplied from VCCIO. I get it.
11:25.02JMunakraso when the target is now powered?
11:25.11JMunakraI don't see the problem
11:25.46ep1220If only one device is powered, the other is backdriven -> this can damage the IO drivers
11:27.13JMunakraHm, shouldn't an input be high-z? also when the device is not powered?
11:28.42ep1220You know how a diode works ?
11:28.55JMunakrayeah :)
11:29.18ep1220Asume You have a diode backwards biased from the IO-pin to the VCC pin
11:29.49ep1220Normally this one does not have current flowing thru it
11:30.06ep1220as VCC is larger than the level at the IO pin.
11:30.14JMunakraor the same
11:30.26JMunakraOh, I see
11:30.37ep1220Now the device is powered off, so VCC is at GND.
11:30.40JMunakraand the diode is there for what?
11:31.04JMunakrato protect the IO?
11:31.13ep1220e.g.
11:31.27ep1220but it can just be a "byproduct" of the design.
11:31.35ep1220E.g. with TTL
11:31.40JMunakraIs that a general problem in circuit design?
11:31.47ep1220Yes.
11:31.59JMunakraOK
11:32.12ep1220You have to design output stages to be immune to back-driving
11:32.18JMunakraso we would be better off if we provided a level changer
11:32.47ep1220Yes, but one which is designed with this in mind.
11:32.50JMunakrabut I'm sure you designed that in as an option already :)
11:34.00ep1220This is primarily a matter of cost and what You expect.
11:34.20ep1220E.g. if i debug a NSLU (70EUR value) i might no care much.
11:34.46ep1220If this were my only prototype (2 weeks to replace it) I'd think differently.
11:35.22ep1220So far there was no conclusion here what features an openjtag HW should support.
11:35.33ep1220What performance is expected, ...
11:35.44ep1220At which price
11:36.28JMunakraIt would be good to have the option, so it can compete with a commercial product
11:37.04JMunakraOf course, hackers will want to save the money, but we should have a broad adoption in mind.
11:38.24ep1220If You make it an option it adds to cost.
11:38.41ep1220i.e. more than when it is "mandatory"
11:39.42JMunakraI mean in the sense of a stuffing option
11:40.03JMunakrathe board will be a tad bigger, but...
11:40.57ep1220but then You make 2 boards = more work, 2x setup cost ...
11:41.10JMunakrawhy 2 boards?
11:41.29ep1220You das "will be a tad bigger"
11:42.01ep1220Actually the shifters are not that expensive.
11:42.18ep1220but hard to get in small numbers
11:43.57JMunakraalright
12:15.46*** join/#openjtag ByronT (~byron-por@ByronT.nslu2-linux)
12:53.13*** join/#openjtag [g2] (~g2@g2.nslu2-linux)
13:20.12[g2]ep1220, morning
13:20.38ep1220morning g2
13:21.01[g2]you had a nice chat with JMunakra yesterday :)
13:22.27ep1220You mean 4 hours ago ?
13:26.43[g2]yes :)
13:27.36ep1220was nice
13:32.56[g2]I'm gonna be making boards soon
13:33.01[g2]CPU boards
13:33.09ep1220XScale ?
13:33.13[g2]:)
13:33.16[g2]IXP422
13:33.24ep1220:-)
13:33.43ep1220that one has encryption unit, right ?
13:33.44[g2]Ok... I'm not *making* the boards, I'm having an OEM make them for me
13:33.51[g2]yes
13:34.03ep1220which interfaces ?
13:34.17[g2]interfaces ?
13:34.26[g2]you mean what's on the boards ?
13:34.31ep1220yes
13:35.07[g2]2 ethernet, serial, JTAG, miniPCI, CF, 64MB memory, + extras
13:35.40[g2]metal case
13:35.59ep1220sounds good.
13:36.12[g2]we'll see
13:36.24[g2]I'm excited and nervous about it
13:36.35ep1220I can feel with You.
13:36.50ep1220How many do You have to buy ?
13:36.55[g2]200
13:38.30ep1220Plan to sell them as development kits ?
13:38.48[g2]yes and LAMP/e-mail/other stuff
13:39.06ep1220Does it have harddisk IF onboard ?
13:39.29[g2]no. the CF + 2 USB 2.0 ports
13:39.44ep1220external PSU I asume.
13:39.49[g2]nod
13:40.24[g2]Target price is $249 US for all but the CF which will probably be sized but what ppl want on it
13:40.44[g2]that includes case and ps
13:42.04ep1220Does it have a boot FLASH ? or boot from CF ?
13:43.03[g2]tiny boot flash to load from CF
13:43.36ep1220You already have setup Your webshop ?
13:43.43[g2]from a cost perspective I think thats better and more useful than a fixed 8MB NOR flash
13:44.08[g2]I've got Apache 2.0 and PHP5 running on my slug :)
13:44.15ep1220I do not have Flash prices in my head.
13:44.15[g2]with ssl
13:44.38[g2]I'll need to setup some pages and full specifications
13:45.21[g2]I'll be launching in the next week or two
13:45.55ep1220Would be great if the PSU delivers enough power for a USB powered HD.
13:47.06[g2]:)
13:47.44ep1220The CPU is at 266MHz ?
13:47.44[g2]I think high-powered usb devices are .5A @ 5V right ?
13:47.47[g2]nod.
13:48.05[g2]we couild do 533, but again cost
13:48.19ep1220Yes. 500mA (is also what USB housings for 2.5 drives are rated)
13:49.09[g2]I think after having some devices out in the market (with some success) future builds could support that faster processor
13:49.36ep1220nod
13:50.01[g2]I don't know whether it'll be well received or a big yawn
13:50.31ep1220Hard to say.
13:50.43[g2]sure is
13:51.49ep1220I was thinking about a similar device for the SOHO market.
13:52.04ep1220there You might well be sucessfull.
13:52.27[g2]that's the market for the web server / e-mail server I was thinking of
13:53.35ep1220Do U have it FCC certified ?
13:54.00[g2]it'll have full compliance
13:54.04[g2]FCC, CE, etc...
13:54.22ep1220the OEM does the certification ?
13:54.50[g2]it costs
13:55.01ep1220I know :-(
13:55.14TierstenDon't know about FCC but you can self certify for CE
13:55.36TierstenJust woe betide you if you say it is compliant and then somebody finds out it isn't...
13:55.53ep1220but You might have to show measurements ..
13:56.14TierstenYou're supposed to have measurements but you don't have to file them anywhere first
13:56.21ep1220true
13:56.46Tierstenso if you're really on a budget you can just hope it's compliant and only get the measurements done if there are challenges.  living life really on the edge then
13:57.17[g2]It's not *that* expensive
13:57.19TierstenI know a couple of people that have done that.  They've designed it to be compliant to the best of their knowledge and just self certified it
13:57.38TierstenFor one thing it's not but you're supposed to do it for every revision and model
13:57.49Tierstenthat can add up quickly
13:58.03Tierstenor maybe it's just I know a lot of real cheapskate people :)
13:58.36ep1220I guess, You put it besides Your TV set - and if it does not harm receiption Your customers likely will not complain :-)
13:58.36[g2]well certainly for a spin  you can just get some lab time and do your own measurements
13:58.46Tierstenyep
13:59.09[g2]but having the first design checked out makes a bunch of sense
13:59.14TierstenRenting the gear/lab and doing it yourself is the cheapest method
13:59.42[g2]except for the "doing it yourself" that's what's being done
13:59.48Tierstenyeah
14:00.48TierstenAssuming you follow good practices and it's in a case, it's unlikely to fail anyway
14:00.58[g2]nod.
14:04.46TierstenGetting a little distribution made up that does VPN or acts like a AP should help the popularity of it
14:06.33[g2]Tiersten, VPN is a possibility, I'd convert the RV082 with firmware first
14:06.56[g2]unless logging was required in which case it's a toss-up
14:07.19[g2]A transparent bridge / logger will be an option though
14:07.45[g2]I think the RV082 has the 533Mhz 425 and 16MB flash
14:08.03[g2]same basic price point $250-260 US
14:08.19[g2]Plus 8 extra ethernets
14:10.04TierstenJust having something people can load and then play I mean
14:10.07[g2]I chrooted into statically built nslu2 recovery partition
14:10.25[g2]that's the whole point
14:10.45[g2]I'm hoping I don't totally lose my shirt/pants/etc....
14:10.55[g2]socks
14:11.18[g2]I think it makes total sense, but time will tell
14:11.59TierstenThe CF, it in IDE mode?
14:12.14[g2]think so
14:16.21rwhitby[g2]: will the case stand vertically?
14:16.35[g2]for you it will
14:16.39Tierstenheh
15:36.47JMunakrahi g2
15:39.08[g2]hey jacques
15:39.10[g2]doh!
15:39.13[g2]hey JMunakra
18:34.02*** join/#openjtag ByronT (~byron-por@ByronT.nslu2-linux)
19:17.27*** join/#openjtag ka6sox (www-data@netblock-66-159-209-60.dslextreme.com)
19:42.58*** join/#openjtag ka6sox (www-data@netblock-66-159-209-60.dslextreme.com)
21:04.17*** join/#openjtag ka6ox (www-data@netblock-66-159-209-60.dslextreme.com)
22:50.40*** join/#openjtag [g2] (~g2@g2.nslu2-linux)

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.