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.

on chip flash earsing

Other Parts Discussed in Thread: HALCOGEN, 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).

We have enabled  SCI/LIN , GIO and N2HET1 in halcogen , where N2HET1  which are used as GPIO  .SCI is using for debugging purpose.

In main program we are setting  HET1 pins are high and erase  sector of BANK0 (sector4(0x00020000)).  i have attached file which contains the function which i am using., Here by using this i am  initialize flash banks , enable the particular bank in flash and there sectors  , when the FSM is free ,  i am send a command to the FSM . When trying  to set the active BANK in the flash( Fapi_setActiveFlashBank(Bank) ),  program is hanging in that function  .  can u tell the reason for this?

thank you.