[fpc-pascal] Arm Embedded Question
delphian at smythconsulting.net
delphian at smythconsulting.net
Wed Jan 30 21:28:51 CET 2013
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
More information about the fpc-pascal
mailing list