STMicroelectronics / STM32CubeL4

STM32Cube MCU Full Package for the STM32L4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
259 stars 151 forks source link

NUCLEO-L4R5ZI Changing timebase source fails #46

Closed AVGitUser closed 2 years ago

AVGitUser commented 2 years ago

Describe the set-up NUCLEO-L4R5ZI

Describe the bug When changing the timebase of the systick, the HAL_Init() function no longer returns and it goes off to system memory in a loop.

How To Reproduce Start a new project with for the NUCLEO-L4R5ZI

Initialise all pins to the default state

Change the "Timebase source" to TIM6 (also tried TIM7).

Compile and start debugging session

Execution does not get past HAL_Init().

AVGitUser commented 2 years ago

This issue was caused by the firmware downloader as detailed here: https://community.st.com/s/question/0D53W00000raYd2SAE/intermittent-break-at-address-0x1fff51f4-with-no-debug