cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in running a C project for F303k8

Amir1
Associate II

Hello All

I have created a C project for 303k8 on TrueStudio, but I get the following messages and the startup file opens rather, upon the launch of debugger:

"​No source file named C:\Users\A Yazdani\Atollic\TrueSTUDIO\STM32_workspace_9.1\F303k8-Test\src\main.c.

Program received signal SIGTRAP, Trace/breakpoint trap.

WWDG_IRQHandler () at ..\src/startup_stm32f303x8.s:125

125 b Infinite_Loop"

I have already created, coded, and run similarly-created projects with 303RE, 446RE, and 746RE, with no problems. This is the first time I am seeing this..

Any insight would be appreciated much.

Amir

4 REPLIES 4

Your path-name contains a space. Try to use a path without a space.

Amir1
Associate II

I have another machine whose path to workspace has no space; the error also appears on that machine. Up until this point, I have been able to seamlessly run various projects for F303RE, F446RE, and F746RE on both machines. Thus, the issue seems to be more specific than the path.

Ozone
Lead II

Using a Cube - generated project ?

AFAIK, Cube messes with the WWDG behind your back.

Try setting a breakpoint at the reset handler.

No; I do not use Cube. I create a C (Embedded C) project in TrueStudio for the chip (not even the board) and write my own register level code. All appears as the header is, for example, #include "stm32f3xx.h".

In this case, the project contains nothing but a dead while loop that TrueStudio includes.