cancel
Showing results for 
Search instead for 
Did you mean: 

debug mode with IAR, MCU = stm32f405

leejuhan
Visitor

I am developing the board with STM32F405 using IAR IDE. the problem is debugging mode.

 

When i use hardware debugging mode on my developing board,

the debug mode cannot control the program flow... 

 

i command go-one-statement..but go so..many time 

i think it is cannot control something for debug mode

 

when i use debug mode on evaluation board, it is good to control everything..

maybe.. it seems to be affected by the hardware of board..

 

help me..

 

 

3 REPLIES 3

Assume this is not an IAR/EWARM centric support board.

If its a more general issue about your board design and implementation, you'll need to share some specifics about that, as no one here is familiar with it.

Specifics on the working Eval Board might also be helpful for context.

What make / model of debug pod are you using here? How is that wired?

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

Thank you for replying

the developing board is not evaluation board. this is specific board for motor control.

i am using STLINK-V3SET and SWD Interface(or J-TAGE)

 

i debug the very simple code on the developing board.

like only plus and minus...  but cannot control the flow

 

i think it seems that the hardware certain pin of stm32f405 mcu affect debug mode....

are there any important pin i should check?

 

 

You should only need PA13 / PA14 to debug.

 A schematic for your board and SWD/JTAG connectivity would be useful.

Watch that you have the VCAP wired to suitable capacitors, and you can see 1.25 V at the pin(s)

Link to the board that works.

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