Loading...
 
Skip to main content

System Workbench for STM32


No source available when debugging

I installed System Workbench, and used CubeMX to generate a STM32F4 Discovery base project. I got it to import and compile properly, and when I go to debug, I have a problem where it tells me there is "no source available for main() at 0x8001198" - I get no breakpoint capability - I have attached a screenshot - Does anyone have any ideas? Thanks

Daniel

For me I had to import the project WITHOUT selecting the "Copy projects into workspace" option, and I also had the workspace and the generated project shared the same root directory.

thanks,
Paul

France

Hi,

When importing a CubeMX project, you should always follow the procedure described in Importing a STCubeMX generated project; the two main points are:

  1. Generate you program under CubeMX in your System Workbench workspace
  2. Do not check "Copy files into workspace"


The CubeMX integration is not yet seamless but we work on improving it.

Bernard