Problem with update to Keil uVision 5 with STM32F4 discovery

armcembeddedkeilstm32f4

My dev system doesnt work in Keil with STM32F4 discovery (STM32F407VG). I am using uVision 5. All my drivers are up to date. The code gets compiled without any errors, however, I cant get the Logic Analyzer to show any data. With the board, the core clock is 16 MHz. I have all combinations of core Clocks in the Trace Tab. The weird part is that the same settings and code seems to work with uVision 4 with 16 MHz as the core clock in Trace Tab. Can anyone tell me what am i doing wrong in uVision 5?

Best Answer

After spending the hole afternoon, I finally managed to solve the issue. In my case, I was using the STM32F334 Discovery kit.

There is a Solder Pad that must be closed in order to be able to trace variables. (SB17 in STM32F334 Discovery kit).

by default, this is open. I just soldered the pad, and it is working fine now.