I use BF518F and need to run test program from flash.
How can i save to flash and run from there?
External flash is M25P16-VMN3TPB.
My test program test interfaces like sdram,ethernet.uart and flash.
Flash test only read device id.
I cannot comment on how to reduce the ldr size of your application from 6MB to 4Mb. As you know, that will depend on codesize of your application. Try if the "optimisation for size" compilation option helps to reduce the codesize. But make sure that it will not break the code, as explained here:
Also, check if "Eliminate unused objects" option in the Project_Options -> Link -> Eliminations helps in any way.
If M25P16-VMN3TPB is serial flash, then you cannot execute your code from that flash directly, because external serial flashes cannot be mapped in processor memory space.
I am trying to boot from internal spi flash which is 4Mb.
My program is inetd and some additional UART,SDRAM,Flash test integrated with this.So the size is 6MB.
Can i somehow reduce the codesize ,so that i can boot from internal SPI flash.
Or else anyother way
Retrieving data ...