Unable to set any valid breakpoints for debugging
Hello everyone,
I am running CrossWorks for ARM; Release 3.2.0.2014063000.21472; Windows x86 and I used and OLIMEX ARM-USB-OCD JTAG. I have a STM 32L151 and I have rand into a situation where all breakpoints I sent on the code side are turned into question shortly after I enter into debug mode (F5).
CrossWork doesn't allow me to set break point to any line of the C code. Once debug mode is entered, all break points set become unreachable (with question marks).
Any help is appreciated.
Here is what I get when I show Transcripts - Output
Checking project status
Project up to date
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Executing match part name script
Loading target script file STM32_Target.js
Executing script MatchPartName("STM32L151VB")
Preparing target for download
Loading target script file STM32_Target.js
Executing script FLASHReset()
Downloading ‘STM32L_Loader_rpc.elf’ to Olimex ARM-USB-OCD
Programming
Programming 1.9 KB of .load_section addresses 20000000 — 200007a7
Programming completed in 1.6 s — 1,213 bytes/sec
Download successful
Verifying ‘STM32L_Loader_rpc.elf’ on Olimex ARM-USB-OCD
Verifying
Verifying 1.9 KB of .load_section addresses 20000000 — 200007a7
Verifying completed in 145 ms — 13,517 bytes/sec
Verify successful
Erasing ‘Project1.elf’ on Olimex ARM-USB-OCD
Erasing
Erasing 0.2 KB of .vectors addresses 08000000 — 080000f3
Erasing 0.4 KB of .init addresses 080000f4 — 080002d3
Erasing 12.2 KB of .text addresses 080002d4 — 080033cf
Erasing 0.0 KB of .rodata addresses 080033d0 — 080033f3
Erasing 0.2 KB of .data addresses 080033f4 — 080034fb
Erasing completed in 1.8 s — 7,465 bytes/sec
Erase successful
Downloading ‘Project1.elf’ to Olimex ARM-USB-OCD
Programming
Programming 0.2 KB of .vectors addresses 08000000 — 080000f3
Programming 0.4 KB of .init addresses 080000f4 — 080002d3
Programming 12.2 KB of .text addresses 080002d4 — 080033cf
Programming 0.0 KB of .rodata addresses 080033d0 — 080033f3
Programming 0.2 KB of .data addresses 080033f4 — 080034fb
Programming completed in 45 ms — 301,422 bytes/sec
Download successful
Verifying ‘Project1.elf’ on Olimex ARM-USB-OCD
Verifying
Verifying 0.2 KB of .vectors addresses 08000000 — 080000f3
Verifying 0.4 KB of .init addresses 080000f4 — 080002d3
Verifying 12.2 KB of .text addresses 080002d4 — 080033cf
Verifying 0.0 KB of .rodata addresses 080033d0 — 080033f3
Verifying 0.2 KB of .data addresses 080033f4 — 080034fb
Verifying completed in 55 ms — 246,618 bytes/sec
Verify successful
Preparing target for user application
Loading target script file STM32_Target.js
Executing script FLASHReset()
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Executing trace initialization script
Loading target script file STM32_Target.js
Executing script EnableTrace("None")
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Preparing target for user application
Loading target script file STM32_Target.js
Executing script FLASHReset()
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Executing trace initialization script
Loading target script file STM32_Target.js
Executing script EnableTrace("None")
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Preparing target for user application
Loading target script file STM32_Target.js
Executing script FLASHReset()
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Executing trace initialization script
Loading target script file STM32_Target.js
Executing script EnableTrace("None")
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Preparing target for user application
Loading target script file STM32_Target.js
Executing script FLASHReset()
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Executing trace initialization script
Loading target script file STM32_Target.js
Executing script EnableTrace("None")
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Preparing target for user application
Loading target script file STM32_Target.js
Executing script FLASHReset()
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Executing trace initialization script
Loading target script file STM32_Target.js
Executing script EnableTrace("None")
Selecting target device on chain
Selected STM32L151x8/STM32L151xB/STM32L152x8/STM32L152xB/STM32L100x6/STM32L100x8/STM32L100xB in JTAG mode
Please sign in to leave a comment.
Comments
1 comment