TMS320F28379D: Programming of LINKPOINTER Displays Errors But Succeeds

Part Number: TMS320F28379D

Greetings,

I programmed new LINKPOINTER values into my processor, and received the errors copied  below.  In spite of those errors, the process ultimately succeeded.  The behavior on the second core was identical.  What are these errors telling me, and what must I add to my sequence below to prevent them?

Sequence

  • Load the new LINKPOINTER values.
  • Load the passwords
  • Click “Program Password”
  • Click “Program LINKPOINTER”

Errors

C28xx_CPU1: Error occurred during flash operation: CPU Reset error. The requested reset was aborted.

C28xx_CPU1: Error occurred during flash operation: Timed out waiting for target to halt while executing wr_pll.alg

C28xx_CPU1: Error writing the PLL values (Flash algorithm timed out). Operation cancelled.

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.

 

Thank you,

 Ed

  • Ed,

       What version of CCS are you using?

  • Sorry.  Should have included that info.  We are using 9.1.0.00010.

    Ed

  • Hi Ed,

    1) If not the linker pointer and passwords, are you able to program flash successfully with your board+CCS setup?

    2) Did you try below suggestion that we print in the console window (copied from your post)?  

    Perform a debugger reset and execute the Boot-ROM code (click on the RESUME button in CCS debug window) before erasing/loading the Flash.  

    3) Could you try with latest CCSv10.x and see if it works fine with you?

    Thanks and regards,
    Vamsi

  • Hi Vamsi,

    1.  The LINKPOINTER was programmed successfully, and everything is working as expected based on that programming.  Other flash programming is also successful.  We simply received the errors which appear to have been sent in error as I can't find anything else wrong.
    2. I had done a debugger reset, but it was several minutes in the past, as code was loaded and run which deliberately locked the device.  After the successful locking, I was unlocking it when I got the error.  Interestingly, doing this another time, and much closer to the reset and restart produced no errors.  So maybe that is the solution.
    3. Obviously, I can’t do this too many times.  So the next time I do this, I will try using CCS 10.

     Thank you,

    Ed

  • Ed,

    Ok, got it.  Yes, please follow the reset, run bootROM before flash/OTP operations next time.

    Can I consider this closed for now?

    Thanks and regards,

    Vamsi

  • Hi Vamsi,

    Go ahead and close it.  It will probably be a while before I do this again.

    Thanks,

    Ed