Okay now i copy the code from FAQ-27860. But it will not work.
I copied this code in the main.c und the Main-Function
#pragma define_section CopyToRAM "CopyToRAM " far_code__declspec (CopyToRAM) unsigned int Fibonacci(unsigned int n) { for (int i = 0;i<100000;i++) { uart_putchar(0,0x3A); }} further i did this code
.copyToRAM: AT(___DATA_ROM + SIZEOF(.data)){. = ALIGN (0x4);__START_COPYTORAM = .;*(CopyToRAM)__END_COPYTORAM = .;} >> userram into the .lcf for the external_flash
and moify the _romp part in this way
.romp : AT(_romp_at){__S_romp = _romp_at;WRITEW(___DATA_ROM); #ROM start addressWRITEW(___DATA_RAM); #RAM start addressWRITEW(SIZEOF(.data) + SIZEOF(.copyToRAM)); #sizeWRITEW(0);WRITEW(0);WRITEW(0);} now i dont know how to call the loop in the Fibonacci function.
does anyone know that problem ?
regards peter.