2018-03-02 04:49 AM
Hi,
When i tried programming the STM32F405VG controller, it is giving an error that Flash timeout error, the error still observed even after multiple resets as well as power reset to the board.
Need help in this, as this is happening on multiple boards.
2018-03-02 05:00 AM
Your programming this on what sort of platform, with what sort of software?
On a board you designed? or a standard one?
Your description is far too vague and non-specific to determine a cause, other than it is systemic and repeatable.
Try a different system, with different cables. Try to localize or constrain the issue.
2018-03-02 06:24 AM
Hi,
The board designed by me and using the Keil software for programming the binary.
Ulink-Me is used for programming the code.
When i try to program the code to the microcontroller (STM32F405VG) using keil software, the programming progress bar stops at one address and it shows the Flash time out error. The voltage to the controller and the peripherals are 3.3V.
Sometimes if the controller is changed to a new controller to the same board it gets programmed normally without any issues .
let me know if i have given enough description.
2018-03-02 06:44 AM
Is the address consistent across multiple devices?
Do you have any code in your application using FLASH, or implementing EEPROM Emulation?
Version of Keil and Windows being used.
Power supply issues can cause significant issues with FLASH. Double check the design, placed components and voltages at the VCAP pins.
Check for other things on your design that could drive the NRESET line or reset the chip, ie Power-On-Reset circuits w/Brown-Out detection or external watchdogs.
A custom design would mean I have no familiarity with the circuit.
Try having Keil do a full erase.
Consider trying a different debug pod, perhaps an ST-LINK with it's Utilities, or a Segger J-Link.
Try from a different system.