After FOTA Firmware Upgrade, MDOT User Register values are lost

Home Forums mDot/xDot After FOTA Firmware Upgrade, MDOT User Register values are lost

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #32283
    Ajay K
    Participant

    I was told that the MDOT User Register stays intact during an MDOT soft reset or hard reset. However when we are executing a firmware upgrade over FOTA and the mDot resets after the firmware has been transferred successfully to the MDOT, the MDOT user register contents seem to get corrupted or rather doesn’t have the previously stored values. Is this expected?

    Thanks,
    Ajay

    #32284
    Ajay K
    Participant

    Any thoughts multitech dev team?

    #32285
    Jason Reiss
    Keymaster

    We have not heard of any issues with the RTC backup registers before.

    Behind the scene we are making calls to the RTC library.

    __PWR_CLK_ENABLE();
    HAL_PWR_EnableBkUpAccess();

    RTC_ReadBackupRegister
    RTC_WriteBackupRegister

    How many are you using and how many are getting corrupted?

    #32286
    Ajay K
    Participant

    Hi Jason,

    Thanks for taking the time to respond.

    We are using all the 10 user backup registers provided for MDOT. However in all the scenarios i.e. when we reset the MDOT via the resetCpu() method in the MDOT Class or when we press the reset button on the board, the register stays intact. However only during the FOTA upgrade the Register values don’t have the values stored before the mdot was reset by the underlying MDOT class library after the FOTA file has been transferred successfully.

    we are on mdot library 4.0.0 which I believe is the latest version.

    Thanks,
    Ajay

    #32292
    Ajay K
    Participant

    Any thoughts Jason/Multitech team on why the registers have a loss of data on a FOTA upgrade?

    Thanks,
    Ajay

    #32293
    Jason Reiss
    Keymaster
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.