> Try calling it indirectly: > > static void (*pramfunc)(void) = IAP_Test; > (*pramfunc)(); > > Karl Olsen Karl, you're close but no cigar yet. I tried it, and the compiler took it, but when the call gets made I get a PreFetch Abort Excep error. The IAP_Test() func got put in RAM correctly. It is right at 0x40000000. But the long call methodology is not quite right. The "sjo" person mentioned something about another long call method. But I'm not quite sure how he meant to set that up with the pragmas. It's almost there. Anymore ideas on making the long call? Thanks, Chris.
Message
Re: How to declare RAM functions in GCC
2005-01-15 by sig5534