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.

TMS320F28052F: Can't Reflash the Micro

Part Number: TMS320F28052F
Other Parts Discussed in Thread: UNIFLASH

I am having a really strange issue across multiple programmers. I have two Elpotronics programmers, FlashPro2000 and C2000 Gang, and both of them can write to blank devices and then erase what they wrote and write it again, but if i power cycle the device so that it is running the code suddenly both throw out errors during the flash erase step. The strange thing is that i can come in with the XDS100v2 using Uniflash and erase the memory just fine and since its blank the other two programmers once again work fine on it.

This is a real issue cause I need one of the two other programmers to work, I have contacted Elpotronics but they don't seem to know what the problem is either. So what doe sthe XDS100v2 do that these other two don't?

  • Ruben,

    Elprotronic customer support may not be available until mid next week. I will try getting in touch with them and see if the respond. Few questions:

    What is the error that you get with Elprotronic programmers?

    Did you try to put the device in wait boot mode before trying to erase with those programmers?

    Did you program passwords in the device? If yes, did you input the passwords in Elprotronic tool's GUI so that they can unlock the device before attempting the Flash operation? (I guess you did not program the passwords since UniFlash is able to erase the devices - but asking in case you might have entered the passwords in UniFlash GUI making it successful).

    Thanks and regards,
    Vamsi
  • The error I get is Flash Erase Timeout for the C2000 Gang and Flashpro2000 just says flash erase step failed. I have not put any CSM on the code and i have checked the addresses on the micro where the CSM goes just to make sure nothing ended up in there, they are blank. I am no certain about wait to boot mode ill look into it with my developer and let you know.
  • Ruben,

    Thank for the update. I contacted Elprotronic. Please try the Flashpro2000 that Elprotronic sent you.

    Thanks and regards,
    Vamsi
  • I did, I originally only had the Gang 2000, I got he Flashpro 2000 they sent me and tried with that one and it says flash error
  • Ruben,

    Did you try to program any TI example and then erase using Elprotronic tools? If yes, did that succeed?

    Did the Elprotronic tools start to fail after you modified your application recently or they never succeeded to erase/program an already programmed device?

    Thanks and regards,
    Vamsi
  • The tool never succeed in the first place. Throughout the development process we were using the XDS100v2 which works fine. I just tried programming the chip with some TI sample code and i still get the same error using the Gang 2000

    ERROR 71: Flash Erase timeout
    Failed
    ERROR 71: Flash Erase timeout

    And i get the same erase error with the FlashPro2000

    Erasing memory ............................... failed
    --------------- FAILED !!! -----------------
  • Ruben,

    Thank you for the update. Elprotronic told me that their understanding is that programming a specific register (as part of your application) is triggering this behavior. Hence asked you on whether it was able to program earlier or not so that we can debug looking at the recent changes you made in your application - but looks like that is not the case.

    Elprotronic will be able to look at your issue mid next week.

    Please try wait boot mode.

    Thanks and regards,
    Vamsi
  • I will try wait to boot mode next, I am currently going through the documentation to figure out how to do just that.
  • I can't seem to get it into boot mode. Is there a set of instructions somewhere in the manual?