Part Number: TM4C1294NCPDT
Tool/software: TI C/C++ Compiler
Hi Folks,
I want to protect my binary from unauthorized reuse, so I want to lock the device's flash. As I know well, it is only possible to protect the .text section (it is the executable), but my .cmd file looks like this:
.intvecs: > 0x00000000
.text : > FLASH
.const : > FLASH
.cinit : > FLASH
.pinit : > FLASH
.init_array : > FLASH
I think, the .text section should stay at the end and the linker should be forced to align into the lockable page boundary. Can anybody suggest me, what is the right way / best practice to do that?
Regards,
Norbert