EmbDev.net

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


Author: fjrg76 (Guest)
Posted on:

Rate this post
0 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 =)

Author: fjrg76 (Guest)
Posted on:

Rate this post
0 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

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.