vref_ctrl analysis
authorBrad Griffis <bgriffis@ti.com>
Mon, 9 Nov 2015 21:20:36 +0000 (15:20 -0600)
committerBrad Griffis <bgriffis@ti.com>
Mon, 9 Nov 2015 21:20:36 +0000 (15:20 -0600)
am335x-ddr-analysis.dss

index f7f9604b3d0b5ed356fddb63761349b8bc89fc2e..6e7db72978735adabb7c9b538fef5b708c2285a3 100644 (file)
@@ -312,6 +312,11 @@ if ( reg_val == 0 ) {
 \r
 // CONTROL: VREF_CTRL\r
 reg_val = printRegisterValue(debugSessionDAP, "CONTROL: VREF_CTRL", 0x44E10E14);\r
 \r
 // CONTROL: VREF_CTRL\r
 reg_val = printRegisterValue(debugSessionDAP, "CONTROL: VREF_CTRL", 0x44E10E14);\r
+if ( (reg_val & 1) == 0 ) {\r
+       file.write("  * VREF supplied externally (typical).\n");\r
+} else {\r
+       file.write("  * Internal VREF (unusual).\n");\r
+}\r
 \r
 // CONTROL: DDR_CKE_CTRL\r
 reg_val = printRegisterValue(debugSessionDAP, "CONTROL: DDR_CKE_CTRL", 0x44E1131C);\r
 \r
 // CONTROL: DDR_CKE_CTRL\r
 reg_val = printRegisterValue(debugSessionDAP, "CONTROL: DDR_CKE_CTRL", 0x44E1131C);\r