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.

CCS/RM48L952: Program load error from porting to RM48L952 BGA to RM48L952 LQFP package

Part Number: RM48L952

Tool/software: Code Composer Studio

Hello

My program is running successfully in RM48L952 BGA package (TI EVM board) but it cause load program error in our own design board having RM48L952 LQFP package.

I am new to this board and struggling to get solution for it.

Thanks in advance!!!!

  • Hello,

    Please make sure that all power, clock and reset connections are okay. What is the actual error that you are getting during program load?

    Regards,
    Sunil
  • Hello,

    All connections are okay.

    Following errors appear while loading program :

    For Debugging Only!CortexR4: Trouble Halting Target CPU: (Error -2062 @ 0x136) Unable to halt device. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.504.1)
    CortexR4: GEL Output: Memory Map Setup for FLASH @ Address 0x0 due to System Reset
    CortexR4: Trouble Halting Target CPU: (Error -2062 @ 0x136) Unable to halt device. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.504.1)
    CortexR4: File Loader: Failed to terminate flash programming: Target failed to write 0x08000000
    CortexR4: GEL: File: C:\Users\sonal.sharma1\Desktop\software backup\3aug18\Debug\RM48 HDK RevE Demo LE32.out: Load failed.

    One more thing whenever i see memory brower while erasing and loading the program i can see that that program is loaded but still these error appears each time.

  • Sonal,

    This usually means that the code in the MCU flash memory is making the CPU enter an exception state such that it ignores the debug state entry request from the debugger or flash tool. You need to try and halt the CPU before it executes the part of code that makes it enter the exception state (abort, most likely). You may have to attempt multiple times to reset the part and try and erase the flash memory.

    You can follow the sequence defined in this post:
    e2e.ti.com/.../2577083

    Regards,
    Sunil
  • Hello,

    I followed the sequence and my target connection is succeeded .The problem is that the same code is running in TI evaluation board without any error.I doubt that may be my debug configuration is not proper or there is problem with environment setup.Please help me out.

  • Hi Sonal,

    There are several ways for the CPU to enter an exception state. It is hard to say what is causing the issue without further information. There are some differences between the max clock frequencies supported between the different device packages: BGA versus QFP.

    You can cause the issue again by running the code using the debugger, and then identify the exception being caused by reading the CPU's abort status and address registers.

    Regards,
    Sunil
  • Hello sir,

    I have identified the problem.There is an IC on our board which reset the processor. So after removing that connection issue is resolved and all errors are disappeared.

  • Sonal,
    Thanks for the confirmation.

    Regards,
    Sunil