cancel
Showing results for 
Search instead for 
Did you mean: 

epoch time

Joe M.
Associate
Posted on January 11, 2017 at 14:59

I'm using a NUCLEO-144 with an STM32F412ZG MCU. I'm having issues with the time() function. If I load my application via the debugger, the call to time() gives me the desired result. If I run my application normally (drag & drop the binary to the device), the processor will lock up when time() is called. Any ideas what the issue may be?

1 REPLY 1
Posted on January 11, 2017 at 15:27

In Keil you have to provide code that understands time on your board/chip (say via a specific RTC, or SysTick), rather than have it hosted via  SWI/BKPT from your PC

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..