AnsweredAssumed Answered

AN4329 Copy function to RAM and execute from RAM (frdm-k64 example project)

Question asked by Jacob Jennings on May 12, 2016
Latest reply on May 13, 2016 by Jacob Jennings



Based on AN-4329, I assembled a test project (attached) for the FRDM-K64F which attempts to copy a function to RAM and run it, but I am getting a fault when attempting to call the function. The Source and Destiny variables seem to be in the correct ranges in copyToMyRam, but the call fails.


AN4329 - NXP

Note changes in the ProcessorExpert.ld file, and main.c


Any advice is appreciated! It seems very close.




Original Attachment has been moved to: