epoch time
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-01-11 5:59 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-01-11 6:27 AM
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..
Up vote any posts that you find helpful, it shows what's working..
