2023-08-07 01:33 PM
Hello!
I'm porting a working code from H750VB to H730VB, generating a new HAL core from STM32CubeMX, but right after entering on "SystemClock_Config" function at debug mode, I've got the message "Break at address 0x46bd3718 with no debug information available, or outside of program code". Going step-by-step, the issue happens on "HAL_RCC_ClockConfig", at the second "D1PCLK1 configuration" calling:
if ((RCC_ClkInitStruct->APB3CLKDivider) < (RCC->D1CFGR & RCC_D1CFGR_D1PPRE))
{
assert_param(IS_RCC_D1PCLK1(RCC_ClkInitStruct->APB3CLKDivider));
MODIFY_REG(RCC->D1CFGR, RCC_D1CFGR_D1PPRE, RCC_ClkInitStruct->APB3CLKDivider);
}
I'm using the same custom board and pinout as H750 one and the app is quite simple: a few GPIOs, UART and SPI. I've also tried just a "blink LED" code, same break on "SystemClock_Config". Two different boards, same issue.
Did anyone face the same problem?
Thanks!
Solved! Go to Solution.
2024-03-07 12:19 PM
That's a good question, I've thought that option was auto selected by Cube depending on clock configuration (and yes, VDD = 3v3). When I change the main clock to 400 MHz, for example, I can only select VOS0 or VOS1.
2024-03-08 04:37 AM - edited 2024-03-08 04:39 AM
Hi @Peaga ,
Thank you for updating post.
I made some tests using STM32H730VBHx MCU and STM32CubeMx 6.10.0 revision and I'm not able to reproduce the issue.
For STM32H730VBHx MCU and when the AXI clock is set to 100MHz, the STM32CubeMx 6.10.0 disactivates "Power Regulator Voltage Scale 3" option as shown in the below figure:
Which STM32CubeMx version are you using? Could you please update the latest version of STM32CubeMx tool?
Could you please share your ioc file?
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-03-08 06:31 AM
2024-03-08 06:35 AM
Hi @Peaga
Could you please share your .ioc project?
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-03-08 10:15 AM
2024-03-08 10:22 AM
Go to profile, should be a means to Private Message users that have that enabled.
2024-03-11 01:47 AM
Hi @Peaga ,
Could please send your .ioc file by Private Message as mentioned by @Tesla DeLorean ?
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-03-11 07:24 AM
Hi @Peaga ,
Thank you for bringing this issue to our attention.
I reported internally.
Internal ticket number: 175753 (This is an internal tracking number and is not accessible or usable by customers).
Thank you for your contribution in STCommunity.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-07-05 08:04 AM
Hello @Peaga ,
The issue is fixed in STM32CubeMx 6.12.0 version.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.