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.

TMS320C6746: The program stops.

Part Number: TMS320C6746


Hi all.

When I do a CPU Stop in debug mode, the PC goes to 0x00712148 and stops at the IDLE instruction there.
SP also becomes 0x00F006B0.
(In this state, the program cannot be reloaded).
Also, when I use an external interrupt (using GP00 as INT4), the same problem occurs.
Why does this happen?

Thank you very much for your help.
Suzuki

  • Addendum
    Incidentally, interrupts occur at regular intervals. (10mS)

  • Suzuki-san,

    The address 0x00712148 is in the device L2 ROM memory. It appears for some reason the CPU may be getting reset which pushes the code into ROM memory. I am not sure the SW is triggering the reset. Can you please make sure there is no HW issue with power supply that may be causing this issue. 

    We need more info to understand your setup. Does this happen on multiple boards or just on one or two boards? What code are you running? When you go in debug mode what are the boot switch settings? IS there any boot image in the boot media

    Regards,

    Rahul

  • Hi Rahul.
    Thank you for your answer.
    There was no reply button, so I will reply here.

    I made a mistake in setting the PLL and it was exceeding the upper frequency limit.
    After fixing it, it works now.

    On a related note, if I do a CPU Reset while the program is stopped, the same situation occurs.
    The program will start running.
    When I stop the program, the PC moves to 0x00712148, where it stops with an IDLE instruction.
    SP also becomes 0x00F006B0.
    If you then reload and run the program and then stop, you will be in the same state.
    If you reload the program again, the program will run normally.
    I have to run the reload twice for the program to work properly, what is the cause of this?
    By the way, the same situation occurs when I use the evaluation board.

    Thank you very much for your help.
    Suzuki