]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/sciclient.git/commitdiff
Launch Script Updates for running the DDR config when running System firmware
authorPiyali Goswami <piyali_g@ti.com>
Wed, 15 May 2019 15:23:52 +0000 (10:23 -0500)
committerPiyali Goswami <piyali_g@ti.com>
Wed, 15 May 2019 15:23:52 +0000 (10:23 -0500)
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
tools/ccsLoadDmsc/j721e/launch.js

index b7079cf7658631c07355071eb9663a43f2d67199..54e4fe3ea2a19086b15312b6f3025fc336bd9aed 100755 (executable)
@@ -55,7 +55,7 @@ if (disableGelLoad == 0)
     gelFilePath = "k3-avv-repo/framework/gels/K3J7";
 }
 //PDK path. Edit this
-pdkPath = "Z:/anandm/work_area/pdk";
+pdkPath = "D:/WORK/GIT/PDKK3/pdk";
 
 //path to board config elf
 ccs_init_elf_file = pdkPath+"/packages/ti/drv/sciclient/tools/ccsLoadDmsc/j721e/sciclient_ccs_init_mcu1_0_release.xer5f";
@@ -125,14 +125,20 @@ function connectTargets()
     dsMCU1_0.target.halt();
     // Run Synchronously for the executable to finish
     dsMCU1_0.target.run();
+    
+    /* Run the DDR Configuration */
+    dsDMSC_0.target.halt();
+    dsDMSC_0.expression.evaluate("J7ES_LPDDR4_2133MTs_Config_Late()");
+    dsDMSC_0.target.runAsynch();
 }
 
 function disconnectTargets()
 {
     updateScriptVars();
-
     // Disconnect targets
     dsDMSC_0.target.disconnect();
+    // Reset the R5F to be in clean state.
+    //dsMCU1_0.target.reset();
 }
 
 function doEverything()