[fpc-pascal] Arm Embedded Question

Michael Ring mail at michael-ring.org
Wed Jan 30 22:03:46 CET 2013


I doubt that it makes much sense to buy the adapter.

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:

"J5 can connect to external SWD/JTAG interface if LPCXpresso targetside 
(LPC17xx) is disconnected."

so it seems that you cannot connect an external JTAG debugger to this 
10pin connector without some extra work.

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 ,-)


Michael



Am 30.01.13 21:28, schrieb delphian at smythconsulting.net:
> what about using a board like so
>
> http://www.ebay.com.au/itm/280970074709?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1438.l2649 
>
>
> to covert an existing jtag debugger i use ? ( this one i have -> 
> http://microcontrollershop.com/product_info.php?cPath=110_161&products_id=1106 
> )
>
>
> Kind Regards
>
>
> Justin
>
>
>
> -----Original Message----- From: Michael Ring
> Sent: Thursday, January 31, 2013 2:31 AM
> To: FPC-Pascal users discussions
> Subject: Re: [fpc-pascal] Arm Embedded Question
>
> LPC1343 Board uses a special JTAG interface that does not have open
> sourced driver support.
>
> So if you do not want to use their GUI (based on Eclipse if I remember
> correctly) which is mainly C/C++ based then the easiest way is to cut
> the board in two pieces and to then connect it to an inexpensive ST-link
> V2 based JTAG probe or another JTAG probe that is supported by openocd
> project (At least on the mac it makes more sense to use an olimex JTAG
> probe together with openocd because stlink v2 support is quite new).
>
> I have found this nice tutorial on how to connect the board to another
> JTAG debugger: https://uwe-arzt.de/20130115.html
>
> I am currently extending Lazarus so that it natively supports connecting
> to a debugserver, I still have some problems with initial run command
> but if you can wait a few days you can help testing this integration.
>
> Michael
>
>
> Am 30.01.13 15:09, schrieb Koenraad Lelong:
>> Op 30-01-13 13:38, delphian at smythconsulting.net schreef:
>>> I've been following the wiki and have successfully created fpc for my
>>> arm processor ( Cortex M3 - using a LPC 1343 board) ( as per the wiki's
>>> intructions)
>>>
>>> once i have written my sample program is there anyway to debug it on 
>>> the
>>> MCU ? ( ie like doing in Lazarus for win32/64 projects)
>>>
>>> any help would be of much benefit
>>>
>>>
>>> Kind Regards
>>>
>>>
>>> Justin Smyth
>>>
>> Hi,
>>
>> 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.
>>
>> 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.
>> This way interested people can look into the problems.
>>
>> And when there is a usable compiler, I can make the appliance to 
>> share it with interested users.
>>
>> Regards,
>>
>> Koenraad Lelong
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130130/f37bf3eb/attachment.html>


More information about the fpc-pascal mailing list