This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ARM243X- HSFS : Error to load the File load_dmsc_hsfs.js

Hi,

We are trying  to put a custom board in operation with an arm243X - Device Type HSFS.

we are using the TI Migrations Guide:

  • Set the board in DEV-BOOT mode (mandatory)
  • Power ON the EVM/board
  • Launch the CCS target configuration file
  • Run the load_dmsc_hs_fs.js script from the scripting console
  • Wait for the SYSFW version to be printed on CCS console
  • Manually reset the R5FSS0_0 core and proceed towards application load

but the JS File runs until :

print("Run Synchronously");
dsMCU1_0.target.run();

wait 20 Sec than there is a Timeout

as follow:

js:> loadJSFile "C:\ti\mcu_plus_sdk_am243x_08_04_00_17\tools\ccs_load\am243x\load_dmsc_hsfs.js"

Connecting to MCU Cortex_R5_0!

Writing While(1) for R5F

Running the board configuration initialization from R5!

Halt the R5F and re-run.

End Halt the R5F and re-run.

Run Synchronously

com.ti.debug.engine.scripting.Target.run(): Timed out after 200000ms (C:\ti\mcu_plus_sdk_am243x_08_04_00_17\tools\ccs_load\am243x\load_dmsc_hsfs.js#160)

  • Do you know what  could be the problem?

Laut the Specification  the M3 JTAG is locked and so can't connect to M3 and run GELs, but we need to activate the holdline related to DMSC.  

  • Do you know how we can the M3 unlocked?

Thanks a Lot,

Best Regards.

Karen

  • Hello Karen,

    This issue has been assigned and the subject matter expert is currently OOO and will not be available until next week (10/31/2022)  to provide a response. Thank you for your patience.

    Best Regards,
    Zackary Fleenor

  • Hi,

    Thanks for the Info.

    I found the error, it is directly in the file \\ti\mcu_plus_sdk_am243x_08_04_00_17\tools\ccs_load\am243x\load_dmsc_hsfs.js. 

    the line 225 include ccs_init_elf_file = sdkPath+"/tools/ccs_load/am243x/sciclient_set_boardcfg.release.out" that is wrong, it must be 

    ccs_init_elf_file = sdkPath+"/tools/ccs_load/am243x/sciclient_ccs_init.release.out_hffs";

    I made the changes, the script runs to the end

    [MAIN_Cortex_R5_0_0] ERROR: Bootloader_socCpuPowerOnResetM4f:543: CPU power off failed for m4f0-0

    DMSC Firmware Version 8.4.1--v08.04.01 (Jolly Jellyfi
    DMSC Firmware revision 0x8
    DMSC ABI revision 3.1

    [SCICLIENT] ABI check PASSED
    [SCICLIENT] Board Configuration with Debug enabled ...
    [SCICLIENT] Common Board Configuration PASSED
    [SCICLIENT] PM Board Configuration PASSED
    [SCICLIENT] RM Board Configuration PASSED
    [SCICLIENT] Security Board Configuration PASSED

    DMSC Firmware Version 8.4.1--v08.04.01 (Jolly Jellyfi
    DMSC Firmware revision 0x8
    DMSC ABI revision 3.1

    All tests have passed!!

    Best Regards!

    Kaen

  • Hi Karen,

    Thanks for pointing this out. We will work on this and will share the fix in the latest version. We have also raised an internal ticket for the same.

    Best Regards,
    Aakash