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.
surendra malampati said:I have a small technical doubt
Just a "small" one? Did you not ask near identical question - right here - just yesterday? And was that not answered?
It's not our job to, "Answer to your hopes/dreams" but to what we believe (and know) to be correct. Don't you agree?
As clearly stated - just yesterday - you cannot "protect" your code on this class of MCU. You may make it a bit harder - take bit longer - but a determined hacker can (relatively) quickly - defeat your defense mechanisms. As a "doubt remover" - it's not hard to "decap" any MCU - and via x-ray - expose each/every byte of your (not well protected) code!
MCU vendors most always include "disclaimers" which disavow any guarantee that your code can be, "protected." At some point - you might come to accept this... (and release that "small" doubt...)
As past stated - and now repeated here - those functions are emplaced to force, "bit harder & more time consuming hurdle" in front of an "amateur hacker."
A skilled, serious, determined hacker (i.e. a "pro") can quickly/easily pull every byte of your code - even if (and especially if) you provide all those "protections" and blow the JTAG fuse (or otherwise disable JTAG.)
As elsewhere stated - search for "Secure MCU" to see - how far more expensive MCUs "attempt" to deal w/such issues.
As one further "reality check" - if Governments cannot adequately secure their data - do you believe that a sub 10 (USD) MCU can be "protected?"
Note that MCU vendor's use of "protect" does not extend to, "Degree of protection!" Reality is sometimes harsh - 10 (USD) cannot come close to, "Protecting!"
Reread my earlier post - which suggested "protection" as a "false God" - and offered other methods to (far better) rebuff such attacks.
If you're really interested - books exist - Google should yield days of reading - there is NO quick/easy (effective) "protection" strategy...
@ Robert & Amit,
I've clicked "Like" for both of your posts.
Amit provides great TM4C detail - and it's general enough to apply across many MCUs - many vendors. It should be stated that this is by NO MEANS any limitation of the TM4C - it is a very common limitation of most all MCUs. (but for those specially hardened - and as Robert notes - those too may be "broken.")
Robert's post is simply terrific - more patient than mine - yet my "Fool's Gold" analogy appears to hold - even sanctioned by these two forum "experts."
Reality is indeed harsh at times - "protection" stemmed more from vendor's marketing dept. than from its engineering or "fact check" division...
One may (later) examine the degree of "launch" provided by a small pcb which does not properly "group" serial ports/pins - provides only one "level converter" (none for RS232/485, CAN, nor default pull-up Rs for I2C, nor UART to USB converters for all ports beyond Port A.) Econo - surely - launch - not so much!
We do love our marketing dept... And - might your "small technical doubt" now - have been resolved?