This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to Debug with STM32F407G-Disc Board in Keil 32KB limited edition

Hi,
I am using STM32F407G-Disc1 board i have purchased recently from element14, When i try to compile and the example program IO_Toggel,
1) Program never gets flashed into the Controller.
2) When i insert a break point i could find that the controller is resetting frequently just before entering the while(1) loop..
3) I am in badly need of help pleas help ASAP.
4) I am using Keil 5.20 32KB code limit Version.

Regards
Mahesh Prasath

Parents
  • Hi Sankalp Agarwal,
    Thanks for the reply,
    I connected the Discovery board and opened the example \en.stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Peripheral_Examples\IO_Toggle\MDK-ARM

    Steps is followed

    Connected the Discovery board, did not do any changes to the project setting. Complied the program, clicked the start debug button four LEDS was blinking, I just modified the code to blink only one LED and again complied and clicked on the start debug option now, the old program only executes i.e four led blinking. When i insert a break point program never hits it, but if a insert a break in the beginning of the program the break point always hits this confirmed me that the controller is resetting.

Reply
  • Hi Sankalp Agarwal,
    Thanks for the reply,
    I connected the Discovery board and opened the example \en.stsw-stm32068\STM32F4-Discovery_FW_V1.1.0\Project\Peripheral_Examples\IO_Toggle\MDK-ARM

    Steps is followed

    Connected the Discovery board, did not do any changes to the project setting. Complied the program, clicked the start debug button four LEDS was blinking, I just modified the code to blink only one LED and again complied and clicked on the start debug option now, the old program only executes i.e four led blinking. When i insert a break point program never hits it, but if a insert a break in the beginning of the program the break point always hits this confirmed me that the controller is resetting.

Children