init
flash write_image erase unlock myprogram.elf 0 elf
reset run
reset init
Kind Regards
Justin
-Original Message-
From: Michael Ring [mailto:m...@michael-ring.org]
Sent: Monday, 16 June 2014 6:33 PM
To: Lazarus mailing list
Subject: Re: [Lazarus] Gdb and openocd via lazarus
There's
, 17 June 2014 7:39 PM
To: delph...@smythconsulting.net; Lazarus mailing list
Subject: Re: [Lazarus] Gdb and openocd via lazarus
TUI is a rather seldomly used option, I also saw that some linux distros do
not support it. If you want it you will perhaps really need to build a
version of gdb
...@smythconsulting.net
Subject: Re: [Lazarus] Gdb and openocd via lazarus
About flashing: You can remove your flashing code from openocd, you have the
load command in your gdb commandline and this does the flashing.
Those lines:
Loading section .text, size 0x7cc lma 0x0 Loading section .data, size 0x98
lma 0x7cc
of gdb for arm I using can stop on
breakpoints etc.
Justin Smyth
-Original Message-
From: Koenraad Lelong [mailto:lazar...@de-brouwerij.be]
Sent: Friday, 30 May 2014 6:06 AM
To: lazarus@lists.lazarus.freepascal.org
Subject: Re: [Lazarus] Gdb and openocd via lazarus
op 28-05-14 13:57
June 2014 6:33 PM
To: Lazarus mailing list
Subject: Re: [Lazarus] Gdb and openocd via lazarus
There's an excellent Page on using gdb with freepascal on the wiki:
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips,
when you scroll down there's a list of recommended gdb versions.
Rebuilding gdb
]
Sent: Friday, 30 May 2014 6:06 AM
To: lazarus@lists.lazarus.freepascal.org
Subject: Re: [Lazarus] Gdb and openocd via lazarus
op 28-05-14 13:57, Michael Ring schreef:
Here's how I call gdb:
arm-none-eabi-gdb hello.elf --tui --eval-command=target extended :
--eval-command=monitor reset halt
op 28-05-14 22:39, Martin Schreiber schreef:
On Wednesday 28 May 2014 12:36:57 Koenraad Lelong wrote:
I tried to debug my arm-board with MSEide.
I manually started openocd (I need to be root).
Is the debug interface connected by USB? Then it is possible to setup an udev
rule in order to
op 28-05-14 13:57, Michael Ring schreef:
Here's how I call gdb:
arm-none-eabi-gdb hello.elf --tui --eval-command=target extended :
--eval-command=monitor reset halt --eval-command=set mem
inaccessible-by-default off --eval-command=load
This loads the binary, you should end up with the
op 21-05-14 20:17, Martin Schreiber schreef:
In MSEide the procedure is as follows - I assume same as in Lazarus:
In 'Start gdb server command run target' write the command or script which
starts the OpenOCD gdb proxy server (I don't know the command).
Set 'Wait before connect' to the GDB
On Wednesday 28 May 2014 12:36:57 Koenraad Lelong wrote:
I tried to debug my arm-board with MSEide.
I manually started openocd (I need to be root).
Maybe it could be done by a root script with setuser flag
in 'Project'-'Options'-'Debugger'-'Target'-'Start gdb server command run
target'.
I
op 28-05-14 13:21, Martin Schreiber schreef:
I don't think the theme is appropriate for this list. ;-)
I hesitated to post in the Lazarus-list, because it's indeed not
lazarus-related anymore.
I find the theme is appopriate : gdb-debugging of pascal-source.
I'll subscribe to yet another
If I were you I would try to start as low-level as possible.
To do so, please check if your gdb is configured with textui enabled (
try starting it with arm-none-eabi-gdb --tui )
if only commandline shows up then download gdb and recompile it:
cd gdb
On Wednesday 28 May 2014 12:36:57 Koenraad Lelong wrote:
I tried to debug my arm-board with MSEide.
I manually started openocd (I need to be root).
Is the debug interface connected by USB? Then it is possible to setup an udev
rule in order to allow non-root access. Copy a file to
@lists.lazarus.freepascal.org
Subject: [Lazarus] Gdb and openocd via lazarus
Hi folks
I remember a while ago Michael ring had someway of modified version of
Lazarus to connect to gdb spawned from a openocd session , is this still
possible?
I am using fpc 2.6.5 and latest Lazarus from the svn ( fpc is from svn
On Wednesday 21 May 2014 16:43:23 Justin Smyth wrote:
I can get lazarus to compile my project ok then I can openocd to flash my
board , I can gdb connecting on port OK but I can't get it stop on any
break points..
I don't know openocd, connection with gdb is described here:
Hi folks
I remember a while ago Michael ring had someway of modified version of Lazarus
to connect to gdb spawned from a openocd session , is this still possible?
I am using fpc 2.6.5 and latest Lazarus from the svn ( fpc is from svn fixes2_6
branch) --
16 matches
Mail list logo