Hello colleagues, I have been able to get my board to communicate with H-JTAG and loaded a program to check the working. I wish to use the de-bugging facility provided with this tool with the WinARM toolchain. Can anyone point me to some documentation(preferable cookbookish :)) I can use to get started? TIA Thomas F
Thomas Fernando wrote: > I have been able to get my board to communicate with H-JTAG and loaded a > program to check the working. > I wish to use the de-bugging facility provided with this tool with the > WinARM toolchain. > Can anyone point me to some documentation(preferable cookbookish :)) I > can use to get started? At least the last time I looked at H-JTAG the only debugger-"API" was a RDI-interface provided by a DLL. I'm not sure if the gdb included in the WinARM packages can talk to a "RDI-dll" as in H-JTAG, but I don't think so. You may try the Codesourcery G++ lite package. There is a binary included in this package, I do not recall the exact filename but it should be something like *-sprite.exe. IRC this can be configured to use a RDI-dll and should provide a gdb-server. Sorry, not "cookbokish" but hopefully a hint in the right direction - I have not tested this myself. There is some documentation in the Codesourcery package. As an alternative take a look at OpenOCD, it offers a gdb-server and can "talk" to Wiggler-type JTAG-interfaces.
Hi Martin, I assumed that since H-JTAG was bundled in utils , someone had done the needful. I anyway downloaded it from twentyone's blog. Thanks for responding. Regards Thomas Martin Thomas wrote: > Thomas Fernando wrote: > >> I have been able to get my board to communicate with H-JTAG and loaded a >> program to check the working. >> I wish to use the de-bugging facility provided with this tool with the >> WinARM toolchain. >> Can anyone point me to some documentation(preferable cookbookish :)) I >> can use to get started? > > At least the last time I looked at H-JTAG the only debugger-"API" was a > RDI-interface provided by a DLL. I'm not sure if the gdb included in the > WinARM packages can talk to a "RDI-dll" as in H-JTAG, but I don't think > so. You may try the Codesourcery G++ lite package. There is a binary > included in this package, I do not recall the exact filename but it > should be something like *-sprite.exe. IRC this can be configured to use > a RDI-dll and should provide a gdb-server. Sorry, not "cookbokish" but > hopefully a hint in the right direction - I have not tested this myself. > There is some documentation in the Codesourcery package. > > As an alternative take a look at OpenOCD, it offers a gdb-server and can > "talk" to Wiggler-type JTAG-interfaces.
Thomas Fernando wrote: > Hi Martin, > > I assumed that since H-JTAG was bundled in utils , someone had done the > needful. > I anyway downloaded it from twentyone's blog. > Thanks for responding. Well, just because a tool is included in the WinARM package it does not mean that it is "fully integrated". The tools just reflect my personal taste and I have included H-JTAG because of the flash-programming support for a lot of targets.
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.