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.

TMS320F28379D: CPU2 does not work when power-off

Part Number: TMS320F28379D


Hi,

We use TMS320F28379D's two C28X core, CPU1 for motion control and CPU2 for EtherCAT communication.

We find that both two core have burned flash, after power-off, CPU2 could not work.

Dou you have any experience on this issue, could you help to give some suggestion?

Thanks,

Walsh

  • Hi Walsh,

    What do you mean by "two cores have burned flash"?
    When you say CPU2 could not work, what does it mean, are you not able to get CPU2 out of Reset or not able to execute any code?

    Please provide more information with the code if possible on what you are trying to do, and where the part is not working.

    Regards,
    Nirav
  • Walsh,

    In standalong mode:

    CPU1 boot mode is controlled by CPU1.DcsmRegsZ1.Z1_BOOTCTRL (or) CPU1.DcsmRegsZ2.Z2_BOOTCTRL registers

    CPU2 boot mode is controlled by CPU2.DcsmRegsZ1.Z1_BOOTCTRL (or) CPU2.DcsmRegsZ2.Z2_BOOTCTRL registers.

    Connect to CPU2 in CCS and check for the contents of above registers. If CPU2 DCSM registers mentioned above aren't programmed, CPU2 is configured to go into wait boot mode.

    If you want CPU2 to execute code from flash on reset,

    CPU2.DcsmRegsZ1.Z1_BOOTCTRL.bit. KEY = 0x5A
    CPU2.DcsmRegsZ1.Z1_BOOTCTRL.bit. BMODE = 0x0B
    (or)
    CPU2.DcsmRegsZ2.Z2_BOOTCTRL.bit. KEY = 0x5A
    CPU2.DcsmRegsZ2.Z2_BOOTCTRL.bit. BMODE = 0x0B

    Regards,
    Manoj