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.

F28M35H52C Flash can't be erased or programed

Other Parts Discussed in Thread: F28M35H52C

 I have baught a F28M35H52 Experimenter Kit, and it is my first time to use  F28M35H52. I made a mistake yesterday, I loaded a program, which is a example provided by TI,to F28M35H52C's M3 CPU. As we know,the M3 has only 512k on chip flash, but the program I loaded  yesterday is larger than 1.8M, so after that program load, I can't erase or program the M3 chip anymore.

following is the information when I erase or program flash.

Cortex_M3_0: Flash Programmer: Error erasing Sector N. Operation Cancelled.

Cortex_M3_0: Flash Programmer: Error erasing flash.

I'm looking forward your support.

  • Cruse,

    Did you modify the linker command file provided by TI?  If yes, please check your linker command file to see if you have allocated any sections in the password locations?

    If you have allocated any sections to password locations, then you might have programmed the password locations when you loaded the code.  You can open the debugger window and look at the password locations and copy the contents in the password locations to the password fields in on-chip flash programmer and unlock the device.  Then you should be able to erase/program the flash again.

    Thanks and regards,

    Vamsi

  • Vamsi,

           Thank you for your suggestion and support, and the locked flash has been unlocked. I have another question,as we known,master subsystem has several boot mode selections,boot in master subsystem ram or flash,or from external peripheral devices. so I want to know wether master subsystem can boot in external flash extended via EPI block?briefly speaking, I want to  M3 run in external flash,because the on chip flash is not big enough.

    Thanks and regards,

    Cruse

  • Hi Cruse,

    we don't support boot from EPI mode on the devices, yet. However we support boot to flash and in the flash customers can write a simple EPI init routine and branch to the required EPI memory address.

    hopefully that helps.

    Best Regards

    Santosh

  • Hi Santosh,

        Could you please explain how to run the code in external flash which is connected to EPI in more detail. I tried , but i dint find any document which explain the parallel operation. 

         Is it possible to run the code from SD card? If yes, then explain me that how to load the .OUT file into SD card. How it works? 

  • Please open a new thread on this question, so the respective EPI experts would get a chance to look at it.

     

    Best Regards

    Santosh