<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I doubt that it makes much sense to buy
the adapter. <br>
<br>
Please have a look at page 4 of the schematics for the lpcxpresso
1769 Board ( first pdf document hit when you google for
"lpcxpresso 1769 schematic") there is clearly stated: <br>
<br>
"J5 can connect to external SWD/JTAG
interface if LPCXpresso target<span style="font-size: 13.000000pt;
font-family: 'HelveticaRegular'"> side (LPC17xx) is
disconnected.</span>"<br>
<br>
so it seems that you cannot connect an external JTAG debugger to
this 10pin connector without some extra work. <br>
<br>
You could remove all the 100 Ohm resistors R23 R24 R25 R26 R28 and
R30, then you could use your adapter if the pin layout of the
adapter matches. But cutting the board in two peaces looks easier
to me ,-)<br>
<br>
<br>
Michael<br>
<br>
<br>
<br>
Am 30.01.13 21:28, schrieb <a class="moz-txt-link-abbreviated" href="mailto:delphian@smythconsulting.net">delphian@smythconsulting.net</a>:<br>
</div>
<blockquote
cite="mid:592EB468164445309CF22E327D4E9D01@JustinsLaptop"
type="cite">what about using a board like so
<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.ebay.com.au/itm/280970074709?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1438.l2649">http://www.ebay.com.au/itm/280970074709?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1438.l2649</a>
<br>
<br>
to covert an existing jtag debugger i use ? ( this one i have
->
<a class="moz-txt-link-freetext" href="http://microcontrollershop.com/product_info.php?cPath=110_161&products_id=1106">http://microcontrollershop.com/product_info.php?cPath=110_161&products_id=1106</a>
)
<br>
<br>
<br>
Kind Regards
<br>
<br>
<br>
Justin
<br>
<br>
<br>
<br>
-----Original Message----- From: Michael Ring
<br>
Sent: Thursday, January 31, 2013 2:31 AM
<br>
To: FPC-Pascal users discussions
<br>
Subject: Re: [fpc-pascal] Arm Embedded Question
<br>
<br>
LPC1343 Board uses a special JTAG interface that does not have
open
<br>
sourced driver support.
<br>
<br>
So if you do not want to use their GUI (based on Eclipse if I
remember
<br>
correctly) which is mainly C/C++ based then the easiest way is to
cut
<br>
the board in two pieces and to then connect it to an inexpensive
ST-link
<br>
V2 based JTAG probe or another JTAG probe that is supported by
openocd
<br>
project (At least on the mac it makes more sense to use an olimex
JTAG
<br>
probe together with openocd because stlink v2 support is quite
new).
<br>
<br>
I have found this nice tutorial on how to connect the board to
another
<br>
JTAG debugger: <a class="moz-txt-link-freetext" href="https://uwe-arzt.de/20130115.html">https://uwe-arzt.de/20130115.html</a>
<br>
<br>
I am currently extending Lazarus so that it natively supports
connecting
<br>
to a debugserver, I still have some problems with initial run
command
<br>
but if you can wait a few days you can help testing this
integration.
<br>
<br>
Michael
<br>
<br>
<br>
Am 30.01.13 15:09, schrieb Koenraad Lelong:
<br>
<blockquote type="cite">Op 30-01-13 13:38,
<a class="moz-txt-link-abbreviated" href="mailto:delphian@smythconsulting.net">delphian@smythconsulting.net</a> schreef:
<br>
<blockquote type="cite">I've been following the wiki and have
successfully created fpc for my
<br>
arm processor ( Cortex M3 - using a LPC 1343 board) ( as per
the wiki's
<br>
intructions)
<br>
<br>
once i have written my sample program is there anyway to debug
it on the
<br>
MCU ? ( ie like doing in Lazarus for win32/64 projects)
<br>
<br>
any help would be of much benefit
<br>
<br>
<br>
Kind Regards
<br>
<br>
<br>
Justin Smyth
<br>
<br>
</blockquote>
Hi,
<br>
<br>
Mostly you debug via gdb. Depending on the board us can use jtag
(e.g. openocd) or another hardware-interface. Some STM32 boards
have an ST-link interface.
<br>
<br>
P.S. what version of fpc did you use (svn-revision) ? I'm asking
because I'm having troubles with my cross-compilers. At the
moment I'm making a virtual appliance with fpc 2.6.0 for 386 and
some revisions of trunk. I made some scripts to compile the
crosscompiler.
<br>
This way interested people can look into the problems.
<br>
<br>
And when there is a usable compiler, I can make the appliance to
share it with interested users.
<br>
<br>
Regards,
<br>
<br>
Koenraad Lelong
<br>
_______________________________________________
<br>
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a>
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a> <br>
<br>
_______________________________________________
<br>
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a>
<br>
<br>
</blockquote>
<br>
</body>
</html>