Failed to set breakpoint at 0x001031B2 (out of hardware breakpoints)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Failed to set breakpoint at 0x001031B2 (out of hardware breakpoints)


    I am using the IAR ARM workbench version 4.x and I have flash breakpoints enabled in the J-LINK ARM control panel and I get the following error when I set a breakpoint in flash. See log below: More of my post follows.

    Fri Nov 14 17:04:34 2008: J-Link firmware: V1.20 (J-Link compiled Feb 20 2006 18:20:20 -- Update --)
    Fri Nov 14 17:04:34 2008: JTAG speed is initially set to: 32 kHz
    Fri Nov 14 17:04:34 2008: TotalIRLen = 4, IRPrint = 0x01
    Fri Nov 14 17:04:34 2008: Halting CPU core
    Fri Nov 14 17:04:34 2008: Software reset was performed
    Fri Nov 14 17:04:34 2008: Initial reset was performed
    Fri Nov 14 17:04:34 2008: J-Link found 1 JTAG device. ARM core Id: 3F0F0F0F(ARM7)
    Fri Nov 14 17:04:34 2008: Device at TAP0 selected
    Fri Nov 14 17:04:34 2008: Auto JTAG speed: 2666 kHz
    Fri Nov 14 17:04:34 2008: Auto JTAG speed: 2666 kHz
    Fri Nov 14 17:04:35 2008: 65536 bytes downloaded (63.05 Kbytes/sec)
    Fri Nov 14 17:04:35 2008: Loaded debugee: C:\projects\BW\project\MCU\SAM7\GS-1\project\Flash_flash\Exe\XT Wireless.d79
    Fri Nov 14 17:04:35 2008: Target reset
    Fri Nov 14 17:04:41 2008: Failed to set breakpoint at 0x001031B2 (out of hardware breakpoints)
    Fri Nov 14 17:04:41 2008: Failed to set breakpoint: Driver error.
    Fri Nov 14 17:04:42 2008: Failed to set breakpoint at 0x001031B2 (out of hardware breakpoints)
    Fri Nov 14 17:04:42 2008: Failed to set breakpoint: Driver error.
    Fri Nov 14 17:04:43 2008: Failed to set breakpoint at 0x001031B2 (out of hardware breakpoints)
    Fri Nov 14 17:04:43 2008: Failed to set breakpoint: Driver error.
    Fri Nov 14 17:04:43 2008: Failed to set breakpoint at 0x001031B2 (out of hardware breakpoints)
    Fri Nov 14 17:04:43 2008: Failed to set breakpoint: Driver error.
    Fri Nov 14 17:04:43 2008: Failed to set breakpoint at 0x001031B2 (out of hardware breakpoints)
    Fri Nov 14 17:04:43 2008: Failed to set breakpoint: Driver error.
    Fri Nov 14 17:04:43 2008: Failed to set breakpoint at 0x001031B2 (out of hardware breakpoints)
    Fri Nov 14 17:04:43 2008: Failed to set breakpoint: Driver error.
    Fri Nov 14 17:04:44 2008: Failed to set breakpoint at 0x001031B2 (out of hardware breakpoints)
    Fri Nov 14 17:04:44 2008: Failed to set breakpoint: Driver error.



    Why is IAR trying to set hardware breakpoints, I have flash breakpoints enabled in the J-LINK ARM control panel. I checked all configurations and everything seems configured ok, BUT on the Settings tab of the J-link Control panel it shows “Disabled” in the textbox below the Flash download radio button and also on the other side under the Flash breakpoints radio buttons, I have “Auto” set for both items. I am using J-link as my protocol not the RDI.

    My BP settings in IAR are also auto (breakpoints). There aren't many choices.


    I see no breakpoint logs in the log window but I do see read/write and other stuff.

    Any ideas?


    Thanks,


    Pierre.











  • Hello Pierre,

    Flash download and flash breakpoints via the J-Link DLL in combination with the IAR EWARM are official supported since IAR EWARM version V5.20.
    If you use a minor version we recommend to use J-Link RDI in order to use the FlashDL and FlashBP features.
    Please note that you need separate license for J-Link RDI.


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.