Debbuging in flash crashes Insight =(

Guest #1172465
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 =)
Guest #1172466
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 =)

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.