Changes between Version 30 and Version 31 of gsc


Ignore:
Timestamp:
03/27/2019 06:07:23 PM (4 months ago)
Author:
Cale Collins
Comment:

added clarity to reset cause

Legend:

Unmodified
Added
Removed
Modified
  • gsc

    v30 v31  
    636636
    637637[=#reset-cause]
    638 == GSC Reset Cause (GSCv3)
     638== GSC Reset Cause (GSCv3 GSC firmware version v53 or greater)
    639639On most boards, the Gateworks System Controller has the ability to disable primary board power. This is used as a form of 'hard reset' in many cases. You can determine if and why the board was hard reset by looking at the value of the GSC_RESET_CAUSE register.
    640640
    641641Note that the Newport boot firmware will display the reason on bootup. Note that the value of 0, reported as 'VIN' indicates the GSC did not reset the board power supply and the board powered up because of Vin being applied externally.
    642642
     643Example:
     644* Read register from Linux
     645{{{#!bash
     646i2cget -f -y 0 0x20 16
     647}}}
     648 The result of this register will be a hex value, consult register table for definition. 
     649* Boot up of Newport
     650{{{#!bash
     651Gateworks Newport SPL (dd369f7 Thu Feb 14 22:58:33 UTC 2019)
     652
     653GSC     : v53 0x0e68 RST:VIN Thermal Protection Enabled
     654Temp    : Board:60C/86C
     655Model   : GW6304-B3
     656}}}
     657 The value provided in the GSC banner above after "RST:" will be one of the following:
     658 "VIN","PB","WDT","CPU","TEMP_L","TEMP_R","SLEEP","BOOT_WDT1","BOOT_WDT2","SOFT_PWR" consult [#GSC_RESET_CAUSERegisterR16:ResetCausethis table]
     659 for definitions.   
    643660
    644661[=#thermal-protection]