This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cant Step through C code

I seem to be having the same issue as someone in this thread:

http://www.keil.com/forum/15652/

I had it before and got it to go away, I'm not sure how...

Now nothing I do works, I cant debug at all...

I can still see the disassembly and step through that, but that isn't that useful when debugging data structures etc.

Does anyone have any clue what could cause this?

It happens when simulating or debugging on chip (STM32F4xx)

I tried deleting all output files and regenerating as well as everything listed in the above thread.

No errors are printed at all.

Any help would be appreciated

Parents
  • You'd need to select a few peripherals in STM32CUBEMX, generate the code (simply generates startup code), set the processor to STM32F429II (though it happens no matter what processor is selected). Then try to debug with either the simulator or the debugger, my debugger is the ST-Link (I'm currently using the Disco board). It seemed to happen out of nowhere without changing a setting, very strange. I think other projects still work in the debugger so it is something isolated to this project somehow...thanks!

Reply
  • You'd need to select a few peripherals in STM32CUBEMX, generate the code (simply generates startup code), set the processor to STM32F429II (though it happens no matter what processor is selected). Then try to debug with either the simulator or the debugger, my debugger is the ST-Link (I'm currently using the Disco board). It seemed to happen out of nowhere without changing a setting, very strange. I think other projects still work in the debugger so it is something isolated to this project somehow...thanks!

Children