Skip to main content
olga
Associate
February 20, 2009
Question

code execution from RAM

  • February 20, 2009
  • 11 replies
  • 4382 views
Posted on February 20, 2009 at 12:14

code execution from RAM

    This topic has been closed for replies.

    11 replies

    olga
    olgaAuthor
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 15:01

    Why only IAP?

    Even when you want to save on the dataEE more than 4 bytes it could help saving time.

    This because if you put in the code 2 consecutive dataEE word write the core is stalled till the first one is not completed, thus for about 6ms, while doing a block write on dataEE you have to spend only small time (about 250 usec) on RAM for buffer loading and then you can come back on program memory because of RWW (read while write) feature.

    For freeing the RAM (I mean clear the previous function), you can define an array in that area and load with 0x0 for example... otherwise you can simply define the variables that you need there.

    Let me know if it is clear enough...

    Ciao,

    Olga