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.

Change boot mode by programming OTP_KEY and OTP_BMODE



Hi there,

HW: F28069
CCS: v4 

There have been some discussions around this topic, but I'm gonna post this anyway,

My real question is:
- How to change the values of OTP_KEY (0x3d7bfe) and OTP_BMODE (0x3d7bff) respectively?

I've read that you can do it in-system using Flash API, or you can "just" edit your linker file, and so forth.
I need more :-) 

What I would like to accomplish is to edit the default boot mode settings for my Piccolo.
Why, to be able to download the "binary" via CAN-bus into RAM and run it, when power on.
I say the binary, but then there is hex2000 utility to change the *.out to a format for the bootloader to understand. 

If the solution is to edit the linker file, etc. can you provide.. what to add in *.cmd file, and how to set the correct values for each address.

Regards
Palsson