Part Number: TMS320F2800157-Q1
Hello ,
I am working with TMS320F2800157-Q1 microcontroller for one of my project. I was flashing the device with no problem for some days. But, suddenly one time I got the following error during flashing.
C28xx_CPU1: GEL Output:
Memory Map Initialization Complete
C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Start ...
C28xx_CPU1: GEL Output: ... DCSM Initialization Done ...
C28xx_CPU1: Warning: Failed unlocking device (zone 1) after reset.
C28xx_CPU1: Warning: Failed unlocking device (zone 2) after reset.
C28xx_CPU1: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x8058: (Error -1066 @ 0x8058) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 9.11.0.00128)
C28xx_CPU1: Breakpoint Manager: Retrying with a AET breakpoint
C28xx_CPU1: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x8154: (Error -1066 @ 0x8154) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 9.11.0.00128)
C28xx_CPU1: Breakpoint Manager: Retrying with a AET breakpoint
C28xx_CPU1: Error executing PLL configuration algorithm. Operation cancelled. (0x0)
C28xx_CPU1: Perform a debugger reset and execute the Boot-ROM code (click on the RESUME button in CCS debug window) before erasing/loading the Flash. If that does not help to perform a successful Flash erase/load, check the Reset cause (RESC) register, NMI shadow flag (NMISHDFLG) register and the Boot-ROM status register for further debug.
C28xx_CPU1: File Loader: Memory write failed: Unknown error
C28xx_CPU1: GEL: File: C:\Work Files\CCS_code\100617_obc_appl\software\source\DEBUG\100617_obc_appl_EMC.out: Load failed.
C28xx_CPU1: Trouble Setting Breakpoint with the Action "Remain Halted" at 0x8058: (Error -1066 @ 0x8058) Unable to set/clear requested breakpoint. Verify that the breakpoint address is in valid memory. (Emulation package 9.11.0.00128)
C28xx_CPU1: Breakpoint Manager: Retrying with a AET breakpoint
I tried it changing all the setting and it was giving me same error. With the same setting I was able to flash other boards with no problem.
And after much research, I found out that it is mostly connected to XRSn pin.
Therefore, I tried to look up at this. (blue colour is the XRSn pin)

The XRSn pin keeps going down after the power up. (happens at 60Hz frequency)
I tried to observe, VDDIO,VDD and other lines. They were all stable and there was no disturbance in them.
Therefore, I thought microcontroller damage, then I changed the micrcontroller on the board.
After soldering new microcontroller, I am getting the same error and XRSn looks the same.
I checked all the components in and around microcontroller, but, was unable to find any fault.
I am out of idea how to get this board working. '
Please help me if anyone has some insights,