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: CortexR4: Error initializing flash programming: Target failed to read register CPSR

Part Number: RM48L952


Tool/software: Code Composer Studio

Hello 
 
 
I am  using Hercules Series micro-controller RM48L952DPGET for one of its railway project. We are in initial stage of prototyping and got stuck on below stated issue. Request you to assist us for the same.
 
  1. Code is working fine with TI Evaluation board consists of RM48L952ZWTT (BGA package).
  2. We are using RM48L952DPGET (LQFP) but code is not getting loaded and displaying error as follows
 
Load Program Error .
LE32.out load failed.
ant the console window shows the following error :
CortexR4: GEL Output: Memory Map Setup for Flash @ Address 0x0CortexR4: 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.
 
After following the suggestions as provided on TI forum we came to point where we got another sort of errors which are as follows
 
CortexR4: GEL Output:  Memory Map Setup for RAM @ Address 0x0.CortexR4: GEL Output:  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: Error initializing flash programming: Target failed to read register CPSR

CortexR4: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map.

CortexR4: File Loader: Verification failed: Values at address 0x00000000 do not match Please verify target memory and memory map.

CortexR4: GEL: File: C:\Users\sonal.sharma1\Desktop\software backup\2aug18\Debug\2AUG.out: a data verification error occurred, file load failed.

CortexR4: GEL Output:  Memory Map Setup for FLASH @ Address 0x0 due to System Reset
 
Looking for the solution as soon as possible.

  • Hello,

    Please check if all the power supply, clock and reset signals are okay. Probe the nRST pin on the device to see if it goes low when nPORRST is asserted, and goes High some time after nPORRSt is released, and then stays High. This pin also need an external pull-up on your PCB.

    Regards,
    Sunil