Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Upload to Teensy 4.0 sets RTC*to bad date in 2050

  1. #1

    Upload to Teensy 4.0 sets RTC*to bad date in 2050

    Hi.
    Whenever I upload a new binary to Teensy 4.0, its RTC date is set badly. Time is set correctly, but date gets always year 2050 and +13 days in future (month is right).
    Is this some feature to set current date and time on upload? If so can I just turn it off anyhow?
    I am on Debian 10. I got latest Teensy Loader. This happens when I use it manually and also if done in Makefile with teensy_reboot. RTC by itself works, I have 3V battery attached.
    Thanks for any help
    Regards
    CryHam

  2. #2
    Okay I think this is my bad since I use my own code for date, time getting from rtc_get value. I will use Time library, that should fix it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •