Index: tests/dg_nvm_scripts.py =================================================================== diff -u -rd35f88b19a29e12c617b00bcd2b340a5ada8ffcc -raac674e50cf3bad1ac45386f289a275c8daf37cd --- tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision d35f88b19a29e12c617b00bcd2b340a5ada8ffcc) +++ tests/dg_nvm_scripts.py (.../dg_nvm_scripts.py) (revision aac674e50cf3bad1ac45386f289a275c8daf37cd) @@ -1,14 +1,14 @@ ########################################################################### # -# Copyright (c) 2022-2023 Diality Inc. - All Rights Reserved. +# Copyright (c) 2022-2024 Diality Inc. - All Rights Reserved. # # THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN # WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. # # @file dg_nvm_scripts.py # # @author (last) Dara Navaei -# @date (last) 17-Apr-2023 +# @date (last) 02-Mar-2024 # @author (original) Dara Navaei # @date (original) 10-Feb-2022 # @@ -32,7 +32,7 @@ # Use cmd_set_dg_sw_config_record() set the changes back to firmware # This function requires an address for the excel report. Use the absolute address of your excel report like the # example below - dg.sw_configs.cmd_update_dg_sw_config_record('/home/fw/projects/DG_NV_Records/2023-04-25-DG-SW-CONFIGS-Record.xlsx') + dg.sw_configs.cmd_update_dg_sw_config_record('/home/fw/projects/DG_NV_Records/2023-07-20-DG-SW-CONFIGS-Record.xlsx') # Use this function to reset the configuration records to all be 0 #dg.sw_configs.cmd_reset_dg_sw_config_record() @@ -54,7 +54,7 @@ # Use cmd_set_dg_calibration_excel_to_fw() set the changes back to firmware # This function requires an address for the excel report. Use the absolute address of your excel report like the # example below - dg.calibration_record.cmd_set_dg_calibration_excel_to_fw('/home/fw/projects/DG_NV_Records/2023-02-01-DG-Record.xlsx') + dg.calibration_record.cmd_set_dg_calibration_excel_to_fw('/home/fw/projects/DG_NV_Records/2024-03-02-DG-Record.xlsx') # For resetting the calibration record to benign values, use the function below #dg.calibration_record.cmd_reset_dg_calibration_record() @@ -68,9 +68,9 @@ # It creates a folder called DG_NV_Records in the destination that is called # If no address is provided, the default location is one folder above the dialin folder wherever it is installed # in your computer. - #dg.system_record.cmd_get_dg_system_record_report() + dg.system_record.cmd_get_dg_system_record_report() - dg.system_record.cmd_set_dg_system_record_excel_to_fw('/home/fw/projects/DG_NV_Records/2023-02-04-DG-Record.xlsx') + #dg.system_record.cmd_set_dg_system_record_excel_to_fw('/home/fw/projects/DG_NV_Records/2023-02-04-DG-Record.xlsx') # For resetting the system record to benign values, use the function below #dg.system_record.cmd_reset_dg_system_record() @@ -86,7 +86,7 @@ # in your computer. dg.usage_record.cmd_get_dg_usage_info_record() - #dg.usage_record.cmd_set_dg_usage_info_excel_to_fw('/home/fw/projects/DG_NV_Records/2022-12-07-DG-Record.xlsx') + #dg.usage_record.cmd_set_dg_usage_info_excel_to_fw('/home/fw/projects/DG_NV_Records/2023-06-13-DG-Record.xlsx') #dg.usage_record.cmd_reset_dg_usage_info_record() @@ -99,9 +99,9 @@ # It creates a folder called DG_NV_Records in the destination that is called # If no address is provided, the default location is one folder above the dialin folder wherever it is installed # in your computer. - dg.service_record.cmd_get_dg_service_record() + #dg.service_record.cmd_get_dg_service_record() - #dg.service_record.cmd_set_dg_service_record_excel_to_fw('/home/fw/projects/DG_NV_Records/2022-12-07-DG-Record.xlsx') + dg.service_record.cmd_set_dg_service_record_excel_to_fw('/home/fw/projects/DG_NV_Records/2023-10-23-DG-Record.xlsx') #dg.service_record.cmd_reset_dg_service_record() @@ -112,9 +112,9 @@ if dg.cmd_log_in_to_dg(): - run_sw_configs_commands() + #run_sw_configs_commands() - #run_calibration_commands() + run_calibration_commands() #run_system_commands()