Building USB emulator
2005-12-14 by householder_lpc
Yahoo Groups archive
Index last updated: 2026-04-28 23:31 UTC
Thread
2005-12-14 by householder_lpc
I'm searching for information on the working of an emulator. What would it take to make a Wiggler type emulator, but using the USB port in stead of the parallel port... Which software would I need on the host side (in addition to a USB driver) to be able to debug from standard debugging tools? Is RDI interesting for this? Thank you.
2005-12-14 by haare_in_der_dusche
> I'm searching for information on the working of an emulator. > > What would it take to make a Wiggler type emulator, but using the USB > port in stead of the parallel port... Which software would I need on > the host side (in addition to a USB driver) to be able to debug from > standard debugging tools? Is RDI interesting for this? An interesting approach is done here http://www-user.tu-chemnitz.de/~heha/bastelecke/Rund%20um%20den%20PC/USB2LPT/index.html.en This is a USB-parallel adapter which comes with a Windows device driver, that hooks into direct I/O accesses to the parallel port. Thus a standard Wiggler ought to work when attached to this device, albeit a tad slowly when reading data. I've not yet had time to test this. When developing a "true" USB solution, the MPSSE embedded in the FTDI FT2232C should be an interesting starting point, given that there is software provided for JTAG access: http://www.ftdichip.com/Projects/MPSSE/FTCJTAG.htm This I presume to be more interesting and time-worthy than mere bit-banging. ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
2005-12-14 by khachsat
--- In lpc2000@yahoogroups.com, "householder_lpc" <nieuw_bericht@h...> wrote: > > I'm searching for information on the working of an emulator. > > What would it take to make a Wiggler type emulator, but using the USB > port in stead of the parallel port... Which software would I need on > the host side (in addition to a USB driver) to be able to debug from > standard debugging tools? Is RDI interesting for this? > > Thank you. > Some russians create USB emulator named MTlink, compatible with Jlink and used the same DLL and driver for communication (JLinkARM.dll). This device is based on ARM core, not M16c core like original Jlink. So, cloning is possible, but I do not clear about legallity of that.
2005-12-14 by George M. Gallant, Jr.
Where are the specs? I could envision using an 8-bit micro with an embedded usb port to bit/bang the jtag pins. I have a similar device (serial) that drives a Motorola 68332 BDM. George George On Wed, 2005-12-14 at 13:53 +0000, khachsat wrote: > --- In lpc2000@yahoogroups.com, "householder_lpc" > <nieuw_bericht@h...> > wrote: > > > > I'm searching for information on the working of an emulator. > > > > What would it take to make a Wiggler type emulator, but using the > USB > > port in stead of the parallel port... Which software would I need on > > the host side (in addition to a USB driver) to be able to debug from > > standard debugging tools? Is RDI interesting for this? > > > > Thank you. > > > Some russians create USB emulator named MTlink, compatible with Jlink > and used the same DLL and driver for communication (JLinkARM.dll). > This device is based on ARM core, not M16c core like original Jlink. > So, cloning is possible, but I do not clear about legallity of that. > > > > > > > SPONSORED LINKS > > Microprocessor > Microcontrollers > Pic microcontrollers > 8051 microprocessor > > > > ______________________________________________________________________ > YAHOO! GROUPS LINKS > > > 1. Visit your group "lpc2000" on the web. > > 2. To unsubscribe from this group, send an email to: > lpc2000-unsubscribe@yahoogroups.com > > 3. Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service. > > > > ______________________________________________________________________ > > [Non-text portions of this message have been removed]
2005-12-14 by householder_lpc
--- In lpc2000@yahoogroups.com, "khachsat" <khach@i...> wrote: > > --- In lpc2000@yahoogroups.com, "householder_lpc" <nieuw_bericht@h...> > wrote: > > > > I'm searching for information on the working of an emulator. > > > > What would it take to make a Wiggler type emulator, but using the USB > > port in stead of the parallel port... Which software would I need on > > the host side (in addition to a USB driver) to be able to debug from > > standard debugging tools? Is RDI interesting for this? > > > > Thank you. > > > Some russians create USB emulator named MTlink, compatible with Jlink > and used the same DLL and driver for communication (JLinkARM.dll). > This device is based on ARM core, not M16c core like original Jlink. > So, cloning is possible, but I do not clear about legallity of that. > I don't seem to find this MTlink. Is information on it available anywhere on the web? Thanks a lot.
2005-12-14 by householder_lpc
The spec is a level of performance that is significantly higher than Wiggler-based debugging. It would seem interesting to use an LPC with a USB controller as JTAG emulator, LPC2142 or so. The thing I'm not sure about is what the reference points are. What kind of traffic is there between emulator and target? What kind of traffic is there between host usb driver and usb-based emulator? What kind of software is needed between host usb driver and the debugger? What kind of traffic is there between the debugger and this program? With "what kind of traffic", I mean, what protocol is used between these "application layers"... --- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." <ggallant571@c...> wrote:
> > Where are the specs? I could envision using an 8-bit micro with an > embedded usb > port to bit/bang the jtag pins. I have a similar device (serial) that > drives a Motorola > 68332 BDM. > > George > > George > On Wed, 2005-12-14 at 13:53 +0000, khachsat wrote: > > > --- In lpc2000@yahoogroups.com, "householder_lpc" > > <nieuw_bericht@h...> > > wrote: > > > > > > I'm searching for information on the working of an emulator. > > > > > > What would it take to make a Wiggler type emulator, but using the > > USB > > > port in stead of the parallel port... Which software would I need on > > > the host side (in addition to a USB driver) to be able to debug from > > > standard debugging tools? Is RDI interesting for this? > > > > > > Thank you. > > > > > Some russians create USB emulator named MTlink, compatible with Jlink > > and used the same DLL and driver for communication (JLinkARM.dll). > > This device is based on ARM core, not M16c core like original Jlink. > > So, cloning is possible, but I do not clear about legallity of that. > > > > > > > > > > > > > > SPONSORED LINKS > > > > Microprocessor > > Microcontrollers > > Pic microcontrollers > > 8051 microprocessor > > > > > > > > ______________________________________________________________________ > > YAHOO! GROUPS LINKS > > > > > > 1. Visit your group "lpc2000" on the web. > > > > 2. To unsubscribe from this group, send an email to: > > lpc2000-unsubscribe@yahoogroups.com > > > > 3. Your use of Yahoo! Groups is subject to the Yahoo! Terms of > > Service. > > > > > > > > ______________________________________________________________________ > > > > > > > [Non-text portions of this message have been removed] >
2005-12-14 by theothervmax
MT-Link's manufacturer web site: www.mt-system.ru It's all in russian though. MT-Link is a functional analogue of J-Link and costs $70. Regards, Max Volkov --- In lpc2000@yahoogroups.com, "householder_lpc" <nieuw_bericht@h...> wrote:
> > --- In lpc2000@yahoogroups.com, "khachsat" <khach@i...> wrote: > > > > --- In lpc2000@yahoogroups.com, "householder_lpc" <nieuw_bericht@h...> > > wrote: > > > > > > I'm searching for information on the working of an emulator. > > > > > > What would it take to make a Wiggler type emulator, but using the USB > > > port in stead of the parallel port... Which software would I need on > > > the host side (in addition to a USB driver) to be able to debug from > > > standard debugging tools? Is RDI interesting for this? > > > > > > Thank you. > > > > > Some russians create USB emulator named MTlink, compatible with Jlink > > and used the same DLL and driver for communication (JLinkARM.dll). > > This device is based on ARM core, not M16c core like original Jlink. > > So, cloning is possible, but I do not clear about legallity of that. > > > > I don't seem to find this MTlink. Is information on it available > anywhere on the web? > > Thanks a lot. >
2005-12-14 by Dominic Rath
When I tested bitbanging on a LPC2294, I were able to toggle bits at around 15mhz - each access to a gpio set/clear register took 2 cycles. That's without serving usb (no idea how expensive this is on lpc devices), and without any processing, loop handling, and so on. I wouldn't use bitbanging - use a small cpld as a serial shift register, that would be way faster. Emulator -> Target: Totally target dependant, the ARM7 TRM has information on how to debug these devices. Usb-driver -> Usb-based-emulator: Totally dependant on the design. You could bitbang, which would be awfully slow at ms latencies. You could define a high-level jtag interface, in that case you would transfer your jtag commands. Or you implement all debugging inside the emulator, then your traffic is whatever protocol you use, GDB, RDI, Telnet. Everything else also depends on these choices. Regards, Dominic
On Wednesday 14 December 2005 16:31, householder_lpc wrote: > The spec is a level of performance that is significantly higher than > Wiggler-based debugging. > > It would seem interesting to use an LPC with a USB controller as JTAG > emulator, LPC2142 or so. > > The thing I'm not sure about is what the reference points are. > > What kind of traffic is there between emulator and target? > What kind of traffic is there between host usb driver and usb-based > emulator? > What kind of software is needed between host usb driver and the debugger? > What kind of traffic is there between the debugger and this program? > > With "what kind of traffic", I mean, what protocol is used between > these "application layers"... > >