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.

TMS320F28075: About flash erasing/ programming when DCSM enabled

Part Number: TMS320F28075

Hello Champs,

F28075 DCSM is enabled and one flash sector (for example sector A) and another flash sector (for example sector B) are both secured by Zone1.

If need to run flash API in sector A to erase/program sector B, would you please kindly suggest whether it's necessary to first unlock or no need to unlock?

Thanks!

Best Regards,

Linda

  • Hi,

    Please refer section "Flash and OTP Erase/Program" in F28075 TRM

    "Before programming any secure Flash sector, the user must either unlock the zone to which that particular sector belongs, using PMF or execute the Flash programming code from secure memory which belongs to the same zone"

    Thanks,

    Katta

  • Linda,

    You can not run API from one flash sector to do flash operation on other flash sector. That is not supported. You need to copy the API into secure RAM, which belongs to same zone and use that to do flash operation on secure flash sector of same zone without unlocking the zone.

    Hope this is clear.

    Regards,

    Vivek Singh

  • Hello Vivek, Hello Katta,

    It's very clear. Thank you for your kind help.

    Best Regards,
    Linda