2021-10-26 01:07 AM
Hi
I am using an STM32L496GTx with a HAL from Cube MX and it just jumps to the "thread #1" whenever I try to single step through the code in main. I don't even get to the other parts, I'm just trying to init the HAL (I don't get to the systemclock, any of the peripherals, nothing) and when I single step through the C code I get kicked to something and my only option is to view disassembly around the HAL_MspInit() call within the init. I really have no idea what's going on and I thought it might be this MCU but I swapped it for a fresh MCU today and this brand new MCU is doing the exact same thing. I'm feeding the 3.3V directly with a DC supply so the other peripherals on the system should be pretty isolated.
I'm using STM32CubeIDE and using a JLINK for the MCU connection. I don't have a scope for the power rails but I'm hoping it's clean enough. I have external oscillators on this board but they aren't configured. I really am not sure what else to check out.
Thanks
Solved! Go to Solution.
2021-10-26 04:08 AM
Okay turns out the BOOT pin was floating so that was causing all kinds of issues. Good to know!
2021-10-26 04:08 AM
Okay turns out the BOOT pin was floating so that was causing all kinds of issues. Good to know!