[fpc-pascal] ARM Linux cross development

Martin Schreiber mse00000 at gmail.com
Thu Jan 16 09:14:59 CET 2014


On Wednesday 15 January 2014 22:38:47 Koenraad Lelong wrote:
> op 15-01-14 13:31, Michael Schnell schreef:
> > Did you try to create the  PC->ARM cross gdb and ARM cross-compile the
> > ARM gdbserver ? It might be that this in fact was why he needed the huge
> > libraries.
>
> I did create a cross-gdb, I think. But no server. I'm using JTAG, with
> openocd. I use Insight compiled for arm-embedded. Insight is a GUI for
> GDB, and maybe gdb is compiled in, I don't know.
> I connect the JTAG-dongle to the PC via USB. Then I start openocd. Then
> I can telnet to openocd to erase and program the flash. Then I use
> Insight that connects to openocd via a network-interface to debug.
>
One can use MSEide for that purpose. I do it daily to develop systems with 
Energy Micro controllers. There is a gdb-server from SEGGER which connects to 
the J-Link debug interface contained in a cheap Energy Micro starter kit, 
which is connected to the target chip by the SerialWire debug interface.
The cross-binutils, gcc and gdb are the GPL-versions from Code Sourcery (no 
Eclipse necessary). I assume this setup should work for the Free Pascal 
compiler too.
I used a similar setup for development of Atmel AVR32 UC3 systems, although 
with the not so cheap AVRONE debug interface. ;-)

Martin



More information about the fpc-pascal mailing list