2021-12-28 07:31 AM
Hello,
I am trying to debug Nucleo_017RB touchgfx demo code with IAR IDE.
After build on IAR, I tried to debug Nucleo071RB but failed at ext-flash programming stage. I guess IAR(v9.10.2) do not have right flashloader file.
So when I tried to debug it with stm32CubeIDE, I could confirm it programmed mcu flash and external serial flash well.
So I want to know following.
Q. After flashing external flash with CubeIDE or CubeProgrammer, can I debug source using IAR IDE? how to set up?
Best Regards,
Tiel
2022-01-02 06:29 PM
Hello Tiel,
Of course you can debug using IAR ^^
After using CubeProgrammer to download the code, simply click on Debug without downloading in IAR.
/Alexandre
2022-01-03 04:40 PM
Dear Alexandre Renoux,
Thanks and I tried as you advised.
After programming using cubeprogrammer, really seems to be able to debug source using IAR IDE.
I have one more question.
When I try to reset using reset icon button, board was reset, but it did not stop at entry point or any breakpoint in "main.c"
when I tried at other source code like lcd driver, breakpoint seems to work.
Do you happen to know why reset operation is not working well?
Best Regards,
Tiel
2022-01-03 06:18 PM
Hello Tiel,
I don't remember facing this issue so I'm afraid I don't know what might cause this.
Have you tried restarting entirely the debug ? Click on Cancel Debug and again on Debug without downloading.
/Alexandre