AnsweredAssumed Answered

PCROP Confusion

Question asked by kirem on May 9, 2018

I understand that there have been many threads about PCROP here. I am trying to understand the logic behind having to build code using mpure-code on gcc or the equivalent on other compilers that allows the avoidance of generating code without literal pools. Wouldn't it be easier if the code running from flash could read from itself ?


I have been looking into using the PCROP feature and I was hoping that I could protect all the sectors in the flash but, if code executing in flash can't read from flash then this isn't possible.


Does anyone share my view or could enlighten me if I've misunderstood this?


Thanks, Kirem