cancel
Showing results for 
Search instead for 
Did you mean: 

problem with IAR debug(?)

hossein hosseini
Associate II
Posted on November 13, 2017 at 17:09

hi.

when i am debuging my code in IAR , debug 's Arrow  go to Disassembly and i cant continue debug, beacuse i think the arrow stop at that line.

and i want debugger do line by line in my code and never go to the Disassembly line , what can i do?


_legacyfs_online_stmicro_images_0690X0000060MxqQAE.png

when the Arrow want to do gpio_c() , this activity happen, and arrow jump to

the circle , and stop there.

why ?!!

so thanks. 

#debug
1 REPLY 1
Posted on November 13, 2017 at 18:43

Not much info to work with, the disassembly is obscured, and there is no cpu register details.

The zero basis of the disassembly and the proximity to the vector table leads me to wonder about the address the code was compiled for, and what's in the startup_stm32f1xx.s file

Perhaps review some of the SPL examples/templates and get familiar with the tools and the libraries.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..