On Tue, 22 Feb 2005, Hemant Sadhwani wrote: > I'm struggling to boot from FLASH and load the program code into SDRAM and > data code into L1 data RAM and configure L1 instruction memory as a cache. I > do have an example which is go it from the Analog Devices site i.e. > "application Code with Application Init" But the example only mentions of > assembly and without VDK. But I'm working on example provided by Analog > Device i.e." VDK_blink_with_two_threads_messages" which is executing from the > L1 Instruction memory and I'm trying to boot it into SDRAM and execute it > from there only. But I'm unable to do so, can anybody help me get out of > situation or please give me link or some reference .LDF file so that I could > get out of dead lock. I assume this is with the Blackfin? You need to read up on the linker file and look for the keyword "overlay". What you want to do is have the linker put in all the addresses for the run space, and have the loader burn everything into flash space. You also need a boot loader that will copy from flash to the correct ram address, then jump to it. ADI supplies those, but it is easy enough to write your own. Patience, persistence, truth, Dr. mike |