2019-12-24 06:22 AM
I've been working on a project for a while (I2S based). I seem to have done something to confuse the IDE. Now when I try and debug, it says it's connected, but the Nucleo F722ZE is still running the previous firmware. The debug does not step into the first line of the code, as usual, and instead shows the call stack below.
STM32_WM8731_Test.elf [cores: 0]
Thread #1 [main] 1 [core: 0] (Running)
I'm now unable to update the firmware on the board. I've tried reinstalling the IDE but I have the same issue.
2019-12-24 10:29 AM
Using cubemx? Check the debug option in cubemx -> swd. Then regenerate project. And in IDE chceck flash under reset.
2019-12-26 05:44 AM
Thanks very much for your response! I am using STM32CubeIDE (1.0.2). I'm struggling to find the options you suggest. I've looked in the 'Project Manager' of CUBEMX (by loading the .ioc), but I can't find SWD mentioned anywhere. Also, I can't see where to look for 'flash' in the IDE. I've looked in all the tabs under 'Project->Properties. If you could give me some more pointers on where to look, I'd really appreciate it. Thanks again!
2019-12-26 05:57 AM
Im not in home, but tomorow will give screenshot. Maybe it will help.
I had the same problem, but different mcu.
2019-12-26 06:02 AM
Ok, thanks very much! If I create a new project, I can flash that. So I can work around the issue. But it would be great to know how to fix it in the broken project.
2019-12-26 10:18 PM
2019-12-28 02:49 AM
Thanks for doing that! As far as I can tell I have this setup correctly, and it appears to match one of my working projects. The config in the .ioc looks the same as yours, but my 'Create, manage, and run configurations' looks a bit different, screenshot attached
2019-12-28 03:46 AM