2022-06-23 08:37 AM
2022-06-24 01:00 AM
You are probably trying to set a breakpoint at a position that has been "optimised away", perhaps because this global variable is not important for any function. In this case, it is best to switch off the compiler optimisation.
Regards
/Peter
2022-06-24 08:24 AM
That was the problem. I should have figured that out on my own. I'm sorry and thank you for your reply.
I wish I could switch off my optimization but the project I inherited won't operate unless optimization O3 is turned on (my SPI DMA ISR which uses FreeRTOS functions takes too long and I start missing bytes).