Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2013-03

FPC / Lazarus ARM Embedded Debuging

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Justin Smyth

Sorry of this cross posts but i wasn't sure where to send this question to.

I am currently using a LPC 1343 Microprocessor board and i have recently purchased a ULINK2 debugging kit from china.

i am aware that there are plans to allow debugging these boards using the UNLINK2, but it wasnt something that is currently available

could i get some help so i can use the UNLINK2 device to debug my board , i want to be able to write some code in lazarus , upload it to the board and debug it

I do believe micheal ring was talking bout this

Kind Regards

Justin

ps if you get this and email me back you prob wont get any replies for 8 or so hours as its after 11pm here in Melbourne AU , i'm off to bed need some sleep.

Reply by email

Michael Ring
to Justin Smyth

I fould the following announcement:

http://article.gmane.org/gmane.comp.debugging.openocd.devel/17362

So ulink is supported by openocd, not sure if ulink2 is compatible with ulink.

from what I have googled about ulink2 it seems that it is closely bound to the uVision Debugger from Keil and they do not seem to provide a gdbserver.

So if ulink support in openocd does not work for you I would propose that you spend approx. 25 Euros and buy a stlink V2 interface or ARM-USB-TINY-H <https://www.olimex.com/Products/ARM/JTAG/ARM-USB-TINY-H> from Olimex (EUR40),
I own both and they work just fine with openocd.

I have no plans to make ulink2 work, I have created an interface for openocd (which provides a gdbserver) that can be used to interface with different jtag debugging interfaces. http://openocd.sourceforge.net/

Michael

Justin Smyth wrote 28 lines
Sorry of this cross posts but i wasn't sure where to send this question to. I am currently using a LPC 1343 Microprocessor board and i have recently purchased a ULINK2 debugging kit from china. i am aware that there are plans to allow debugging these boards using the UNLINK2, but it wasnt something that is currently available could i get some help so i can use the UNLINK2 device to debug my board , i want to be able to write some code in lazarus , upload it to the board and debug it I do believe micheal ring was talking bout this Kind Regards Justin ps if you get this and email me back you prob wont get any replies for 8 or so hours as its after 11pm here in Melbourne AU , i'm off to bed need some sleep. _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email

Justin Smyth
to Michael Ring: I fould the following announcement: http://article.gmane.org/gmane.comp.debugging.openocd.…

So bascially the only option is to get either the st Link V2 or ARM USB TINY-H , would something like this work ?

http://au.element14.com/stmicroelectronics/st-link/icd-programmer-for-stm8-stm32/dp/1779159

Kind Regards

Justin

Earlier message 39 lines
From: Michael Ring Sent: Thursday, March 14, 2013 12:25 AM To: FPC developers' list Subject: Re: [fpc-devel] FPC / Lazarus ARM Embedded Debuging I fould the following announcement: http://article.gmane.org/gmane.comp.debugging.openocd.devel/17362 So ulink is supported by openocd, not sure if ulink2 is compatible with ulink. from what I have googled about ulink2 it seems that it is closely bound to the uVision Debugger from Keil and they do not seem to provide a gdbserver. So if ulink support in openocd does not work for you I would propose that you spend approx. 25 Euros and buy a stlink V2 interface or ARM-USB-TINY-H from Olimex (€40), I own both and they work just fine with openocd. I have no plans to make ulink2 work, I have created an interface for openocd (which provides a gdbserver) that can be used to interface with different jtag debugging interfaces. http://openocd.sourceforge.net/ Michael Am 13.03.13 13:16, schrieb Justin Smyth: Sorry of this cross posts but i wasn't sure where to send this question to. I am currently using a LPC 1343 Microprocessor board and i have recently purchased a ULINK2 debugging kit from china. i am aware that there are plans to allow debugging these boards using the UNLINK2, but it wasnt something that is currently available could i get some help so i can use the UNLINK2 device to debug my board , i want to be able to write some code in lazarus , upload it to the board and debug it I do believe micheal ring was talking bout this Kind Regards Justin ps if you get this and email me back you prob wont get any replies for 8 or so hours as its after 11pm here in Melbourne AU , i'm off to bed need some sleep.

Reply by email

Michael Ring
to Justin Smyth

This one would be it: (it is V2)

http://au.element14.com/stmicroelectronics/st-link-v2/icd-programmer-for-stm8-stm32/dp/1892523

Justin Smyth wrote 72 lines
So bascially the only option is to get either the st Link V2 or ARM USB TINY-H , would something like this work ? http://au.element14.com/stmicroelectronics/st-link/icd-programmer-for-stm8-stm32/dp/1779159 Kind Regards Justin *From:* Michael Ring *Sent:* Thursday, March 14, 2013 12:25 AM *To:* FPC developers' list *Subject:* Re: [fpc-devel] FPC / Lazarus ARM Embedded Debuging I fould the following announcement: http://article.gmane.org/gmane.comp.debugging.openocd.devel/17362 So ulink is supported by openocd, not sure if ulink2 is compatible with ulink. from what I have googled about ulink2 it seems that it is closely bound to the uVision Debugger from Keil and they do not seem to provide a gdbserver. So if ulink support in openocd does not work for you I would propose that you spend approx. 25 Euros and buy a stlink V2 interface or ARM-USB-TINY-H <https://www.olimex.com/Products/ARM/JTAG/ARM-USB-TINY-H> from Olimex (EUR40), I own both and they work just fine with openocd. I have no plans to make ulink2 work, I have created an interface for openocd (which provides a gdbserver) that can be used to interface with different jtag debugging interfaces. http://openocd.sourceforge.net/ Michael Am 13.03.13 13:16, schrieb Justin Smyth: > Sorry of this cross posts but i wasn't sure where to send this > question to. > > I am currently using a LPC 1343 Microprocessor board and i have > recently purchased a ULINK2 debugging kit from china. > > i am aware that there are plans to allow debugging these boards using > the UNLINK2, but it wasnt something that is currently available > > could i get some help so i can use the UNLINK2 device to debug my > board , i want to be able to write some code in lazarus , upload it > to the board and debug it > > I do believe micheal ring was talking bout this > > Kind Regards > > > Justin > > ps if you get this and email me back you prob wont get any replies > for 8 or so hours as its after 11pm here in Melbourne AU , i'm off to > bed need some sleep. > > _______________________________________________ > fpc-devel maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-devel > ------------------------------------------------------------------------ _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply by email