DSPRelated.com
Forums

Re: Linker Command File.

Started by Keith E. Larson April 18, 2002
Hello again Husnain

I cant quite figure out your question and you have me quite confused.
Still, I am guessing that you are speaking of the ROM versus RAM model.

The ROM model is a stone age throw back where the DSP is assumed to have no
bootloader or other smart loader. In this case, all code and all data is
initialy kept in 32 bit wide ROM, which cannot be modified and is probably
very slow. You would therefor want to copy the code and data to SRAM for
speed, but more importantly so your data can change! To facilitate this the
cinit routine has a the ability to copy sections from one location to another.

But with the advent of the C31 bootloader this all went away. In this case
the -cr (RAM model) can be used to create a runtime image which is
essentialy the state of the RAM at the beginning of the application. This
runtime image is then packed into a bootable image, which in turn is
extracted from a boot rom, writing directly to the run time image memory,
and then starting.

In my opinion, 99% of the time we should be using the RAM model!

Best regards,
Keith Larson
----
Hello again sir,

After digging out the manual,I found out the memory locations which are not
defined in linker command file under MEMORY directive remain unconfigured
and linker doesnt place any code or data in them.So other then this, are
there any differences between configured & unconfigured memory???

Does this mean that our code and initialized data residing in configured
memory is capable of moving data fron one location in unconfigured memory to
another location????

Best Regards.

Husnain Alam
DSP Engineer,
Research Department,
NUST, Rawalpindi.
Pakistan.
Ph.+92-51-2251541(Res)
+-----------+
|Keith Larson |
|Member Group Technical Staff |
|Texas Instruments Incorporated |
| |
| 281-274-3288 |
| |
| www.micro.ti.com/~klarson |
|-----------+
| TMS320C3x/C4x/VC33 Applications |
| |
| TMS320VC33 |
| The lowest cost and lowest power 500 uw/mflop |
| floating point DSP on the planet! |
+-----------+