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.

TMS320F28035-EP: OTP erasure during development ?

Part Number: TMS320F28035-EP
Other Parts Discussed in Thread: UNIFLASH

Tool/software:

I know. I hate asking a question that I feel in my gut that I know what the answer will be.

During development, I programmed my '28035 with a table in OTP, but it mis-located by two memory locations.

Of course, I fixed the code to locate the table into the correct location, but I cannot erase/overwrite/repair the data that is already programmed into OTP.

When I try, I get various flash write errors - "C28xx: Flash Programmer: Error encountered when writing to flash memory".

I assume that this is because it cannot overwrite the OTP, and cannot verify.

So my question is this. Can I repair this chip, or do I have to remove it ?

Also, while I am asking, has anyone at TI considered configuring "OTP" a bit differently. That is, OTP is a small flash block that can be programmed/erased during development, then permanently locked when development is complete ? This would eliminate, or greatly reduce the probability of this problem.

Thanks.

  • Hi Gregory,

    By default, CCS (maybe UNIFLASH too) will try to erase all flash before it tries to write anything new to flash. 

    Could you try changing this setting to erase only the flash sectors/banks that you are trying to program? 

    I'm not sure how changing the OTP like this would stop you from being able to flash the device at all, but I would hope that playing with the FLASH load settings might be able to get you past this. 

    Actually this would make sense if you have accidentally programmed a password. Could you please check that? 

    Best Regards,

    Ben Collier