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.

DRA829V: launch.js question

Part Number: DRA829V

in the j721e launch.js file (pdk\packages\ti\drv\sciclient\tools\ccsLoadDmsc\j721e\launch.js) it has this code to write to R5 ATCM from M3 DMSC:

    dsDMSC_0.target.connect();
    print("Fill R5F ATCM memory...");
    dsDMSC_0.memory.fill(0x61000000, 0, 0x8000, 0);
    print("Writing While(1) for R5F")
    dsDMSC_0.memory.writeWord(0, 0x61000000, 0xE59FF004); /* ldr        pc, [pc, #4] */
    dsDMSC_0.memory.writeWord(0, 0x61000004, 0x38);       /* Address 0x38 */
    dsDMSC_0.memory.writeWord(0, 0x61000038, 0xEAFFFFFE) /* b          #0x38 */

This code does not seem to work because when I connect to the R5 and look at 0x00000000, and execute a that write to 0x61000000 of 0 for 0x8000 bytes from the M3 the R5 memory is not cleared.

Also where is 0x61000000 documented in the TRM SPRUIL1B?

  • Hi Bill,

    Apologies for delay on this thread.

    Bill Morgan said:
    Also where is 0x61000000 documented in the TRM SPRUIL1B?

    This will be there in the Cortex-M3 Technical Reference Manual (3.4 System address map).

    The script resets the R5F and then loads a ccs_init_elf_file on the R5F - this could be the reason that you are not able to see the memory.

    Regards,

    Karan