**** BEGIN LOGGING AT Thu May 14 02:59:57 2009 May 14 14:34:55 hmm. I have an olimex jtag tiny and an amontec jtagkey here and can get the olimex working on pxa, but not the jtagkey May 14 14:35:36 Is there a way to set the CPUTAPID to be a choice of values. I have two different CPU revisions here so can get 49265013 or 79265013 May 14 14:36:01 both are valid, but I don't see how to set that one bit is 'don't care' May 14 14:36:39 And I have some PXA patches which are still needed in latest svn. Guess I'd better send them in May 14 18:40:49 hello, I'm haveing where mdw and mww are working fine with an external SDRAM, but load_image keeps failing May 14 18:47:38 I meant to say "... I'm having an issue where..." May 14 18:58:15 jtag interface type ? , revision ? jtag khz ? target ? and image size ? May 14 19:50:22 mib_1a2ttd, I'm using the signalyzer from xverve, svn version 1602, I've been using 500kHz, but I tried it down to 50kHz, the redboot image is 169k May 14 20:20:04 Can I read and program a Lattice PLD with UrJTAG? May 14 20:21:23 I found a PLD JTAG connector on a network switch and there are two 'Device Id: 00000001100000010001000001000011 (0x0000000001811043)' behind it, and I'm curious whats inside of it. ;) May 14 20:30:29 wookey_: were you speaking of openocd? May 14 20:42:31 Zoiah: i cannot speak of UrJTAG, but OpenOCD has some PLD support. That said, i have not used that support, so i am not sure if it will work either :) May 14 20:44:20 zwelch: I found some PLDs in data/lattice May 14 20:44:32 zwelch: but how to do anything with it, I dunno. ;) May 14 20:44:53 zwelch: it does not initbus and it cannot detectflash. Which is reasonble, but I have no clue what else to do. ;) May 14 20:45:22 i have not used urjtag, just openocd. i got a copy of its svn, but I have not had time to investigate it May 14 20:46:28 beyond that, my experience with PLDs and JTAG is limited to non-existent May 14 20:46:55 but i wish i could help. sound like fun :) May 14 20:48:17 http://74.125.77.132/search?q=cache:M8oEgCbyNqYJ:www.latticesemi.us/dynamic/view_document.cfm%3Fdocument_id%3D22446+01811043 May 14 20:49:38 Same here. May 14 20:49:41 I have no clue what I'm doig. ;) May 14 20:50:03 I found two JTAG chains. May 14 20:50:13 One with PPC COP pinout and I find a MPC8245 there. May 14 20:50:26 And one with PLD pingout and I find two Lattice PLDs there. May 14 20:50:59 But on the former I can't 'detectflash' an eeprom. May 14 20:54:46 you probably need to convert that bdsl into urjtag config May 14 20:55:13 they have one for LC4128C so shouldn't be hard May 14 20:56:47 roxfan: and then what? I can't find anything about PLDs in the UrJTAG documentation. May 14 20:57:16 good question :) May 14 21:00:16 the bdsl mentions ISC_READ which can probably be used to read internal memort May 14 21:02:23 apparently that's a part of ieee 1532 May 14 21:02:47 http://www.goepelusa.com/downloads/EPPEurope0101.pdf May 14 21:03:50 i don't think urjtag supports that on high level so you'll probably need to issue manual commands or something... May 14 21:04:46 hmm http://www.xilinx.com/support/answers/10759.htm May 14 21:12:46 Sounds hard. ;) May 14 21:13:11 No: "readpld 0x00000000 0xffffffff foobar"? ;) May 14 21:13:52 i think for programming you could use [x]svf player May 14 21:14:00 but not sure if it can read too May 14 21:17:45 hmm looks like jdrive can do it May 14 21:17:47 b. The -DATA_ISC command file option generates an ISC data file from a read May 14 21:17:47 action using the output operator in the flow. May 14 22:43:32 does that PLD device have any protection bits? i would be somewhat surprised if a network switch used a part that didn't May 14 22:43:59 if those bits are set (and it would be major SNAFU if they aren't), you will probably be unable to read the device's program May 14 22:44:45 alternatively, could they be loaded at runtime by the main processor? May 14 22:45:08 if that's the case, the program you are looking for won't even be on the device until its running May 14 22:45:19 just some thoughts May 14 22:45:29 * zwelch shrugs and wanders back to his e-mail engineering May 14 23:06:22 ^^ May 14 23:07:32 humm ... I really have to check out the newest version ... and if everything still works ... and finally test the gdb support for stm32 :/ May 14 23:07:36 always so much to do May 14 23:08:03 i hope it still works for you May 14 23:08:14 my impression is that things are stable again May 14 23:08:26 yes and if not I will write a patch as I did before ^^ May 14 23:08:39 yup :) May 14 23:08:49 such are always appreciated :) May 14 23:09:26 well ... as the code on the stm gets more and more complicated the more of the openocd functionality is appreciated ^^ May 14 23:09:45 only this way one can really test that stuff if you ask me May 14 23:10:31 or no ... one could make tests for all possible stuff ... May 14 23:10:54 yeah, i learned the power of jtag years ago, and it impressed me enough to make me want to work on this kind of project someday May 14 23:10:55 but I automatically test it using it for what I do ^^ May 14 23:11:49 learning about openocd has opened my eyes even further, and i am even more interested in it May 14 23:12:29 well learning more about openocd is still on my todo list ^^ May 14 23:12:38 I am currently only a humble user. ;) May 14 23:15:53 ok ... I really should go to bed now ... May 14 23:16:03 * zwelch nods May 14 23:16:12 n8 zwelch May 14 23:16:15 for once, i am the one who has the sun outside :) May 14 23:16:20 * zwelch waves May 14 23:16:25 hehe ^^ May 14 23:16:29 cu **** ENDING LOGGING AT Fri May 15 02:59:58 2009