This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ULINK2 and GCC compiler

I am planning to buy a ULINK2, but not sure if it can debug the program which is compiled by GCC compiler not RealView. Can anyone give me a help please?

Thank you very much!!

Parents
  • uLink is just an interface between the processor's JTAG test-access port and the PC's USB port - it is not a debugger.

    uVision includes a debugger that is compatible with the uLink interface.

    AFAIK, the interface between the PC and uLink is "closed" and proprietary to Keil - so you are highly unlikely to get it to work with any non-Keil debugger.

    There is vast amounts of discussion all over the internet about trying to get various different JTAG adaptors to work with various different open-source debuggers (including GDB) - spend a few hours googling, and then judge whether it actually makes the full Keil licence cost look more attractive...

Reply
  • uLink is just an interface between the processor's JTAG test-access port and the PC's USB port - it is not a debugger.

    uVision includes a debugger that is compatible with the uLink interface.

    AFAIK, the interface between the PC and uLink is "closed" and proprietary to Keil - so you are highly unlikely to get it to work with any non-Keil debugger.

    There is vast amounts of discussion all over the internet about trying to get various different JTAG adaptors to work with various different open-source debuggers (including GDB) - spend a few hours googling, and then judge whether it actually makes the full Keil licence cost look more attractive...

Children
  • Thank you for making it clear.

    We already bought a full licence Keil. But we still want to use GNU compiler tool for research purpose. And uVsion IDE also supports GNU compiler.

    I am not sure if I debug a program which is compiled and linked by GCC, the uVision uses Keil debugger or GNU debugger?

    Sorry if I am asking too "basic" questions.

  • you can configure uv3 to build your code with the GNU tool chain. that is completely independent of the medium you choose to download the binary data to your chip - once the binary is there, uv3 can flash it by ulink.

  • uVision uses its own debugger which loads elf/dwarf files created by MDK/RVCT, GNU and CodeSourcery ports. This works together with the uVision-simulator and the target debugger such as Ulink.