Posts by duane

    JLINK-GDB - has support for hardware instruction breakpoints, the CI, BI, commands.

    What about a DATA WRITE breakpoint?
    What about a DATA READ breakpoint?

    In my case, I have a nasty NULL pointer bug somewhere in my code. It trashes my interrupt vector table located at zero.

    When that happens, well - bad things happen.

    It would be *GREAT* to be able to set a write breakpoint at address ZERO and see what is trashing my vector table.

    How do I do that with Jlink-GDB-SERVER?

    Thanks.
    -Duane.

    Hello,

    there are problems with the new version of jlink software. It crashes and exits. :(

    I have:

    SEGGER J-Link GDB Server V3.78c
    JLinkARM.dll V3.78c (DLL compiled Dec 13 2007 20:28:39)
    J-Link connected
    Firmware: J-Link compiled Dec 03 2007 17:15:31 ARM Rev.5
    Hardware: V5.20
    S/N: 20002799
    OEM: SAM-ICE
    Feature(s): RDI
    Listening on TCP/IP port 2331

    J-Link found 1 JTAG device, Total IRLen = 4
    JTAG ID: 0x3F0F0F0F (ARM7)
    SAM-ICE found !

    I am using this version of GDB (from linux, gdbserver is running on my windows PC)

    Using GDB (insight) 6.7.1 -
    GNU gdb 6.7.1
    Copyright (C) 2007 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf".

    From GDB, I can *CONNECT* to the board.
    However, if I attempt to "download" - I get 2 or 3 messages then it dies/crashes/whatever - the GDBServer goes away, it dies very fast - I cannot tell if there are 2 or 3 messages. The previous version V 3.68B - works, and does not have this problem.

    The "log" file it creates useless, and does not contain anything meaningful.
    It shows the two write packets - to memory, and ends.

    I am sure you want the elf file to try your self, who should I send it to?

    Target is atmel at91sam7ex256.

    -Duane.