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.

CCS/TMS320F28027: OTP section Question

Part Number: TMS320F28027
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Hi!

I want to program OTP_KEY and OTP_MODE section of OTP flash, for bootloading from flash. I started programming c2000 microcontrolers recently.

Project:

-Using custom board with f28027, all pins are used, so booting from driving GPIOs for selecting bootload isn't posible

-I manage to set program and flash.cmd that it programs my code into flash sectors. (controlSuit example ...v230/Example_28027_Flash)

-Using Code Composer v7

Went through datasheet of flash programming, but i'm in hurry and really don't know where to write, or how to write code line for programming OTP sector.

Uniflash with XDS100v1 doesn't work for me.

Thank you in advance!

  • Hi Ales,

    -Using custom board with f28027, all pins are used, so booting from driving GPIOs for selecting bootload isn't possible

    Even for Get Mode, you need to drive 1/1 on BOOTMODE pins else it'll not work. And if BOOT-PINS are set to 1/1 then even if nothing is programmed in OTP KEY, by default device will BOOT from Flash.

    Regards,

    Vivek Singh