Changes between Version 86 and Version 87 of gsc


Ignore:
Timestamp:
09/08/2021 07:33:32 PM (10 months ago)
Author:
Tim Harvey
Comment:

added more detail about restored registers

Legend:

Unmodified
Added
Removed
Modified
  • gsc

    v86 v87  
    10941094There are currently two places registers are saved, a non user accessible {{{FACTORY_DEFAULTS}}} section that is populated with the factory programmed register values, and a {{{USER_DEFAULTS}}} section that contains the current control register values when the user executes a {{{GSC_REG_BKP_SAVE}}} command via register [#GSC_REGISTER_BACKUP GSC_REGISTER_BACKUP (R31)] described above. From this register, a user can remotely load register defaults from either location. As an additional recovery measure, a {{{10x}}} press of the pushbutton will load the values stored in the {{{FACTORY_DEFAULTS}}} location and reset the GSC as well as powercycle the board.
    10951095
     1096The factory default values are dependent upon the GSC firmware version that was programmed originally at the factory.
     1097
     1098When registers are restored from user/factory-default area only the following registers and bits are restored:
     1099 - R0[0:7]: GSC_CTRL_0
     1100 - R1[0:7]: GSC_CTRL_1
     1101 - R11[0:7]: GSC_INTERRUPT_ENABLE_0
     1102 - R15[0:2]: GSC_WRITE_PROTECT
     1103 - R17[0:7]: GSC_INTERRUPT_STATUS_1
     1104 - R18[0:7]: GSC_INTERRUPT_ENABLE_1
     1105 - R19[0:7]: GSC_THERMAL_PROTECT
     1106 - R20[0:7]: reserved
     1107 - R21[0:7]: GSC_BOOT_OPTIONS
     1108 - R22[0:7]: reserved
     1109 - R23[0:7]: CSC_CTRL_2
     1110 - R24[0:7]: reserved
     1111 - R25[0:7]: reserved
     1112 - R26[0:7]: GSC_SOFT_POWER_TIME
     1113 - R27[0:7]: reserved
     1114 - R28[0:7]: reserved
     1115 - R29[0:7]: reserved
     1116 - R30[0:7]: reserved
     1117
     1118
    10961119
    10971120[=#i2c]
     
    12471270i2cget -f -y 0 0x20 14
    12481271}}}
    1249  * after re-programming the GSC will revert some of its configuration just as if the coin-cell battery had been removed and replaced (see Battery Replacement info for details)
     1272 * after re-programming the GSC will revert some of its configuration just as if the coin-cell battery had been removed and replaced (see [#firmware-reset firmware-reset] for details)
    12501273
    12511274GSC Firmware Downloads: