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.

Error: Read status value 0x0001 from symbol PRG_status tms320LF2407

Other Parts Discussed in Thread: SPRC141

 I am programing a  motor drive board with a TMS320LF2407APAGA. I haveing a problem with Flash. I am using CCS3.3. For a test I am trying to program c_coxist from SPRC141. It builds ok, but when I use the ON-Chip Flash Programmer (CCS3.3) I get:

**** Begin Sector Clear Operation ****
OK: Flash Algorithm loaded into DSP memory
OK: Write sector value 0x000f to symbol PRG_options
OK: Set Breakpoint at PRG_stop
OK: Running flash algorithm
OK: DSP Halted
OK: Read status value 0x0000 from symbol PRG_status
OK: PC set to PRG_erase
OK: Running flash algorithm
OK: DSP Halted
Error: Read status value 0x0001 from symbol PRG_status
Flash algorithm failed during clear operation

The Code Security Password keeps changing, I have to VIEW Memory (0x4) for the new password. Thus over writing my cmd file from SPRC141 is :

/*--------------------------------------------------------------------------------------------------
 * Filename         : MAIN.CMD  
 * Last Modified    : 26 Dec 2001.
 * Version          : 1.3
 * Originator       : Texas Instruments, DSP Digital Control Systems Group.
 *--------------------------------------------------------------------------------------------------
 * Revision history :
 *
 * Version 1.3 (2 Jan 2002):
 *                    * Added header which was missing.
 *                    * Added allocation for .bss and .stack sections.
 *                    * Modified memory block PROG to start at 0x44, so as to
 *                      keep out of the password area on the rev-A parts
 *
 */

MEMORY
{
  PAGE 0 : VECS:  origin = 0x0000, length = 0x0040
  PAGE 0 : PROG:  origin = 0x0000, length = 0x7fbc
  PAGE 0 : ABSRAM:  origin = 0x8000, length = 0x0040
  PAGE 0 : SARAM:  origin = 0x8040, length = 0x07c0
  PAGE 1 : BLKB2:  origin = 0x0060, length = 0x0020
  PAGE 1 : BLKB0B1: origin = 0x0200, length = 0x02ff

}
SECTIONS
{                      
 VECTORS : {} > VECS PAGE 0 

    .text   : {} > PROG PAGE 0
    .cinit  : {} > PROG PAGE 0

/* Allocate the relocation sensitive portions in SARAM
   at proper addresses. The relocation sensitive section
   should always be sent to a RAM block starting on XXX0
   for the relocation mechanism to properly locate the
   code with relocation sensitivities.
 */

 UNION    run = ABSRAM PAGE 0
 {  
     CSPL_tex: load = PROG PAGE 0
     {
     .+= 7;
     ClearAlgoRunSpl = . ;
     *(CSPL_text)
     }
     
      
     PSPL_tex:  load = PROG PAGE 0
     {
     .+= 7;
     ProgramAlgoRunSpl = . ;
     *(PSPL_text)
     }

     ESPL_tex:  load = PROG PAGE 0
     {
     .+= 7;
     EraseAlgoRunSpl = . ;
     *(ESPL_text)
     }
 }
 

    UNION   run = SARAM PAGE 0
 {
     CLR_text: load = PROG PAGE 0
     {
     ClearAlgoRunMain = .   ;
     }
      
        ERA_text: load = PROG PAGE 0
        {
        EraseAlgoRunMain = .   ;
        }

        PGM_text load = PROG PAGE 0
        {
        ProgramAlgoRunMain = . ;
        }
    }


  KER_comp : load = PROG PAGE 0, run = SARAM PAGE 0
    {
  KernelRun = .;
 *(KER_strt)
 *(KER_text)
 *(KER_end)
    }

 

    .flshvar  : {} > BLKB2  PAGE 1
    .bss      : {} > BLKB0B1 PAGE 1
    .stack    : {} > BLKB0B1 PAGE 1


}

 

I am fimiliar w/ flashing 2812, I am not sure what I am missing for the Lf2407

Thank

John