cancel
Showing results for 
Search instead for 
Did you mean: 

Break point in IAR Workbench

tran
Associate II
Posted on July 21, 2009 at 12:56

Break point in IAR Workbench

4 REPLIES 4
jj
Associate II
Posted on May 17, 2011 at 13:18

Look first at your, ''optimization settings.'' (from the Project Menu) If you have optimizations enabled - and the compiler thinks your specific piece of code is ''non-vital'' - it may well ''not'' allow a breakpoint.

(We've noted this most often when we insert delays - to accommodate TFT displays.)

tran
Associate II
Posted on May 17, 2011 at 13:18

Hello all,

I'm using IAR WorkBench version 5.4 with a STM32F101RE

i have a problem when i debug the program. When the program is running , it doesn't stop at the break point that i set althought I'm sure that the program must passe by this point.

By the way, if i stop the program manually by the button stop on the top, the program stops ( at where he was running). And then the program will stop at the point that i set if i put on RUN ALL.

what is the problem? Could you help me pls?

Thx all

patrickbuchbauer9
Associate II
Posted on May 17, 2011 at 13:18

Hello,

I have updated my IAR Workbench to Version 5.4 some weeks ago.

I`m using the jlink from segger.

After updating I had the same problems like you, so I contact IAR.

The solution was to update my segger version to JLinkARM_V406b, which you can download on their website.

On the CD with the IAR Software, the jlink version was JLinkARM_V402e.

When you have installed the new sw, you have to click at the JLinkDLLUpdater.exe in the segger folder.

After that procedure it runs at my system.

Perhaps that can help you to solve your problem.

Patrick

tran
Associate II
Posted on May 17, 2011 at 13:18

thx you all,

I installed the lastest version of Jlink 4.08. It works now :)

From 3 months, we haven't on the project, we have just updated the IAR Workbench but not the Jlink :(

The software of IAR and Jlink must be more optimized :)