**** BEGIN LOGGING AT Sun Apr 11 02:59:56 2010 Apr 11 10:34:15 http://hackerspace.be/JTAG_pinout_detector Apr 11 12:59:31 zoobab, assumes you know TDO? Apr 11 13:52:34 TDO? Apr 11 13:52:41 no Apr 11 13:52:49 you don't need to know TDO Apr 11 13:52:59 TDO has to be within the pins Apr 11 13:55:19 another one: http://www.openrce.org/blog/view/1546/JTAG_Enumeration_(tool) Apr 11 14:17:00 Are there any limits on driving TDO accidentally? Apr 11 14:22:22 I saw another design to do this, I think with a PIC a few years ago. Apr 11 14:24:03 I keep thinking a better way to do this involves resistors and looking for a drop in impedence when nTRST goes high. Apr 11 14:35:16 i doubt you'll break anything if you just drive it as normal gpio Apr 11 14:36:05 i wrote my own jtag finder a couple of years ago, worked fine (pxa255 cpu) Apr 11 14:47:31 where is it? Apr 11 14:47:33 url? Apr 11 14:48:55 i haven't put it up anywhere Apr 11 14:49:20 it was a one-use program anyway Apr 11 14:54:16 http://pastie.org/914145 <- try_id() is the main routine Apr 11 15:21:29 I usually start my stuff by modifying "hello world" too. Maybe everyone does. Apr 11 15:23:02 I just worked on a design that has a BF518F and an LPC2103 together Apr 11 15:23:17 common jtag chain, but I have since discovered that i need to use two separate jtag units with them :-) Apr 11 15:24:46 Haha, each one with the other set to bypass? Apr 11 15:29:34 no, I should be able to configure both jtag tools to ignore the other Apr 11 15:29:41 I just can't use one tool to access both Apr 11 15:30:13 I have a gnice+ for the bf518f (it's first on the chain), and use urjtag to use it, and then an olimex arm-usb to handle the lpc Apr 11 15:31:02 I may be able to get openjtag to twiddle the gnice+, it's an ftdi2232 based deivce like almsot everything else and I *only need jtag capability to load uboot into L1 and then flash the parallel flash Apr 11 15:32:21 I might also be able to get openjtag to allow me to use gdb with the gnice+ on the bfin, but that's so far not been a requirement Apr 11 15:33:18 That's what I mean, you have one bit of software that forces that hardware to be either arm or blackfin. So to use the chain you put the other device in bypass. Apr 11 15:33:34 You are using boundary scan on blackfin? Apr 11 15:34:58 oh yes I see what your'e saying now. Apr 11 15:35:49 if I want to load the arallel flash from jtag, yes I'll need boundary scan. I *think* (I don't have my notes in front of me atm) that I can program L1 and get uboot in there without it though Apr 11 15:36:23 I don't recall if the bfin internal registers have to be accessed from boundary scan or if there are a few TAP registers in there for it Apr 11 15:36:36 (i.e. from some internal debug system) Apr 11 15:37:22 I think it has internal debug, but I've never used blackfin. Apr 11 15:38:00 Just turned up and look briefly through documents when looking for debug protocols on other chips. Apr 11 16:14:26 openocd doesn't do boundary scan Apr 11 16:14:50 well, maybe you could count svf/xsvf support for that... **** ENDING LOGGING AT Mon Apr 12 02:59:56 2010