2019-09-20 01:38 AM
I use Keil MDK to Build the project.
When I into debug mode and run the code the time is still at 0.
2019-09-20 06:44 AM
Wow, what a total lack of any helpful information! I don't see any variable in that screen shot that looks like a "time" variable, though I guess you mean "main_Count", but that definitely doesn't contain "0". As I posted elsewhere, we can't read minds or divine code bugs by reading tea leaves. What "time" do you mean? How is this "time" supposed to change (i.e. is this the HAL Tick timer)? What have you done so far to try and debug this? If you want any help from us, you need to post your code and tell us what you expect to happen.
2019-09-21 05:11 AM
Thank your reply. I am sorry that I did not explain clearly. I update the picture. The time what I mean is the MCU operation time.
2019-09-24 08:08 AM
Ohhhhhh, THAT time. That is a Keil IDE thing, so I don't know why it shows zero. Maybe you have to click on it to start the timer?