irclog2html for #openjtag on 20060121

00:20.47vmaster[g2]: parallel as in "PC parallel port"?
00:25.20[g2]vmaster yes Parallel on S3
00:25.35[g2]lennert you get one free
00:25.37[g2];)
00:27.23vmasteri have a parallel port to cpld dongle here, and the limiting factor is the parallel port access times - even using epp accesses, you wont achieve more than 1 to 1.5 us per access
01:19.28*** join/#openjtag vmaster_ (i=vmaster@p549B701B.dip.t-dialin.net)
01:30.13[g2]vmaster I think FPGA has it's own clock
01:30.30[g2]I'm pretty sure it runs at least at 8MHz
01:30.36[g2]for TCLK
01:54.46*** join/#openjtag Tiersten (n=tman@nslu2-linux/Tiersten)
02:49.03beewoolie-afk[g2]: Neato.
02:49.23beewoolie-afkIs this the one that gateworks sells?
02:49.48beewoolie-afklennert: Hey.  The question I had was whether or not sid was good on the slug.
02:50.45[g2]beewoolie-afk not yet
02:51.01[g2]beewoolie-afk you're welcome to get one too you know
02:51.08beewoolie-afkReally?  I'd like that.
02:51.20beewoolie-afkI'm making good progress on my JTAG code.
02:51.22[g2]well I sent you your last cable right ?
02:51.28[g2]heh
02:51.41beewoolie-afkI'm using the one from ka6sox at the moment because of the fly leads.
02:51.49[g2]ah
02:51.56beewoolie-afkBut the one you sent is the only one I've used on the slug.
02:52.04[g2]nod
02:52.23beewoolie-afkMy plan is to get this code working for the slug so we can flash over JTAG without having to wait over-night.
02:52.28[g2]Gateworks is writing up their API
02:52.33beewoolie-afkExcellent.
02:52.44beewoolie-afkSo, yes.  I'd like one, too.
02:52.45[g2]then we can compare APIs
02:52.49beewoolie-afk:-)
02:53.19[g2]and I'm sure they can probably do some FGPA tweaks if need be
02:54.26beewoolie-afkIt would help prove the concept.
02:55.56[g2]prove which concept ?
02:56.15beewoolie-afkThe protocol for handling JTAG scanning and testing.
02:57.01beewoolie-afkIf the FPGA can be reprogrammed by someone like me, then I can evaluate protocol enhancements before committing other resources.
03:11.12*** join/#openjtag ByronT (n=byron-po@nslu2-linux/ByronT)
03:17.24[g2]I'd think the FPGA could be reporgrammed
03:17.37[g2]clearly that'd be what we want
03:18.09[g2]get a default bitsteram (or what ever they are called) which conforms to the API
03:18.28[g2]and then we can reflash the flasher
03:18.51[g2]test or reset it back to the original
03:19.17[g2]they could come with the digilent cable which can reflash the flasher :)
03:22.12beewoolie-afkSounds kinda dirty.
03:31.25[g2]well boot strapping is always dirty
03:32.01[g2]having a eeprom on the adapter with an option to override the loading is another option
03:52.15*** join/#openjtag bullet (n=bullet@180.48.77.83.cust.bluewin.ch)
04:17.56AchiestDragonwell ram bandwidth on the high speed adaptor is not going to be a problem ,  16 bit  read or write cycles of upto 167mhz , looks like its if the fpga will be able to drive it that fast
04:24.27[g2]AchiestDragon I dunno how big the BlockRAM is on the S3
04:24.36[g2]I'd image stuff may be in there
04:25.31AchiestDragonthats not the block ram thats the external 32mb sdram chips max speed
04:25.48[g2]ah
04:28.14AchiestDragonif the fpga was fast enough that would allow it to burst the full 32mb at  2Ghz
04:28.24AchiestDragonon the jtag
04:29.45AchiestDragonbut should easy cope with 40Mhz , maybe even upto 160Mhz  
04:29.46[g2]That'd be sweet :)
04:30.47AchiestDragonit also would give us a 160Mhz 16bit logic analizer capability
04:34.00AchiestDragona bit more usefull than a logic probe for debuging with
05:01.08*** join/#openjtag velinp (n=velinp@c88-163.cable.netissat.bg)
05:06.14velinpgoog morning from BG; ka6sox: ping
05:07.49*** join/#openjtag ka6sox (n=ka6sox@nslu2-linux/ka6sox)
05:08.36velinpgood morning from .bg :) ka6sox: ping
05:08.45ka6soxmorning
05:09.09velinphi, are you managing bob and wendy?
05:09.39ka6soxthe base system but not the buildd..that is yoe.
05:11.48velinpok, I was looking what the buildds are doing; (mine is stuck with doxygen_1.4.6-1; I noticed "vfork: Cannot allocate memory" on wendy, building gcj-4.0_4.0.2-6
05:12.46ka6soxthen its run out of Memory again...bob has been idle for 2 weeks.
05:13.10velinpso i though maybe more virtmem is necessary; on velnas i have 32 + 176; have any idea how much mem we shoud have ?
05:13.19velinps/though/thought/
05:14.00ka6soxwe acutally put up about 512MB on Bob and it grunted thru building gcc
05:14.28velinp512 swap not enough for gcc ?
05:16.19ka6soxnope
05:16.48ka6soxI think that eventually we used about 800MB
05:17.33velinpok, i will setup 1G on velnas, in some file; btw, wouter fixed compilers, etc on velnas, but a reboot was necessary so that buildd starts again
05:18.14ka6soxokay I'll try restarting Bob
05:20.10velinpwouter said it should be safe
05:21.12ka6soxokay it restarted...takes a few minutes to start the process
05:22.06velinpon nslu2, there are /dev/mtdblock[0-5], redboot in 0; is partitioning the flash a stricture in it, or just a convention (between humans) ?
05:24.35ka6soxI think that redboot has to be there. but the rest is negotiated.
05:25.36ka6soxin the base partition.
05:25.47velinpabout bob: i waited for buildd-watcher (cron 0,20,40) to restart the buildd by itself;
05:27.07velinpthe strataflash has a base partition (like harddisks?) where the structure is defined?
05:30.19ka6soxbest to ask this in #nslu2-linux
05:31.33velinpok, thanks; nice evening to you :)
05:32.57ka6soxthanks..have a good day.
05:33.35velinpbye; see you later (when I finally have the hdw modified; friend said (maybe) next week :)
05:34.09AchiestDragon:)
05:35.22ka6soxcool
06:12.37*** join/#openjtag dot (n=ka6sox@netblock-68-183-62-135.dslextreme.com)
09:38.45*** join/#openjtag dwery (n=dwery@nslu2-linux/dwery)
10:52.20lennert[g2]: ok, cool :)
10:53.55lennertvelinp: you know that 'velnias' is lithuanian for 'devil'? :)
10:54.05lennerti missed beewoolie again.. darn
11:02.00velinplennert: oops! I think to rename it immediately :)
11:04.11velinplennert: debian did tell me to stay with composers, but I didn't listen ...
11:04.26lennerthehe
11:04.29lennertso what is velnas?
11:06.42velinplennert: it's the name of an armeb buildd I feed, but don't touch; http://unstable.buildd.net/buildd/armeb_Building.html
11:07.04lennerti know
11:07.08lennertbut what does the word mean?
11:07.10lennertis it bulgarian?
11:08.20velinplennert: no; it's just compesed on my name and a NAS; i didn't exepect this name to go outside the house; i also have velrtr,velnbk,vldnbk ...
11:08.41lennertah, i see
11:08.56lennertlike lenbox
11:10.14velinplike lenbox :) had a talk with NAiL on nslu2-linux; he could make good use of jtag-base memtester; know something available (nslu2 or generic)?
11:10.39lennertno, dunno, sorry
11:10.58lennerti would also like to run a jtag memory test over my slug, because it has some memory problems
11:11.13lennertif i can find out which page is broken i can just have that page excluded and use it normally
11:12.46velinpwell, I had a slug with bad ram ~10 months ago; i used memtester (by Charles Cazabon); memtester is also in debian/unstable; it's a cute little program
11:13.06lennertokay, but that needs to run from the os, right?
11:14.27velinpyes; i cross-compiled and run under openslug/unslug?? in my case it was a problem that showed randomly and was in high ram, so I could play
11:15.21lennertok, so, you have it isolated now?
11:16.18velinpbetter, supplier changed it for my current one;
11:16.32lennertah, okay
11:16.45lennertmine is heavily modified (serial, jtag) so i doubt i still have warranty
11:17.32velinpso we seem to have a task at hand: spend some effort on a jtag-based memtester ??
11:17.39lennertyeah
11:17.47lennertget the jtag api and hardware working first, though ;)
11:18.02lennertit's probably possible to make a memory tester with vmaster's stuff
11:20.06velinpi meant if a jtag library is available, it should not be very difficult to modify memtester to test via jtag; speed is a problem; what is vmaster's stuff ?
11:20.21lennertwell, you cannot drive SDRAM chips via jtag directly, i think
11:20.27lennertas you have to get the clocking right
11:20.42lennertso, you'll have to program the cpu to load a tiny memory tester into its instruction cache
11:21.00lennertvmaster's stuff is 'openocd', 'open on-chip debugger' (if i understood it correctly)
11:21.20lennerthe gave a link about it..   openocd.berlios.de ?
11:21.58velinpit is; thanks; /me reading ...
11:24.13lennerthehe
11:42.50vmastermy stuff is still arm7/9 only, the xscale on the nslu2 is totally different as far as debug is concerned
11:47.32velinpvmaster: hi; lennert just opened my eyes to http://openocd.berlios.de/web/ ; it is still possible to jtag-upload small (~2K) machine code into xscale and execute it there, isn't it ?
11:49.33vmasterthat's how xscale debugger work, yeah
11:49.49vmasterhttp://lapwww.epfl.ch/dev/arm/jelie/index.php
11:49.58vmasterthat's the only open xscale debugger i know
11:50.14lennert!linkurl
11:50.23vmaster?
11:52.14velinpvmaster: thanks; i will need some time to digest that; it's cool :)
11:52.56vmastergotta take the dogs for a walk... later
12:23.09*** part/#openjtag velinp (n=velinp@c88-163.cable.netissat.bg)
12:59.31*** join/#openjtag key2 (n=key2@gob75-2-81-56-64-17.fbx.proxad.net)
14:48.22*** join/#openjtag velinp (n=velinp@c88-163.cable.netissat.bg)
16:41.43*** join/#openjtag bullet (n=bullet@46.60.62.81.cust.bluewin.ch)
17:03.25*** join/#openjtag toi (n=pleemans@d5152D12D.access.telenet.be)
17:03.34[g2]any users of flash_erase or flash_eraseall ?
19:27.13ka6soxvmaster, back from dog walking?
19:28.38vmasterheh, yeah
19:31.51ka6soxonly 8hrs ago! :)
19:32.30ka6soxhow fast does the jtag need to go to do debugging on the ARM7/9 targets you are working on?
19:33.06vmasterwriting 128kb of target ram requires 3.5 million tck cycles - the faster the better
19:34.31ka6soxouch
19:34.33vmasterthe at91rm9200 (a arm920t hard core) for example allows up to 50mhz tck rate
19:34.53vmasterthe 3.5 million is for the arm7, an arm9 is about 1/3 more
19:35.03lennertthe ppc405 in the v2pro can allegedly do jtag up to half of its clock rate
19:35.08lennertso for a 400mhz ppc405 that'd be 200mhz
19:35.08ka6soxwhat is the fastest rate of tclk that you have seen it a device?
19:35.18ka6soxwhoa
19:35.42ka6soxokay maybe we are going to need to re-think the tclk scheme.
19:37.32ka6soxwith the rise of faster cores that are able to be clocked faster than the CPLD/FPGA's that I'm used to playing with.
19:38.03ka6soxI don't think that unless we use DDR that we can get those kind of speeds.
19:39.34ka6soxAchiestDragon, is that even possible for us?
19:40.07ka6soxoh wait...thats 200Mb/s
19:40.17vmasterka6sox: 50mhz would already be very good, i guess
19:40.45ka6soxwe are looking at 40mhz but I'm sure that we could ramp it up.
19:46.40ka6soxit sure would be nice to be able to write redboot faster and do some debugging.
19:55.41wookey_anyone got some gerbers for parallel port wigglers?
19:55.50wookey_(open ones I can just build?)
19:56.05wookey_we can't get the chip for the Lart JTAG any more
19:56.55AchiestDragonwookey_:  a parallel port jtag
19:58.22wookey_and much smore software is written for the wiggler pinout
19:58.34wookey_AchiestDragon: yep
19:58.53wookey_we made a load of LART/Tux Jtags but have run out.
19:59.17wookey_I reckon moving to the wiggler design maes sense if we are going to dso something new
20:01.22AchiestDragonwhas the chip type that you cant get
20:02.07wookey_74AHC541 IIRC
20:03.30AchiestDragontry a diferent supplyer  
20:03.44AchiestDragonor manufacturer
20:04.08wookey_You think those should still be available? I understand we tried quite hard...
20:04.44wookey_but the point is that we ought to change to a more standard device anyway -having a unique JTAG device doesn't really help anyonhe
20:05.52lennertavnet has them listed
20:05.53lennertbut no stock
20:05.58AchiestDragonif not a odd , level translator type then maybe even the 74hc , 74hct  type or 74f ,74act should be pin compatable , but gives slighty diferent max speed , at 6mhz paralell port speed should be ok
20:06.00lennertwookey_: check www.em.avnet.com
20:06.45vmasterwookey_: http://mmd.ath.cx/jtag.zip
20:06.57vmasterthat file is from the lpc2000 yahoo group
20:07.49vmasterlike most wiggler clones, it lacks the nTRST connection - you should add that
20:08.34AchiestDragonhttp://uk.farnell.com/jsp/endecaSearch/searchPage2.jsp?No=0&OrgTT=*74*541&Nty=1&N=401%2b1005490&=gensearch&Ntt=*74*541&Ntk=gensearch&comSearch=true
20:09.05lennerthttp://www.semiconductors.philips.com/pip/74AHC541.html ?
20:10.50[g2]wookey_ I'm having a parallel with a Xilinx S3 on board made
20:11.11[g2]I'm gonna get a few and there's a API that's being written up
20:11.21[g2]boards and docu should be ready next week
20:12.22wookey_[g2]: OK - so that could pretend to be a LART or Wiggler JTAG? caoorindg to xilinx code?
20:12.31wookey_that could be tres handy
20:13.24[g2]wookey_ I think I'll have its own interface, but we could probably reprogram it
20:13.37AchiestDragonwookey_:   its a 8 bit buffer , guess if you reworked the diagram you may be able to use a 74xxx254 setting the dir pin for one direction
20:13.55AchiestDragon74xxx245 rather
20:15.30wookey_AchiestDragon: that looks right - I'll tell laurie that his claim you can't get them appears to be bollocks :-)
20:15.52wookey_As you sey it could be reworked to use a different buffer easily
20:16.12wookey_but if we are going to rework I'd go for a different pinout.
20:17.14AchiestDragonnot used them but there are sites on the internet that stock discontinued components (like   2102 rams that have been out of production for 15 years)
20:19.05AchiestDragonbut  the 74 range of chips are pritty standard mostly , and with the exeption of some odd ones most are still avalable in one form or another , or there are equivelents in the series that are
20:21.01[g2]wookey_ I'll bug you in there about the flash
20:21.25wookey_what's the diufferencde between 74AHC and 74HC?
20:21.53AchiestDragonspeed  genaraly    
20:22.33AchiestDragonthe hc is cmos , so low power , the a is for advanced
20:23.05AchiestDragonhc  highspeed cmos
20:23.51ka6soxthe A's are typically more robust.
20:25.08[g2]wookey_ what boot loader are you using with V3 ?
20:31.18wookey_currently bootldr, although I'd like to change to something else if we can find the time
20:33.59ka6soxlunch...bbs
20:40.04[g2]wookey_ RedBoot is probably too bloated for you
20:40.34wookey_probably - it's a plausible option though
20:42.06[g2]wookey_ if we get bewoolie on board he could probably do you an APEX
20:42.29[g2]I'm running with RedBoot now
20:42.55[g2]I'm playing around with updating/replacing it from Linux along with the kernel
20:43.13wookey_the things we need are pxa270 and yaffs support
20:43.13[g2]I can switch between LE and BE systems by just changing the kernel
20:43.36[g2]I haven't played with yaffs
20:43.51[g2]much better than jffs2 ?
20:43.51wookey_it cool (for NAND)
20:43.57[g2]Ah...
20:43.58[g2]nod
20:44.10[g2]the 512 byte sector thing a different animal
20:44.24wookey_much faster and simpler than JFFs2 - but no compression
20:44.42wookey_much easier to include in a bootloader (or other OS) due to simplicity
20:44.42[g2]that's fine NAND is much cheaper than NOR
20:44.59wookey_designed for NAND (jffs2 was originally designed for NOR)
20:45.13[g2]well I don't think jffs2 is hard
20:45.18wookey_YSS" now supports 2K NAND as well as 512Byte nand
20:46.00wookey_[g2]: it's different - you need to reserve more space because you don't know how much space any given bit of data will take up
20:46.10wookey_(due to compression)
20:46.23[g2]right and it is unhappy when there are no free blocks
20:46.25wookey_and there is much more code, and it only works with Linux
20:46.34wookey_that's fine for many people
20:47.02[g2]BSD is so 90s
20:47.07wookey_yaffs2 works worst with linux :-(
20:47.13[g2]doh!
20:47.54[g2]so can you replace the bootloader from a running system ?
20:48.11[g2]and kernels/rootfs too
20:48.17wookey_yaffs has been ported to vxworks, wince, eCos, threadx and various in-houes schemes
20:48.22[g2]those should be a lot easier
20:48.57wookey_[g2]: in principle yes, but in practice the botloder lives in NOR and you only use YAFFS for the NAND
20:49.15wookey_(because you can't execute bootloader from (most) NAND chips)
20:49.26[g2]ah... so you are probably in the same boat I'm in
20:50.06[g2]wrt replacing the bootloader on NOR from a live system
21:35.43*** join/#openjtag ByronT-Away (n=byron-po@nslu2-linux/ByronT)
21:53.58*** join/#openjtag [g2-lap] (n=g2@cpe-066-057-008-035.nc.res.rr.com)
21:54.15[g2-lap]AchiestDragon or anyone are you familiar with this ? http://xoscope.sourceforge.net/
22:11.11AchiestDragondont like the gui
22:12.43[g2]AchiestDragon are there other tools you'd recommend that could be used as a front-end ?
22:13.42AchiestDragon? , was looking at the screenshot , just seems to have a lot of popups
22:17.26[g2]AchiestDragon what tools do you think we should use for showing logic and analysis
22:18.23AchiestDragonthay would need writeing
22:24.58[g2]Oh I'm sure there's a bunch of GUI front-ends
22:25.14[g2]we don't need to do everything from scratch

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.