irclog2html for #openjtag on 20050420

02:58.43*** join/#openjtag Tiersten_ (~tman@Tiersten.nslu2-linux)
07:56.55*** join/#openjtag JMunakra (~JMunakra@dsl-084-059-195-242.arcor-ip.net)
10:59.46*** join/#openjtag Tiersten_ (~tman@Tiersten.nslu2-linux)
14:16.02*** join/#openjtag [g2] (~g2@g2.nslu2-linux)
14:45.37prpplague[g2]: btw, our new arm720t dev board should be available soon
14:49.30[g2]prpplague, that's the $199 one right ?
14:49.36prpplagueyea
14:49.46prpplaguethats the cpu module and carrier board
14:50.18prpplague[g2]: we are on the last revision of the pcb ( i hope)
15:02.52*** join/#openjtag ep22_2 (~epIrc@gate.epatec.at)
15:30.33*** join/#openjtag ep1220 (~epIrc@gate.epatec.at)
15:31.06ep1220Hi; anyone listening ?
15:33.04[g2]what's up ?
15:33.24ep1220I came here from openjtag.net
15:33.34[g2]cool. welcome
15:33.39ep1220anyone working on a JTAG cable using the FTDI chip ?
15:34.11[g2]that's been discussed some
15:35.10ep1220I am currently evaluating possible hardware solutions
15:35.15ep1220Find it hard to estimate how fast the FTDI chip can be
15:35.26ep1220(and do not want to duplicate work ,-)
15:37.05[g2]are you planning on building or buying a board
15:37.24ep1220building
15:37.28[g2]cool
15:37.53ep1220but must be faster than the parallel boards
15:37.55[g2]you know there's a $99 FTDI board that already does it (usb 2.0 to JTAG)
15:38.26ep1220no. Do you have a link ?
15:39.55[g2]http://www.easyfpga.com/
15:40.15[g2]1MB throughput from the web page
15:40.39ep1220Thanks, I take a look.
15:42.07ep12201MB is on USB. the FTDI has 6Mhz max JTAG clock.
15:42.57ep1220Do You know someone using this board ?
15:47.23[g2]no, but i had looked at it
15:48.55JMunakraep: I'm interested in that too.
15:48.57JMunakralook here:
15:49.23JMunakrahttp://jtagpack.sourceforge.net/
15:50.45JMunakrag2, what is the model you're referring to? I see only generic FPGA boards
15:52.32ep1220looks cool. I am primarily interested in debugging
15:52.51ep1220he emnt the
15:52.51ep1220EZNIOSUSB
15:52.51ep1220He ment the EZNIOSUSB
15:53.33JMunakraAlso, those boards are all US$169+
15:53.52JMunakraOh, I see
15:53.59ep1220I see 99$
15:54.31JMunakraHm, but do you have to buy software to do the FPGA design?
15:54.37JMunakraXilinx has free software
15:55.14ep1220No, the FTDI chip has a fixed function
15:55.35JMunakraOh, the EZNIOSUSB is only a daughter board.
15:55.49ep1220It can convert to serial (like RS232), JTAG and read/wrtei parallel data
15:56.05JMunakra99$ isn't all you need :)
15:56.25ep1220Datasheet at http://www.ftdichip.com/
15:56.31JMunakraWell, I looked at the FTDI chips a while ago and didn't notice JTAG functionality
15:57.51JMunakraOh, that chip is brand new
15:57.55ep1220There is a TF232 and now a FT2232C, only later can do JTAG
16:02.26ep1220missing on the board: Level Converter (if You need < 3.3V)
16:03.17ep1220and cable-adapter to connect to "standard" 16/20 pin JTAG
16:03.40[g2]EZNIOSUSB is $99 US for me ?
16:04.30ep1220I see the same price
16:04.53[g2]I think when we looked, there's a jumper on the board to run powered from the USB
16:05.20ep1220Yes, there is 3.3V regulator powered from USB
16:06.03JMunakraWell, I suppose you don't need the motherboard if you want to use the FTDI jtag mode
16:06.16[g2]I think one my have to change the cabling for ARM, and maybe write a driver for the USB host
16:06.16ep1220agree
16:07.31[g2]ep1220, do you do any FPGA programming ?
16:08.07[g2]the board we were planning on using is the $99 eval board from xilinx. It's got a Spartan 3 on it
16:08.14[g2]and bunches of headers
16:08.17ep1220only small PLDs
16:08.22[g2]that's OK
16:09.12JMunakrag2: do you have a link to the xilinx board?
16:09.19[g2]We sould create a simple parallel cable that does 16-bit moves between a parallel port and the FPGA board
16:09.30[g2]one second
16:10.10[g2]http://www.digilentinc.com/
16:10.11JMunakraI think parallel is crap
16:11.09ep1220I too had problems with emulators (e.g TI) on parallel boards
16:11.20ep1220worked on some mainboards, not on others
16:12.20ep1220g2, why You prefer the do-it-yourself over the FTDI chip ?
16:12.31ep1220price seems the same
16:12.58[g2]well we've planned on doing JTAG debugging at high speed
16:13.24[g2]So the FPGA can go faster and we can download stuff on-board to allow more functionality
16:13.44[g2]also several of us are interested in soft-cores on FGPAs so it's a nice match
16:13.55[g2]it really depends on ones end game
16:14.07ep1220I see
16:15.11ep1220what download speed is Your goal ?
16:15.11JMunakrathe best thing would actually be USB for data transfer and FPGA for bit banging
16:16.22[g2]there's a $49 board that plug into the eval board that does USB2.0 and it's avialable now
16:16.24JMunakraInstead of making a parallel adapter for the Xilinx board, why not make a USB adapter? And use a USB soft core.
16:16.26[g2]I've actually got the hw
16:16.39[g2]both the eval and usb
16:16.42[g2]usb 2.0
16:17.37JMunakradoes it plug right into the Spartan-3 board?
16:19.43JMunakraWell, this spartan board is hot anyway. For starters, it can be used with the serial port instead of an hi-speed port.
16:21.41*** join/#openjtag prpplague (~billybob@216.110.103.47)
16:22.23ep1220I see it is based on the Cypress 68013
16:22.44ep1220was looking into this chip
16:23.24ep1220using it to bitbang would give roughly 600-700kbit effective JTAGclock
16:23.40ep1220the xilinx could speed up this a lot
16:29.30JMunakraep: what kind of project are you working on?
16:30.07prpplagueep1220: have you looked at the ftdi jtag chip?
16:30.46JMunakraprpplague: we just dicussed that one
16:31.08prpplagueJMunakra: ahh, ok, i was off line for about 45 minutes due to adsl outage
16:32.01JMunakraWell, we didn't get so far as of which JTAG clock speed could be reached with using it.
16:33.28prpplagueJMunakra: i've not looked at the spec in awhile, but based on my tests with it, i got very good performance, around 8mhz operation
16:33.40JMunakraAlso, pure JTAG clock isn't everything. Many applications need to read back data before they can issue new JTAG operations. So the read back latency is important.
16:35.58prpplagueyea, i just did some limited tests
16:36.41prpplagueit seemed to work pretty well, just never did anything with it since we had a wiggler style dongle that we already used for other legacy products
16:37.15JMunakraSo you actually built a software to use the FTDI chip?
16:37.44prpplagueJMunakra: yea, just some simple stuff
16:38.07JMunakralike what?
16:38.28prpplagueJMunakra: nothing major, just enough to do a ident on the cpu, ident the flash via cfi, and then send over a bootloader
16:39.52ep1220Did you program the flash thru the JTAG scan line ?
16:39.57ep1220Or thru the CPU ?
16:40.54JMunakraDid you use th 2232 or the 232?
16:41.28prpplagueep1220: just bitbanging the data and address bus via the jtag
16:41.34prpplagueJMunakra: 2232
16:41.45prpplagueJMunakra: http://www.dlpdesign.com/usb/2232m.html
16:42.43ep1220I imagine the FTDI is good at this.
16:42.55ep1220remember Your download rate ?
16:44.02prpplagueep1220: to be honest i never did any quantitative tests, basically we were just looking at program times, and it was about 1/10 the time of a wiggler
16:44.39ep1220this is some progress ;-)
16:44.51prpplagueJMunakra: we also purchased one of these and modified it http://www.qualitycables.com/productdetails1.cfm?sku=USBG-232FT-1&cats=106&catid=626%2C106%2C199%2C465
16:46.03ep1220prpplague: you loaded Your custom firmware ?
16:46.04JMunakraWhat did you do to it?
16:46.42prpplagueep1220: i'm sorry, i'm not sure what you are refering to
16:46.57ep1220to the USB/serial cable
16:46.57prpplagueJMunakra: it has the ftdi 2232 chip
16:47.12JMunakranifty
16:47.15prpplagueJMunakra: we just took out the rs-232 "stuff"
16:47.23prpplagueJMunakra: and wired it for jtag
16:47.29prpplagueJMunakra: didn't take much
16:48.01JMunakranice
16:48.04ep1220prppplague: that answered my question as well.
16:48.05ep1220(thought it was a microcontroller USB/serial solution)
16:48.16prpplagueep1220: no need for custom firmware, its based on the ftdi 2232 so we made some hardware changes on the pcb
16:48.42prpplagueep1220: ahh ok, i'm slow today
16:48.46JMunakraEither that, or you add an external level switcher
16:49.24prpplagueJMunakra: yea, its at 3.3 already, so for arm jtag thats ok
16:49.40JMunakraI have some code that work with a regular RS232 port, just with ioctl and stuff. It's pretty slow tho
16:49.43prpplagueJMunakra: or atleast the arm boards we have
16:50.20JMunakraBut this USB Serial thingy is just what you need, cheap, and almost ready to go
16:50.42JMunakraevery Linksys hacker has a level changer board anyway, for the serial port
16:50.44prpplagueand does native jtag
16:53.01JMunakrais there any free code for using the 2232 for JTAG?
16:53.47ep1220prpplague: is the programming SW for the FTDI Linux or Windows or ?
16:53.49JMunakraAlso, are there other commercial products using it? Maybe even for less than $44?
16:54.38prpplagueJMunakra: nothing out there already
16:54.45ep1220prpplague: I mean the software You wrote to progam the Flash
16:55.06JMunakrabut that shouldn't be a big deal either
16:55.14prpplagueep1220: oh, linux, we are a linux only shop, however the code we wrote never was released
16:55.57prpplagueJMunakra: well the commecial products that use the 2232 seem pretty expensive
16:56.16ep1220prpplague: I saw a WIndows JTAG lib at the FTDI site, but no Linux. Did I miss it there ?
16:56.26JMunakraIt's a nice chip with all the functionality FTDI has to offer
16:56.30prpplagueJMunakra: we priced out doing a small run of boards with the 2232, and got the price down to around $15
16:56.50prpplagueep1220: you did? hmm, i never noticed one before
16:57.46JMunakraprpplague: for the chip alone? But only because of the low volume.
16:58.02ep1220prpplague: http://www.ftdichip.com/Projects/MPSSE/FTCJTAG.htm
16:58.48prpplagueJMunakra: for chip+pcb
16:59.20prpplagueep1220: ahh, never noticed that before, however i wasn't looking for winblows stuff
17:00.49JMunakraHm, how is their API available for *nixes?
17:01.37prpplagueJMunakra: well, basically i just used the existing ftdi kernel driver, and did some modifications based on the datasheet
17:02.19JMunakraHow is the kernel driver accessed from userland?
17:04.11prpplagueJMunakra: the original driver showed up as a serial device node
17:04.40prpplagueJMunakra: so i keep that style of interface
17:10.52ep1220prpplague: any plans to release this software ?
17:10.57ep1220prpplague: As You already looked into a PCB: sell such boards ?
17:12.28prpplagueep1220: negative, we are going with a wiggler style
17:14.05ep1220prppplague: For in-house use, or sale to the general public ?
17:15.15prpplagueep1220: in house
17:18.08JMunakraprpplague: is their linux driver open sourced?
17:18.36prpplagueJMunakra: "their" are you refering to the ftdi driver?
17:18.41JMunakrayeah
17:20.06prpplagueJMunakra: i could not say, the driver that i used was already part of the linux kernel and is GPL'd
17:20.18JMunakraOK
17:21.40JMunakraAnd where is the MPSSE mode stuff documented? Like, what USB requests you need?
17:23.46prpplagueJMunakra: i assume that all of that can be read from the kernel module, there was very little i had to do to modify it
17:29.03ep1220g2: still available ?
17:32.27ep1220In which timezone is the majority of the members on this channel ?
17:32.28ep1220I am in Europe (GMT+2).
17:34.14prpplaguei'm gmt+5
17:34.20prpplaguesorry 6
17:35.13JMunakraWhere's that? India?
17:35.36prpplaguebarbados
17:36.01ep1220prpplague: Cool place to live/work
17:36.16prpplagueep1220: hehe, not today, its hot hot hot
17:36.22JMunakratalk about offshoring development
17:36.44prpplaguehehe
17:36.50JMunakraprpplague: Are you telecommuting?
17:36.53ep1220prpplague: but the sea likely is not that far
17:37.36prpplagueep1220: nope not far at all
17:37.39prpplagueJMunakra: yea
17:37.45JMunakrahot damn
17:38.05ep1220prpplague: in your time: when is it best to meet more people on this channel ?
17:38.23JMunakrabut then, you're mor likely at -6
17:38.35prpplagueep1220: probably around 8-10pm
17:38.48prpplagueJMunakra: yea, i just notice i did a + instead of a -
17:38.58prpplagueJMunakra: can't type today
17:39.10JMunakrawell enough :)
17:41.47ep1220My goal is a JTAG debugboard wihtout a parallel interface (USB or Network).
17:42.03ep1220I have to leave now, will try again later
17:42.12ep1220been nice to talk to You
17:42.45*** part/#openjtag ep1220 (~epIrc@gate.epatec.at)
17:46.29JMunakraprpplague: There is a lib to access the FTDI from userland. No kernel hacking required.
17:46.37JMunakrahttp://www.intra2net.com/opensource/ftdi/
17:48.25prpplagueJMunakra: lovely
17:48.31prpplagueJMunakra: didn't know about that one
17:48.48prpplagueJMunakra: we only had a week to do an eval on about 10 different methods
17:49.37JMunakraprpplague: who do you work for again?
17:49.54prpplaguewww.amltd.com
17:49.57JMunakraoh, the texan company, right?
17:49.59JMunakrayeah
17:50.23JMunakrahah, I can't stop laughing about the drug screen thing
17:50.32prpplagueJMunakra: why is that?
17:50.35JMunakrabut it's probably popular with american companys?
17:50.49prpplagueJMunakra: yea very
17:51.04prpplagueJMunakra: i don't think i've ever had a job that didn't require it
17:51.07JMunakrathat would be so not possible in germany
17:51.17prpplagueJMunakra: oh? why is that?
17:52.25JMunakraI figure that would be covered by privacy considerations
17:52.39prpplagueahh
17:53.10JMunakraIt's like, can your employer require an AIDS test from you?
17:53.11prpplaguenot a big deal for most ppl as most ppl don't use drugs
17:53.41prpplagueJMunakra: no, however the argument there is that AIDS doesn't affect your ability to do your job
17:54.29JMunakraCome on. That's ridiculuos. So many things affect that more than drugs
17:54.48JMunakraYou can be fired every day if you don't do your job right. So what?
17:55.14prpplagueJMunakra: agreed
17:55.23prpplagueJMunakra: however its more of a culture thing
17:55.45prpplagueJMunakra: EU in general has more liberal attitudes towards drug usage
17:56.03JMunakrai just signed at Apple Computers. I heard nothing about a drug screening there....
17:56.32JMunakrayet, hah
17:56.54JMunakraNo, it's more of a "the company owns you" thing IMHO
17:57.13prpplagueJMunakra: hehe, i could not say about apple, but i know IBM, HP, TI, and AMD all require screening
17:58.02prpplagueJMunakra: hehe, like i said, not a big deal for me as i don't use illegal drugs
19:11.40*** join/#openjtag beewoolie-away (~beewoolie@florence.buici.com)
19:21.27prpplaguewahoo, the bee has arrived
20:26.52*** join/#openjtag JMunakra (~JMunakra@dsl-084-059-202-087.arcor-ip.net)
22:19.22*** join/#openjtag dyoung (~dyoung@dyoung.nslu2-linux)
23:14.46*** join/#openjtag dyoung (~dyoung@dyoung.nslu2-linux)
23:20.49*** join/#openjtag dyoung (~dyoung@dyoung.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.