2019-08-17 03:52 PM
Hello. When creating a project for stm32h745xi, I encountered problems. Conflict of startup files, sct, ld files (section sizes) are not formed correctly. In the System tab, the parameter PWR_DIRECT_SMPS_SUPPLY is missing. All problems had to be solved manually. In Keil, start-up files are excluded in the project settings. Sct files were also edited manually. The hardest part was adding the above parameter to the CubeMX environment. This was done so that every time when generating the code not to make corrections manually. An incorrectly selected parameter brought the controller into a "brick" state. If you do not know where and how to edit the XML file, then you can replace one line in the SystemClock_Config function.
void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
/** Supply configuration update enable
*/
// HAL_PWREx_ConfigSupply(PWR_LDO_SUPPLY);
HAL_PWREx_ConfigSupply(PWR_DIRECT_SMPS_SUPPLY);
. . . . . . . . . .
2019-08-17 04:01 PM
2019-08-17 04:19 PM
2019-08-17 04:42 PM
Access Denied
2019-08-17 05:16 PM
Now available?
2019-08-17 06:21 PM
Couple of complaints about this
https://community.st.com/s/question/0D50X0000B45FHiSQM/stm32h745idisco-crash-at-systemclockconfig
Ok, so video shows running board.
On the H747I-DISCO I had to solder the BOOT0 to recover it, Although I wasn't using CubeMX, I had used H743 startup code.
2019-08-17 06:37 PM
On Discovery - h745xi there is r144 not installed. It is enough to close it at 3.3 v and erase flash using CubeProg. Restoring thus its performance.
2019-08-21 07:51 AM