2012-07-18 07:51 AM
Error : Cannot communicate with the device !
Check the SWD cable connection and check all the needed pin connections on the SWD connector.
Reboot the ST-Link with USB cable.
If the device has been programmed with Protection Level 2, no more communication is possible.
What went wrong?Advance help for Any Help #stm32f407vg-discovery #stm32-discovery #stm32-discovery2012-07-18 08:47 AM
Hard to say from the data provided. What did you do before it broke? Has it ever worked? Do you have the right drivers, and dev tools?
If you interfere with the SWD/JTAG pins, or have DMA or WFI loops, these can all break ST-Link connectivity. The debugger has to wrestle control of the processor at reset, if you have aberrant code running early in the reset path you may not be able to regain control. Suggest you pull BOOT0 high so that it boots into the system loader, a safe harbour from which you can erase and reprogram the flash.2012-07-18 11:03 PM
Again i can able to erase and program my stm32 discovery?
2012-07-19 01:15 AM
> Error : Cannot communicate with the device !
That suggests you have a problem with the target device, the STM32f407vg . The STLink part works well, so no issue with the drivers. Have dropped the board, i.e. damaged the ext. quartz ? I would also check the supply voltages, as close to the controller pins as possible. And, as clive suggested, I would try a mass erase in bootstrap mode.2012-07-19 03:01 AM
thanks clive1 and fm for your quick reply.
STM32f407vg works well.i already downloaded my application program in my discovery board.That program works well because leds in my discovery board glow according to my program.but one problem is there in my application program-audio is not coming from audio jack of discovery.Problem:1. i can not able to erase and reprogram my stm32 discovery(st link error)2.in my application,audio is coming from jack.last 2 days audio does not come.but other functions like uart and led working fine in same application.And how to do thebootstrap mode?
2012-07-19 04:30 AM
And how to do the bootstrap mode?
BOOT0 = HIGH, RESET2012-07-19 04:54 AM
2012-07-19 05:01 AM
3V either from the rail, or via a pull up.
2012-07-19 05:30 AM
i did that,But it does not work.i shows same error in the screen.
2012-07-19 09:56 AM
Then perhaps you have some hardware issues with the board. Check the supply voltages, jumper and solder bridge settings, etc. Check you haven't stuck the board in some conductive foam.
You could try it on another computer, you could check for software conflicts like Daemon Tools.