2025-08-04 6:44 PM
Hi,
I'm not new to STM32 frimware, however, this is my first with H755. I have uploaded a simple LED flash project to both cores. The LED timing is based on uwTick, but Systick is not firing!
Green LED via M4, Yellow LED via M7.
If I change the code M4 to:-
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
GPIOE->ODR ^= 0x02;
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
And code for M7 to:-
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
GPIOB->ODR ^= 0x01;
/* USER CODE END WHILE */
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
}
Version: 1.19.0
Build: 25607_20250703_0907 (UTC)
STM32 FW_H7 1.12.1
Can anyone help?
Thanks AG
Solved! Go to Solution.
2025-08-06 4:05 PM
Sorry, I was a bit rushed into posting my question. However, I solved the issue - the MX tool in CubeIDE does NOT setup the VTOR reg correctly. I have added the code in manually - it works now.
Thanks
AG
2025-08-05 2:12 AM
How does your code relate to SysTick?
Kind regards
Pedro
2025-08-05 4:50 AM - edited 2025-08-05 4:50 AM
Ensure you've actually uploaded the code for both cores. This requires two separate "run" procedures.
Also don't see how SysTick is relevant here.
2025-08-06 4:05 PM
Sorry, I was a bit rushed into posting my question. However, I solved the issue - the MX tool in CubeIDE does NOT setup the VTOR reg correctly. I have added the code in manually - it works now.
Thanks
AG