Hello .
I am looking for a way to pass the calendar time from the PC by the emulator to the MCU on first run.
I am using Segger Embedded studio 4.12
Is there a function that can do it?
Thanks
Bar.
Hello .
I am looking for a way to pass the calendar time from the PC by the emulator to the MCU on first run.
I am using Segger Embedded studio 4.12
Is there a function that can do it?
Thanks
Bar.
from the PC by the emulator to the MCU
What do you mean by that?
The USB-to-UART converter on a Nordic nRF52840-DK ?
I mean threw the debbuger, which is connect to the IDE and can get the time of the PC.
Well.. There's no out-of-the-box way to do that through the debugger. But, you will have to set up a way to synchronize the RTC at regular intervals anyways, because of clock drifting. So I don't see why you want to do that. Do you have a separate clock chip?
Cross-posted on Segger forum: https://forum.segger.com/index.php/Thread/6423-Timestamp-from-PC