We have designed a prototype board based on STM32F767VG. It is configured to work for a couple of seconds (take a picture, send it via UART) and go to sleep (so that it consumes the least power). Initially I was able to program and debug the controller without any issues using all the tools mentioned below. But after a couple of days the programming became erratic. At times I was able to program the board but most of the time I'll get an error. I have used both, ST-Link V1 and STM32 Nucleo-144 development board to program the prototype but both fails.
IDE: IAR Embedded Workbench 8.11
Tools Used: ST Visual Programmer 3.4, STM32 ST-Link Utility 4.1
Programmer Used: ST-Link V1, STM32 Nucleo-144
Errors: "ST-Link Connection Error", "ST-Link Error"
I'm ready to share the technical details of the project. I'm not sure what is needed to find out the problem. I would be obliged if someone could shed some light on the problem that I am facing.
Allan Tom Mathew.