This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't insert breakpoints by button and in C

Hi!

I start to learn STM32 (STM32F103GB on MCBSTM32 board, example project "blinky") and have faced with following problem:
I can't insert breakpoint in C and "insert/remove breakpoint" button on Debug Toolbar always disabled.
The only way to define breakpoint is double-click on grey window bar in disasm window.
Program executed, breakpoint in disasm occurs... but what can I do to use breakpoits in C?

Regards,
Ilya.

Parents
  • The text from command window:

    Set JLink Project File to "C:\my_temp\Blinky\JLinkSettings.ini"
    JLink info:
    ------------
    DLL: V4.15n, compiled Jun 18 2010 19:55:09
    Firmware: J-Link ARM-Pro V1.x compiled Jan 22 2010 19:00:58
    Hardware: V1.10
    S/N : 171100029
    Feature(s) : RDI, FlashBP, FlashDL, JFlash, GDB
    
    * JLink Info: TotalIRLen = 9, IRPrint = 0x0011
    * JLink Info: Found Cortex-M3 r1p1, Little endian.
    * JLink Info: TPIU fitted.
    * JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
    ROMTableAddr = 0xE00FF003
    
    Target info:
    ------------
    Device: STM32F103VB
    VTarget = 3.325V
    State of Pins: TCK: 1, TDI: 0, TDO: 0, TMS: 0, TRES: 1, TRST: 1
    * JLink Info: TotalIRLen = 9, IRPrint = 0x0011
    * JLink Info: Found Cortex-M3 r1p1, Little endian.
    * JLink Info: TPIU fitted.
    * JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
    Hardware-Breakpoints: 6
    Software-Breakpoints: 2048
    Watchpoints:          4
    JTAG speed: 3000 kHz
    
    Load "C:\\my_temp\\Blinky\\Obj\\BlinkyOPT.AXF"
    Verify failed on VerifyBlock()*** error 57: illegal address (0x1FFFF800)
    * JLink Info: TotalIRLen = 9, IRPrint = 0x0011
    * JLink Info: Found Cortex-M3 r1p1, Little endian.
    * JLink Info: TPIU fitted.
    * JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
    

Reply
  • The text from command window:

    Set JLink Project File to "C:\my_temp\Blinky\JLinkSettings.ini"
    JLink info:
    ------------
    DLL: V4.15n, compiled Jun 18 2010 19:55:09
    Firmware: J-Link ARM-Pro V1.x compiled Jan 22 2010 19:00:58
    Hardware: V1.10
    S/N : 171100029
    Feature(s) : RDI, FlashBP, FlashDL, JFlash, GDB
    
    * JLink Info: TotalIRLen = 9, IRPrint = 0x0011
    * JLink Info: Found Cortex-M3 r1p1, Little endian.
    * JLink Info: TPIU fitted.
    * JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
    ROMTableAddr = 0xE00FF003
    
    Target info:
    ------------
    Device: STM32F103VB
    VTarget = 3.325V
    State of Pins: TCK: 1, TDI: 0, TDO: 0, TMS: 0, TRES: 1, TRST: 1
    * JLink Info: TotalIRLen = 9, IRPrint = 0x0011
    * JLink Info: Found Cortex-M3 r1p1, Little endian.
    * JLink Info: TPIU fitted.
    * JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
    Hardware-Breakpoints: 6
    Software-Breakpoints: 2048
    Watchpoints:          4
    JTAG speed: 3000 kHz
    
    Load "C:\\my_temp\\Blinky\\Obj\\BlinkyOPT.AXF"
    Verify failed on VerifyBlock()*** error 57: illegal address (0x1FFFF800)
    * JLink Info: TotalIRLen = 9, IRPrint = 0x0011
    * JLink Info: Found Cortex-M3 r1p1, Little endian.
    * JLink Info: TPIU fitted.
    * JLink Info:   FPUnit: 6 code (BP) slots and 2 literal slots
    

Children