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.

flash erasing

Other Parts Discussed in Thread: TMS570LS3137

dear e2e ,

We are using  tms570ls3137 hdk  , ide we are using is ccs v 6.0 , also  halcogen v 4.4.0 for configuration.

We are trying to erase  on chip flash by using application interface(API021).

I am trying to erase same bank where executing code resides.  

Is it possible to erase  banks(bank0 and bank1) by executing flash API  code in BANK 7 ?

  • Hi Chethan,

    You can erase the sectors in Bank1 from the code executing in Bank0, or erase the Bank0 sectors from the code in Bank1. You can't erase the sectors which is located in the same bank as your executing code. I prefer to erase the bank from SRAM.

    The BANK7 is used for EEPROM.

    Regards,

    QJ

  • hi ,

    I am using TMS570ls3137 , ccs 6.0.1

    I am trying to erase the sectors in Bank1 from the code executing in Bank0.

    I changed .cmd file , for putting excuting  code in bank0 and copy the api to ram.  I attached the changed .cmd file. 

    Is the code according to our requirment. if there is any changes is required in the code , please inform me.

    After changes made in .cmd file my code not executing.5305.cmd file.txt