2023-12-12 10:54 AM
Dear all,
I am new to STM32 development environment. I recently purchases STM32F407G-DISC1. I also purchased mini USB cable. When I connected the board to the PC, I can see that LD1 is on (RED). I can upgrade the driver for ST-Link as well. So, I am assuming there is connection established between board and the PC. Then, I write the first piece of code as attached below to see the LED blinks. It compiles very well. However, the code is not downloaded to the board. When I click on debug, it stucks at Launching: Initializing debugger services. It does not complete the progress. Please see the attachment2. I am helpless on this and require immediate support. I really liked the board and dont want to lose the enthusisasim.
Thank you.
2023-12-13 05:42 AM
Yes the latest version that is 1.14.0
2023-12-15 04:32 AM - edited 2023-12-15 04:34 AM
Hello @STTwo-32
I downloaded ST-Link Utility. When I connected to the board, I see the below message. It got me thinking that I can connect to the board, so there is no issue with the cable. Do you confirm this ?
The LD1 blinks red and green, then stops at green for almost 0.5 second. This pattern continues forever.
I also am able to perform full chip erase. I can confirm that all sectors are set to FFFFFFFF now.
15:31:33 : ST-LINK SN : 066DFF575377524867051414
15:31:33 : V2J43M0
15:31:33 : Connected via SWD.
15:31:33 : SWD Frequency = 4,0 MHz.
15:31:33 : Connection mode : Normal.
15:31:33 : Debug in Low Power mode enabled.
15:31:33 : Device ID:0x413
15:31:33 : Device flash Size : 1MBytes
15:31:33 : Device family :STM32F405xx/F407xx/F415xx/F417xx