Showing results for 
Search instead for 
Did you mean: 

Launching .elf has encountered a problem program file does not exist


Hello I'm a beginner and I'm having this problem as I wrote in the subject when I try to debug the script. I have STM32F407 Discovery 1 board. What I'm trying to do is I want to trigger OV7670 camera to capture an image and send it to a Raspberry Pi Model 3 which has an SD card on it and store the captured image there when HC SR-04 detects an object. I have added .h and .c files to Inc and Src respectively. I also added the script that I'm trying to debug and embed it into my board. What should I do to perform this project ?

I mapped pinnes as following:

  • GPIO:

    • PA1 (GPIO_Output)
    • PA2 (GPIO_Input)
    • PD12, PD13, PD14, PD15 (GPIO_Output)
    • PB6, PB7 (GPIO_Input)
    • PC0 to PC7 (GPIO_Input)
  • I2C1:

    • PB8 (I2C1_SCL)
    • PB9 (I2C1_SDA)
  • USART1:

    • PA9 (USART1_TX)
    • PA10 (USART1_RX)
  • TIM1:

    • PA8 (TIM1_CH1, PWM for XCLK)
  • RCC:

    • PH0 (RCC_OSC_IN)
    • PH1 (RCC_OSC_OUT)

This is the directory look of the project:

WhatsApp Image 2024-06-04 at 04.16.28.jpeg

and here is the clock configuration for the project:

WhatsApp Image 2024-06-04 at 04.17.47.jpeg




The error suggests your build didn't complete successfully.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

What should I do to fix the issue ? Can you elaborate please?

You should open the problem window from the window option. Correct each error and do compilation.