2018-01-08 05:32 AM
Hello,
in your first project we use a STM32F415ZGT without any problems. Then we switch to the smaller version STM32F415RGT in a new design. With the same source code we got some times a hard fault when die MCU is booting up.
After two or three days of software and hardware bug finding and trying different versions of CubeMX and F4 firmware we find a solution to disable the Instruction Cache in CubeMX:After that your simple LED blink code runs fine without any hard fault.
Errata sheet lists a bug in Revision ''A'' devices for the ART Accelerator:
ART Accelerator prefetch queue instruction is not supported
Description
The ART Accelerator prefetch queue instruction is not supported on revision A devices.
This limitation does not prevent the ART Accelerator from using the cache enable/disable
capability and the selection of the number of wait states according to the system frequency.
Workaround
�
Revision A devices: none
�
Revision Z and 1 devices: fixed.
We found out that your STM32F415RGT is at Revision ''2'' and that revision is not listed in fixed devices.
Is this bug still existing in Revision ''2'' devices? And when not: Do you have any solution to your problem?Best regards
#vssa #gnd #ferrite-beads #vssSolved! Go to Solution.
2018-01-15 12:18 AM
Thank you for your suggestions. I will change the hardware and post the results this or next week.
2018-01-17 04:56 AM
Hi,
the problemwere theferrite beads in the VSS and VSSA lines. Bridged them and all is working fine. Many thanks toWaclawek.Jan
for the hint.I leave the VCAP capacitor as it is at 2.2µF.