Question
Launching .elf has encountered a problem program file does not exist
- June 4, 2024
- 1 reply
- 2749 views
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:

and here is the clock configuration for the project:
