Skip to main content
kirem
Associate II
May 8, 2018
Question

PCROP Confusion

  • May 8, 2018
  • 0 replies
  • 387 views
Posted on May 09, 2018 at 00:54

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

    This topic has been closed for replies.