irclog2html for #openjtag on 20051103

02:02.33lennertw00000t
02:02.49lennerti made the xilinx synthesizer segfault
02:02.55lennert=========================================================================
02:02.55lennert*                         Low Level Synthesis                           *
02:02.55lennert=========================================================================
02:02.55lennertmake: *** [destest.ngc] Segmentation fault
02:02.59lennerti rock :P
02:03.01ka6sox-officeha ha ha
02:03.50lennertit's kind of easy, too
02:04.01lennertjust write     blah <= "1111";  outside a process
02:04.10lennertand then inside a process, write  blah <= "0000";
02:05.21ka6sox-officebad bad form :)
02:05.46ka6sox-officelooks like a Bozo No No to me.
02:05.50lennertka6sox-office: i deleted the assignment outside the process but didn't :wq before i resynthesized
02:06.48ka6sox-officeah...that would do it.
02:06.58ka6sox-officemust eat now...back later
04:01.12*** join/#openjtag dot (n=ka6sox@adsl-66-159-198-116.dslextreme.com)
04:12.07key2someone knows a device that could read fast a flash linked to a proc (MIPS) that has a JTAG/EJTAG interface ?
04:13.20ka6soxkey2, a couple of people are working on one the has USB interface :)
04:13.35ka6soxbut its not quite done :)
04:13.44ka6soxvery soon
04:13.46key2like who ?
04:13.52ka6soxep1220
04:14.11key2ka6sox: that's his nick ?
04:14.30ka6soxep1220
04:15.10ka6soxI just received boards today and will be building them tommorrow.
04:15.18ka6soxand then starting testing.
04:16.41ka6soxyou need MIPS and ejtag?
04:17.45key2yeah
04:17.56key2I made also a USB cable for ejtag
04:18.05key2based on the ftdi2232
04:18.13key2and a scenix microcontroller
04:18.20ka6soxthat is what this board is too..but no controller.
04:18.28key2well that's slow then
04:18.32ka6soxjust the 2232.
04:18.42ka6soxhow fast are you looking for?
04:18.46key22232 can perform read/write/readwrite
04:18.55key2but not EJTAG_DMA_ control
04:18.59ka6soxover 6mbits?
04:19.04key2no
04:19.06ka6soxokay I see what you mean
04:19.14key21mb would be great
04:19.23key2but his cable just uses the ftdi lib
04:19.37key2so it's limited to the JTAG function and doesn't really now about ejtag
04:19.55ka6soxthat is where I think that we are going to have to rewrite the libftdi driver.
04:20.13ka6sox(for better jtag control)
04:20.30key2so it's basically slow since everytime he has to send on ReadWrite get the answer and send an other one so it's not worth using USB for that
04:20.56key2it's not really possible and even if it was, it would't help
04:21.10key2since in ejtag, you have to wait untill some flags are set
04:21.16key2so basically u have to read non stop
04:21.23ka6soxk
04:21.24key2untill you get the value you were looking for
04:21.37ka6soxso you have to do a comparison then?
04:21.41key2but everytime you do a READ, you send a usb frame of 4096 byte and only 32 of them are usefull
04:21.53key2yeah
04:22.03key2that's why I was using a Scenix microcontroller
04:22.31key2http://www.parallax.com/detail.asp?product_id=SX48BD
04:22.37ka6soxI was interested in using a Pic micro.
04:22.45key2pic are too slow
04:22.59key2look at the price of those one
04:23.38ka6sox20 MIPS is too slow?
04:23.54key2yeah
04:24.00key275Mips is already too slow
04:25.08key26mb/s = 750kB/s
04:25.56key2and it takes you much more than 100 8bit instructions to do a ejtag_dma_read
04:27.34ka6soxhmmm...
04:28.08ka6soxI thought that ejtag allowed you to set the flags and then just read what you wanted.
04:28.32ka6soxinstead of having to read the stream and wait until what you wanted to come back.
04:28.50ka6soxbrb...putting child to bed.
04:31.23key2no
04:31.33key2everytime you wanna do a ejta_dma_read
04:32.49key2you have to do few ReadWrite()
04:33.00key2then get the EJTAG registers back
04:33.13key2it takes a while
04:33.15key2believe
04:33.18key2believe me
04:42.29ka6soxI do
04:43.43ka6soxsounds like what you need is an Abatron
04:55.22key2I need a very very cheap 32bit microcontroller
04:56.01ka6soxya...but bitbanging 6mb/sec isn't fun.
04:57.07key2yeah
04:57.08key2right now
04:57.17key2it takes me 12s to read 64Kb of memory
04:57.52key2which means 12min to read the whole memory
04:57.56key2tooo slow
04:58.12ka6soxtakes us 40 minutes to write 256kB of bootloader with the IXP420
04:58.40ka6sox(with a wiggler) this tool should get it down to about 6 minutes.
04:59.20key2wigller ?
04:59.30key2what tool shout do it in 6min ?
05:00.33key2i'm scared ending up to do it with a fpga
05:00.54ka6soxthats what I'm playing with...a Spartan3 board.
05:01.04ka6soxit can easily do 6mb/sec
05:01.07ka6soxand do the comp too.
05:01.10key2vhdl or verilog ?
05:01.12ka6soxvhdl
05:01.17ka6sox(xilinx)
05:01.18key2fuck
05:01.21key2prefer verilog
05:01.23key2yeah
05:01.26key2I have one of those board
05:01.33key2Digilent one
05:01.39key2with spartan3
05:01.40ka6soxthats the one.
05:01.45ka6soxand 1MB of memory
05:01.46key2100 bucks
05:01.59key2what do you do in life ?
05:02.21ka6soxBroadcast engineer/Hardware developer
05:02.31ka6sox(and play with VHDL stuffs)
05:02.50key2ok
05:02.56key2normally if I take a small fpga
05:02.57ka6soxyou?
05:03.07key2let's say xc2s familly
05:03.17key2can I make it ?
05:04.21ka6soxwhat TZ are you in?
05:04.27key2TZ ?
05:04.36ka6soxTimezone.
05:04.41key2oh
05:04.43key2paris/fr
05:04.46key2it's 6 am
05:04.49ka6soxmorning.
05:04.54key2AM
05:04.55key2:)
05:04.56key2yeah
05:04.57ka6soxits 9pm here.
05:05.02key2need to sleep
05:05.04ka6soxUTC-8
05:05.07key2u're in california ?
05:05.10ka6soxya
05:05.14key2wherea bout
05:05.19ka6soxSanta Barbara
05:05.23key2oh :)
05:05.28key2i used to live in LA
05:05.29ka6soxexpensive.
05:05.38ka6soxwhere? I grew up in OC.
05:05.54key2west hollywood
05:06.11ka6soxah...what took you to paree?
05:06.24key2paree ?
05:06.39ka6soxparis
05:06.46key2i'm french
05:06.52key2the question should be what took me to la :)
05:06.53ka6soxgood reason.
05:07.02ka6soxokay what took you here?
05:07.08key2a chickj
05:07.10key2-j
05:07.28key2a girl I met here few years ago
05:07.42ka6soxah...did you bring her back?
05:07.52key2fuck no :)
05:08.07ka6soxah...
05:08.18ka6soxI'm here most of the time...
05:08.23key2I had no money there so I was workin in bars, and then I used to fuck around so much with other girls that my relation with her had no sence
05:08.39key2so after I realized that I'm wasting my time there, I came back
05:08.55ka6soxwhat are you doing now?
05:09.09key2engineering..
05:09.12key2in a DSL company
05:09.21ka6soxfun.
05:09.24key2yeah
05:09.36ka6soxthere is a good group here...
05:09.38key2that's what I originally studdied, not bartending :)
05:10.03key2so basically
05:10.12key2I need to make a cable that would be very chip and very fast
05:10.36ka6soxsounds like a S3 or Virtex2 type would do it.
05:10.37key2so since a pic and a scenix won't make it (not fast enough)
05:10.52key2well S3 are first BGA (for most of them)
05:11.03key2then I don't need that amount of gate for just driving a jtag
05:11.09key2so I'm planning on something smaller
05:11.11key2and cheaper
05:11.14ka6soxCPLD?
05:11.21key2no
05:11.23key2small fpga
05:11.27key2like I said
05:11.43ka6soxwhat are you going to feed it with?
05:11.51key2cx2s15 or xc2s30 should make it
05:12.28key2well from one side, I have to take the data, and the type of instruction
05:12.37key2and from the other, I have to read/write on the jtag
05:12.39ka6soxsounds like you dont' need a lot of pins.
05:12.50key2not at all
05:13.20ka6soxI like the Coolrunner II's that I"m now playing with.
05:13.23key2but don't know if I should use a uC with it or if it would be a waste
05:13.36key2how many logical gate?
05:13.47ka6soxsomething like 15K
05:14.33key2I think it's fine
05:14.47key2but don't really know how to implement it
05:16.26ka6sox323MHz parts.
05:20.46ka6soxgotta run now...be back on later...I'm here a lot..unless I"m not :)
06:48.23*** join/#openjtag ep1220 (n=NN@gate.epatec.at)
06:48.36ka6soxmorning ep1220 boards arrived.
06:54.41ep1220ka6sox: hello, hope all went well with Your son's surgery
06:54.56ka6soxep1220, yes..hes finally feeling better.
06:55.04ka6soxalmost a week later :)
06:55.28ep1220good to hear.
06:55.32ka6soxyes.
08:29.50*** join/#openjtag DaKa (n=david@193.13.58.211)
09:20.39lennertka6sox: you have any vhdl to share yet?
09:21.59ka6soxI should have it up by weeks end.
09:22.15ka6soxright now I've got to get a presentation going.
09:34.37lennertokay
09:43.17*** join/#openjtag vmaster_ (i=vmaster@p549B5D28.dip.t-dialin.net)
10:17.54*** join/#openjtag vmaster (i=vmaster@p549B5401.dip.t-dialin.net)
12:01.39key2ep1220? there?
12:01.55ep1220hello
12:04.24key2I heard you made a jtag cable with the ft2232
12:04.26key2?
12:04.38ep1220yes.
12:04.52key2is it fast for ejtag ?
12:05.16ep1220good question :-)
12:05.22key2Because I tryed
12:05.30key2and it's even slower than a // cable
12:06.09ep1220Did You use for debugging or Flashing ?
12:06.10key2since there are someflags and everytime you send a ReadWrite, you have to wait for the answer
12:06.15key2Flashing
12:06.41ep1220latency is a problem for this cable
12:06.59key2I ended up putting my code in a Scenix 75Mips microcontroller
12:07.13key2and right now, for reading 64Kb, it takes me about 16s
12:07.20key2which is the same as the // port
12:08.05ep1220what is the JTAG clock rate you get with then Scenix ?
12:08.47ep1220s/then/the
12:09.26key2well the Scenix is a 75Mips proc
12:09.42key2If I don't put delay between the TCK, the broadcom doesn't even answer
12:09.52key2so I'm faster than the broadcom for that
12:10.10ep1220ok
12:10.22key2but the probleme is that the Scenix is a 8bit proc and I have to convert the instructions to 32Bit so it takes almost 4x more time
12:11.24ep1220can't You use the "delay" time to do some processing, so You hide the 32/8 conversion.
12:15.20ep1220i am not familiar with this uP: how does it connect to the PC ? USB ?
12:18.46key2usb
12:18.58key2it's like a Pic Microchip
12:19.00key2same arch
12:20.28key2brb
12:20.40ep1220k
12:21.02ep1220You do 64Kbyte in 16 seconds .i.e 4000bytes per second
12:21.19key2yeah
12:21.23ep1220= 1 32bit word per USB transfer -> maybe USB is limiting You here
12:22.25ep1220Do you handshake each 32bit word with the host PC ?
12:22.38key2no
12:22.41key2I get a frame
12:22.46key2but I found why it was so slow
12:22.57ep1220i am curious
12:23.09key2let's say I could bring it to 7s for 64kb
12:23.14key2would it be interesting ?
12:24.33key2hold on, I need to reboot
12:24.47key2unless you have a solution for when HyperTerminal is dead and you can't kill it
12:25.07key2brb
12:25.12ep1220sorry, never been there
12:29.26[g2]morning ep1220
12:29.39ep1220morning [g2]
12:29.48[g2]how's the board ?
12:30.13ep1220sofar i am quite happy with it :-)
12:30.28[g2]great!
12:30.42ep1220i can do same things as with my earlier prototype.
12:30.51[g2]excellent
12:31.01[g2]when do they go up for sale ?
12:31.13ep1220Over the weekend i plan to build 3 more.
12:31.47ep1220if these work as well then i think i can sell some.
12:32.04[g2]super
12:32.24[g2]what will they cost ?
12:32.54ep1220i must check my invoices.
12:33.13[g2]you can send me an e-mail later after you check
12:34.14ep1220It also depends a bit on over how many boards I split the setup-cost.
12:34.35ep1220the partscost is in the order of 50$
12:34.50ep1220(excluding PCB)
12:35.27[g2]hey I know you're not doing this to get rich immediately :)
12:35.34*** join/#openjtag key2 (n=key2@gob75-2-81-56-64-17.fbx.proxad.net)
12:35.35key2back
12:35.46key2ep1220: ok it takes me now about 8s to read 64k
12:36.22ep1220key2: a good improvement
12:36.37key2yeah
12:36.39key2but still too much
12:36.56key2I don;t wanna end up doing that with an FPGA since it's gonna cost more
12:37.11key2right now just with the ft2232 and sc, my cable costs about $15
12:37.13key2which is ok
12:37.23[g2]last I checked a Scenix dev kit was _very_ expensive :)
12:37.53ep1220the ft2232C alone is around 15$ in small quantities
12:38.05key2[g2] http://www.parallax.com/detail.asp?product_id=SX28AC/SS
12:38.12key2ep1220: NO
12:38.16key2it's about $5
12:38.53key2http://www.parallax.com/detail.asp?product_id=604-00033
12:38.53key2ok $8
12:38.53key2which is half of what you're announcing
12:39.04[g2]key2 have they released the dev kit's for the Scenix parts ?
12:39.15key2I already made one myself
12:39.23key2so I don't care about their dev kit
12:39.29key2the problem is not that
12:39.47key2the problem is that for reading EJTAG, it still takes too long even at 75Mips since it's a 8bit proc
12:40.30key2so I don't know if it's better to have a cable that can read 4Mb in about 10mins for $15 or 4Mb in about 40s for about $50
12:40.38[g2]key2 so you built your own compiler/toolchains for the ubicom chip ?
12:40.39key2I need some opinion on htat
12:40.58key2g2: no, that's a Microchip PIC core
12:41.11key2so you can use the free one
12:41.12key2..
12:41.50[g2]key2 so there was enough info in the DS to download to the chip and debug too ?
12:41.53key2[g2] otherwise C2C is free
12:41.55key2..
12:42.20ep1220key2: You are right, last time i looked at the FTDI site i tought it was 8GBP
12:42.52[g2]time does fly when one is having fun :)
12:43.13key2but the question is what sould I make, a cable that costs $15 and that reads 4MB in about 10 15 mins or an otherone that costs $50 and reads 4Mb in about 40s
12:44.33[g2]key2 you do EJTAG ?
12:44.40key2yeah
12:44.48key2on JTAG i could read it way faster
12:44.55key2that's for EJTAG (broadcom mips)
12:45.06[g2]yeah. I know
12:45.26key2[g2] so $15 one or $50 one
12:45.29[g2]there's a large number of wrt54g hackers
12:46.10[g2]I've got a couple lying around
12:47.17ep1220key2: if the 15$ one is faster too, this is not  hard to answer
12:47.54[g2]key2 are you focusing on EJTAG or JTAG ?
12:55.10ep1220key2: sorry, i misread Your numbers,: i read 4Mb in 10 seconds not 10 minutes ...
13:00.52*** join/#openjtag prpplague (n=billybob@200.50.80.24)
13:28.09key2yeah
13:28.10key2so ?
13:28.14key2what's the most interesting
13:28.40key2$15 and takes 15mins to read or $50 and it takes 40s
13:29.12ep1220for me the faster one would be worth the extra $
13:30.18ep1220however if just wanted to unbrick a dead device i would buy the 15$ cable
13:33.16ep1220BTW: Are  these prices for completely assembled devices ?
15:12.55*** join/#openjtag bullet (n=bullet@171.17.78.83.cust.bluewin.ch)
18:13.37*** join/#openjtag ka6sox-zzzz (n=ka6sox@netblock-66-159-209-116.dslextreme.com)
22:37.46key2anyone has some experiances with Verilog ?
22:39.26ka6sox-officeVerilog? whats that? *he he*
22:39.31*** join/#openjtag dot (n=ka6sox@netblock-66-159-209-52.dslextreme.com)
22:40.13lennertka6sox-office: it's vhdl for people who hate ada :)
22:40.27key2verilog looks more like C
22:40.32key2and vhdl looks more like ada
22:40.50lennertkey2: yup
22:40.57ka6sox-officeno wonder I like VHDL better.
22:41.05key2How comes
22:41.11lennertka6sox-office doesn't like C
22:41.13key2if you're more familiar with c
22:41.21lennerti like C more than ada, but i still prefer vhdl
22:41.27key2why
22:41.59lennertkey2: probably simply because i'm used to it
22:42.07key2ok
22:42.11key2maybe you could answer me
22:42.23key2if I have a port that is an Input output
22:42.39key2do I have to say that i wanna turn it into input mode or output mode ?
22:43.00key2or is it just considered as a wire and I have to manage to put the right thing behind to manage it
22:43.38lennertkey2: in vhdl, an inout port is a port that is an output, put you can still read the value that you wrote into it yourself
22:43.52lennertkey2: if you want to have a pin that can be both an input and an output, you want a tristate buffer
22:43.59lennertkey2: i dunno if verilog has builtin support for those... :-/
22:44.59key2so basically, you put a tristate FF and with a ChipEnable pin
22:45.07key2and if you wanna write, u enable it
22:45.17key2otherwise you disable it so it's like the pin is in the air
22:45.18key2?
22:51.07lennertkey2: if that's possible, yeah
22:51.14lennertkey2: maybe look in the docs that came with your synthesis tool
22:51.20lennertkey2: that should tell you what you can use
22:51.30lennertkey2: if you use the xilinx webpack, check out xst.pdf
23:01.24key2The inout port in Verilog is analogous to a bi-directional I/O pin on
23:01.24key2the device with the data flow for output versus input being
23:01.24key2controlled by the enable signal to the tristate buffer.
23:01.52lennertokay
23:01.55lennertsounds what you need then
23:02.01key2yeah
23:02.10key2so it's build in
23:02.17lennertgood to know
23:03.36key2but I dunno where is the wire saying it's OutEnable
23:03.46key2module EXAMPLE (A, B, C, D, E);
23:03.46key2input A, B, C;
23:03.46key2output D;
23:03.46key2inout E;
23:03.46key2wire D, E;
23:03.47key2...
23:03.49key2assign E = oe ? A : 1’bz;
23:03.51key2assign D = B & E;
23:03.53key2...
23:03.55key2endmodule
23:04.05key2in this example, where the hell did they declare oe
23:05.12lennertdunno..
23:06.14key2i got an otherone that seams to be clearer
23:06.18key2module test (a, oe, o);
23:06.18key2inout [2:0] a ;
23:06.18key2input [3:0] oe ;
23:06.18key2inout o ;
23:06.18key2wire bus;
23:06.19key2assign bus = oe[2] ? a[2] : 'bz;
23:06.21key2assign bus = oe[1] ? a[1] : 'bz;
23:06.23key2assign bus = oe[0] ? a[0] : 'bz;
23:06.25key2PULLUP i0 (.O(bus));
23:06.27key2PULLUP i1 (.O(a[0]));
23:06.29key2assign o = oe[3] ? bus : 'bz;
23:06.31key2endmodule
23:29.05*** join/#openjtag ByronT (i=ByronT@nslu2-linux/ByronT)

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.