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.
Note changes in the ProcessorExpert.ld file, and main.c
Any advice is appreciated! It seems very close.
Original Attachment has been moved to: test-run-from-memory-frdm-k64f.zip