Part Number: TMS320F28034
I am running iqmath fuctions from ram.
My cmd file has when running from ram
IQmath: LOAD = FLASHA_F,PAGE = 0
RUN = P_DRAML0,PAGE = 0
LOAD_START(_IQfuncsLoadStart),
LOAD_END(_IQfuncsLoadEnd),
RUN_START(_IQfuncsRunStart)
main.c has
memCopy((uint16_t *) &IQfuncsLoadStart, (uint16_t *) &IQfuncsLoadEnd, (uint16_t *) &IQfuncsRunStart);
My cmd file has this when running from flash.
IQmath : > FLASHA_F PAGE = 0 /* Math Code */
I am not noticing any time savings when I run from ram versus running from flash. The _IQ16div is 62 clocks according to the the www.ti.com/.../sprc990.pdf reference. Our processor speed is 60MHz. It's taking 3 us when running from flash or ram. There seems to be now time saving. Could you please suggest a reason?
I have verified in code composer using the disassembly wind that the address of the _IQ16div funtion is in ram when I compile it for ram and is in flash when I compile for flash.