EmbDev.net

Forum: ARM programming with GCC/GNU tools Debbuging in flash crashes Insight =(


von fjrg76 (Guest)


Rate this post
useful
not useful
Hi

Time ago I started programming and debugging LPC2129. After some time I
was able to debug in Insight with the code in RAM. When trying to debug
in flash an error shows up something like this:

warning: (Internal error: pc 0x10 in read in psymtab, but not in
symtab.)

For avoiding that error there are 2 ways: rebuilding gdb

http://forum.sparkfun.com/viewtopic.php?t=6074

or changing from dwarf2 to stabs (I'm using WinArm). I tried this second
option (using

monitor arm7_9 force_hw_brkpts enable

inside the Insight's console), however, when debugging at the very
begining of my code Insight crashes =(. This is WinXp 2ndSP. I'm from
Mexico so a window shows up with the next message:

La instrucción en "0x00462b19" hace referencia a la memoria en
"0x00000038". La memoria no se puede "read"

Does anyone has had the same problem or knows how to solve it?? In the
mean time I will debug from RAM, but sooner the 16KB will not be enough.
Thanks in advanced =)

von fjrg76 (Guest)


Rate this post
useful
not useful
fjrg76 wrote:
> Hi
>
> Time ago I started programming and debugging LPC2129. After some time I
> was able to debug in Insight with the code in RAM. When trying to debug
> in flash an error shows up something like this:
>
> warning: (Internal error: pc 0x10 in read in psymtab, but not in
> symtab.)
>
> For avoiding that error there are 2 ways: rebuilding gdb
>
> http://forum.sparkfun.com/viewtopic.php?t=6074
>
> or changing from dwarf2 to stabs (I'm using WinArm). I tried this second
> option (using
>
> monitor arm7_9 force_hw_brkpts enable
>
> inside the Insight's console), however, when debugging at the very
> begining of my code Insight crashes =(. This is WinXp 2ndSP. I'm from
> Mexico so a window shows up with the next message:
>
> La instrucción en "0x00462b19" hace referencia a la memoria en
> "0x00000038". La memoria no se puede "read"
>
> Does anyone has had the same problem or knows how to solve it?? In the
> mean time I will debug from RAM, but sooner the 16KB will not be enough.
> Thanks in advanced =)

It's me again

In fact Insight still crashes under several circumstances, eg, when I
reload the same .elf that is currently running, as well as when trying
to debug in flash. I haven't found the binaries for installing a newer
release in XP, does anyone can tell me where I can download the latest
release for XP?? Thanks =)

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.