Hi I want to know if Keil's ULINK2 USB-JTAG debugger can be used with Gnu ARM toolchain. Specifically, if it can be used with gdb or any linux debugger for debugging programs on Keil MCB2140 kit. Any body has any experience with it? Thanks in advance JS
ULINK2 USB-JTAG with Gnu ARM toolchain
Started by ●September 1, 2008
Reply by ●September 1, 20082008-09-01
<jsahambi@iitg.ernet.in> wrote in message news:4d5d4b69-4248-4a69-a52b-8046b854263b@v16g2000prc.googlegroups.com...> Hi > I want to know if Keil's ULINK2 USB-JTAG debugger can be used with Gnu > ARM toolchain. Specifically, if it can be used with gdb or any linux > debugger for debugging programs on Keil MCB2140 kit. > > Any body has any experience with it? > > Thanks in advanceWell Keil will supply you with a (rather outdated to the best of my knowledge) version of GCC for use with their IDE, so yes you can use it if you are also using the Keil IDE. Other than that I'm not aware of any other method. -- Regards, Richard. + http://www.FreeRTOS.org & http://www.FreeRTOS.org/shop 17 official architecture ports, more than 6000 downloads per month. + http://www.SafeRTOS.com Certified by T�V as meeting the requirements for safety related systems.
Reply by ●September 2, 20082008-09-02
Recently Keil has added support for latest CodeSourcery's GNU toolchain with GCC 4.x.x. So you can use uLink2 with GCC to debug/program ARM devices. Regards, Ales
Reply by ●September 3, 20082008-09-03
On Sep 1, 9:26 am, jsaha...@iitg.ernet.in wrote:> Hi > I want to know if Keil's ULINK2 USB-JTAG debugger can be used with Gnu > ARM toolchain. Specifically, if it can be used with gdb or any linux > debugger for debugging programs on Keil MCB2140 kit. > > Any body has any experience with it? > > Thanks in advance > JSAlthough you can use ULINK2 and the GCC compiler, the answer to your questions remains NO, you can not use ULINK2 with gdb or a linux debugger.It has to be uVision! You might want to have a look at Segger J-Link, which runs with GDB. www.segger.com or www.segger-us.com Some information about the J-Link and links to Segger and Yagarto, which you might like, can be found here: http://www.lpc2000.com/tools/indextools.html Bob
Reply by ●September 4, 20082008-09-04
> Although you can use ULINK2 and the GCC compiler, the answer to your > questions remains NO, you can not use ULINK2 with gdb or a linux > debugger.It has to be uVision! > You might want to have a look at Segger J-Link, which runs with GDB.www.segger.comorwww.segger-us.com > Some information about the J-Link and links to Segger and Yagarto, > which you might like, can be found here:http://www.lpc2000.com/tools/indextools.html > > BobHi, Thanks to all for the information. So the crux of the matter is that in order to used ULINK2 I must have uVision IDE from Keil. From the above messages it appears that Keil compiler and gcc can be used for compiling the the programs. Are there any shortcomings/limitations (or special instructions/ guidelines) of uVision, gcc and ULINK2 JTAG combination for source level debugging? Any body has tried this combination? Thanks in advance. JS
Reply by ●September 5, 20082008-09-05
jsahambi@iitg.ernet.in wrote:>> Although you can use ULINK2 and the GCC compiler, the answer to your >> questions remains NO, you can not use ULINK2 with gdb or a linux >> debugger.It has to be uVision! >> You might want to have a look at Segger J-Link, which runs with GDB.www.segger.comorwww.segger-us.com >> Some information about the J-Link and links to Segger and Yagarto, >> which you might like, can be found here:http://www.lpc2000.com/tools/indextools.html >> >> Bob > Hi, > Thanks to all for the information. So the crux of the matter is that > in order to used ULINK2 I must have uVision IDE from Keil. > > From the above messages it appears that Keil compiler and gcc can be > used for compiling the the programs. > > Are there any shortcomings/limitations (or special instructions/ > guidelines) of uVision, gcc and ULINK2 JTAG combination for source > level debugging? Any body has tried this combination? > > Thanks in advance. > JSA Rambling Report: There are other alternatives. I needed a gnu toolchain development environment for arm to support work for the next 2 or 3 years. Recently bought in some Embest kit for evaluation and once you get over the bias that it's Chinese, the hardware quality is pretty good. I bought the STDV710C board + windows ide + UnitIce usb / network based jtag emululator / debugger. The IDE looks suspiciously uVision like, but uses the gnu compiler etc with their own debug interface. My guess is that the ide framework is licensed from Keil and they integrate the gnu toolchain. Like uVision, everything is pretty much locked down, with all the ide functionality in dll's, though all the gnu tools (but not insight) are also there to use. Have used uVision extensively and it's pretty good, but there is little tweakability and you are pretty much locked in to the solution. The advantage of course is that it works out of the box and there's good support from the vendor and there are examples for dozens of different hardware boards. I wanted to use UnetIce with the gnu toolchain + Insight over the network, rather than usb, but the later versions of Insight have the Angel Debug Protocol, which UnetIce talks, removed. Digging a bit more, found out that this was removed quite recently, because, to quote, 'to remove cruft and because it wouldn't build under windows'. However, adp is still quoted on the arm website as an active debug protocol. You could include adp back into later versions of the insight source tree, but how easy that would be, I don't know. Someone at CodeSourcery removed it afaics, so perhaps ask them. Network based debug boxes from Abatron talk a more direct protocol, which the later versions of Gdb/Insight does support, but that is 2 to 3 times the cost of UnetIce, for similar functionality. (UnetIce = $400 on one Canadian website). As well as windows machines, am a long time user of Sun kit and wanted multiple hosting for flexibility. Still quite attached to makefile build environments and it seemed like a good idea to use a Sparc / Solaris 10 host for development, though could have been Linux or other unix. Building a slightly less recent version of Insight, which still had the ADP support and now have a more or less complete arm toolchain that talks to UnetIce over the network. Still some work to do, but both Windows and Unix development environments are working. The network based interface is more flexible and more robust electrically than the more common usb interfaces, which can be quite fragile in the presence of untied grounds, power surge, static, etc. In summary, a worthwhile investment in time... Regards, Chris ---------------------- Greenfield Designs Ltd Oxford, England 44 1865 750 681
Reply by ●September 11, 20082008-09-11