**** BEGIN LOGGING AT Tue Mar 17 02:59:57 2009 Mar 17 04:07:33 http://www.engadget.com/2009/03/16/apple-confirms-presence-of-proprietary-chip-in-shuffle-headphone/ <--- i'll carry about a record player than before I carry an ipod Mar 17 05:56:57 * flyback is going to have to build a dedicated irc box because vnc canucking sucks Mar 17 18:14:45 hey everyone! I'm writing my final graduatition project and it will be a JTAG debugger for the ERESI framework. Right now, I'm on my initial research and need to find out how to start this. I'm planning on do the first version for ARM-JTAG (using LPC-E2124 board, an ARM7TDMI board). I would like know if is there anything such as an open "libjtag" that I could use for this, or if you think that I will have to write it myself - implementing the arm-jtag Mar 17 18:14:46 protocol from scratch. Anyone could help on this or could point me anything/anyone? Mar 17 20:06:59 jeez_: urjtag is planning a libjtag , but why don't you try wokring on something more sexy Mar 17 20:07:13 and combine it with google SoC http://elinux.org/BeagleBoard/Ideas-2009#Open_source_JTAG_debugging Mar 17 21:04:59 keesj: It seems nice ;) but the thing is that I already sent my proposal. And I really want to add this feature to the ERESI framework. After this first board (LPC-E2124) beagleboard will be next. Mar 17 21:17:48 Humm... what about if I use OpenOCD directly? Something like ARM7TDMI <--> LPCE2124 <--> OpenOCD <--> ??INTERFACE?? <--> ERESI Mar 17 21:18:57 just use gdb protocol Mar 17 21:19:20 this way you can reuse for bochs or qemu or vmware or whatnot Mar 17 21:20:15 in ERESI we already have a libgdbwrap, which we use one our KEDBG. We use it for debugging S.O. on QEMU or VmWare Mar 17 21:20:33 well, there you go Mar 17 21:20:54 humm, so OpenOCD interfaces with the GdbProtocol ? Mar 17 21:22:43 http://openocd.berlios.de/doc/GDB-and-OpenOCD.html Mar 17 21:27:08 roxfan: thanks, I was reading it :) Mar 17 21:28:10 so, this is the only way, at this moment, to directly interface with openocd, right? Not even URJTAG has such a lib as a libjtag ? Mar 17 21:29:19 haven't been following urjtag very closely, but i don't think it had anything last year Mar 17 21:30:45 you can also use direct "telnet" interface to openocd but i think gdb might offer a bit more functionality Mar 17 21:31:06 (and you can still issue openocd-specific commands with "monitor" gdb command) Mar 17 21:31:35 roxfan, know anything about amd elan jtagging Mar 17 21:31:43 no Mar 17 21:32:10 you suck Mar 17 21:32:44 you're not very original Mar 17 21:32:46 roxfan: my only regards on this gdb approach is that I think it shall be veryyy slow, right ? I mean, the debugging process Mar 17 21:32:56 is flyback a bot with a "funny" person on the remote console or is this for real ? Mar 17 21:33:06 anyway Mar 17 21:33:07 jeez_: i don't see why Mar 17 21:33:11 blogic, no I am just insane Mar 17 21:33:13 and brain damaged Mar 17 21:33:21 ah ok Mar 17 21:33:23 the actual code runs on the hardware Mar 17 21:33:26 enjoy the ignore list Mar 17 21:33:27 and I was kidding with roxfan it's cool, no one seems to know Mar 17 21:33:32 yeah blogic bite my canuck Mar 17 21:33:37 jtag just controls it Mar 17 21:34:16 well, you can do flashing using jtag and that's gonna be slow whether through gdb or via other ways Mar 17 21:34:46 roxfan: humm, I see. Would it be very hard to develop a libjtag in a month or so?! Because if you don't think so, I could think about coding it as a contribution to openocd or urjtag... Off course, if I decide not to use the gdb protocol wrapper instead. ;) Mar 17 21:35:08 no flashing! just debugging! Mar 17 21:35:46 well i don't know... depends on what you'd want this lib to do Mar 17 21:36:21 just controlling the signals is probably easy... a high-level tap interface might be a bit harder Mar 17 21:36:53 and then there's the question of plugging it into openocd and/or urjtag codebase Mar 17 21:38:06 (and whether the maintainers like whatever you've made) Mar 17 21:41:02 yes, I see. Well, in summary, I want to access the on-chip debug module using the JTAG (arm-jtag) interface. By doing this, I want to use the ERESI framework to write a jtag debugger. I need a way to interface JTAG and ERESI. This lib would be this interface Mar 17 21:41:22 or OpenOCD through the GDB protocol Mar 17 21:44:26 what's the difference between gdb and jtag program Mar 17 21:48:49 I'll bring this discussion to the openOCD Mailing list also... see what they think about this whole libjtag thing. ;) Mar 17 22:08:48 * flyback bbl Mar 17 22:39:19 * flyback bbl Mar 17 23:46:03 * flyback hates canucking floppies **** ENDING LOGGING AT Wed Mar 18 02:59:56 2009