Sign in

username:

password:



Not a member?

Search compdsp



Search tips

comp.dsp by Keywords

Adaptive Filter | ADPCM | ADSP | ADSP-2181 | Aliasing | AMR | Anti-Aliasing | ARMA | Autocorrelation | AutoCovariance | Beamforming | Bessel | Blackfin | Butterworth | C6713 | CCS | Chebyshev | CIC Filter | Circular Convolution | Code Composer Studio | Comb Filter | Compression | Convolution | Cross Correlation | DCT | Decimation | Deconvolution | Demodulation | DM642 | DSP Boards | DSP/BIOS | DTMF | Echo Cancellation | Equalization | Equalizer | ETSI | EZLITE (Ez-kit Lite) | FFT | FFTW | FIR Filter | Fixed Point | FSK | G.711 | G.723 | G.729 | Gaussian Noise | Goertzel | GPIO | Hilbert Transform | IFFT | IIR Filter | Interpolation | Invariance | JTAG | Kalman | Laplace Transform | Levinson | LPC | McBSP | MIPS | Modulation | MPEG | Multirate | Notch Filter | Nyquist | OFDM | Oversampling | Pink Noise | Pitch | PLL | Polyphase | QAM | QDMA | Quantization | Quantizer | Radar | Random Noise | Reed Solomon | Remez | Resampling | RTDX | Sampling | Sharc | TI C6711 | Undersampling | Viterbi | Wavelets | White Noise | Wiener Filter | Windowing | XDS510PP | Z Transform


Discussion Groups

Free Online Books

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | Comp.DSP | Loading program failure on TMS320LF2407A

There are 7 messages in this thread.

You are currently looking at messages 0 to 7.


Loading program failure on TMS320LF2407A - Ajay - 2004-11-16 00:31:00

I just installed the latest version of Code Composer Studio Free Eval
tools.

I imported my project. It did the conversion from the 4.x version to
the CCS version and compiled perfectly.

However, whenever I try Load Program, I get the error.

----------
Load Failed. A section of your program falls into a memory region that
is not writable. Check your linker configuration and or memory map.
----------
This error didn't occur when I was running Code Composer 4.x.

______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Loading program failure on TMS320LF2407A - Brad Griffis - 2004-11-16 08:50:00



The memory map is usually defined in the GEL file.  Does the message give 
you an offending address?  If so, check in the data sheet to make sure that 
you are writing to a valid address and check the memory map definition in 
the GEL file to make sure that you are defining that memory.

Maybe the old CC 4.x didn't check to make sure you were in the right range 
and that's why it didn't generate the error.  ?  Either that or else the 
memory map is wrong in CCS as I mentioned above.

Did you see this app note on migrating from CC 4.12 to CCS 2.0?

http://focus.ti.com/docs/apps/catalog/resources/appnoteabstract.jhtml?abstractName=spra830

Have you read this app note as well?  Perhaps you don't have a jumper on the 
eZdsp (if that's what you're using) in the right position or something:

http://focus.ti.com/docs/apps/catalog/resources/appnoteabstract.jhtml?abstractName=spra755a

Brad

"Ajay" <a...@gmail.com> wrote in message 
news:1...@z14g2000cwz.googlegroups.com...
>I just installed the latest version of Code Composer Studio Free Eval
> tools.
>
> I imported my project. It did the conversion from the 4.x version to
> the CCS version and compiled perfectly.
>
> However, whenever I try Load Program, I get the error.
>
> ----------
> Load Failed. A section of your program falls into a memory region that
> is not writable. Check your linker configuration and or memory map.
> ----------
> This error didn't occur when I was running Code Composer 4.x.
> 


______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Loading program failure on TMS320LF2407A - Ajay - 2004-11-16 23:28:00

We are using a custom board. I checked the jumper settings and they are
perfect.

Incidently, I uninstalled CCS and switched back to CC4.12.
This time it compiled and loaded and executed perfectly, as before.

hence, this memory problem is only related to CCS.

My project uses files from the second link you posted, ofcourse
modified. It is not very complex. All I do is generate a PWM wave as of
now, so it isn't really large as well.

Is there some custom way of creating a Linker command file (*.cmd) for
CCS, which is different from CC4.12 ?

______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Loading program failure on TMS320LF2407A - Ricardo - 2004-11-17 13:08:00

Ajay escreveu:
> We are using a custom board. I checked the jumper settings and they are
> perfect.
> 
> Incidently, I uninstalled CCS and switched back to CC4.12.
> This time it compiled and loaded and executed perfectly, as before.
> 
> hence, this memory problem is only related to CCS.
> 
> My project uses files from the second link you posted, ofcourse
> modified. It is not very complex. All I do is generate a PWM wave as of
> now, so it isn't really large as well.
> 
> Is there some custom way of creating a Linker command file (*.cmd) for
> CCS, which is different from CC4.12 ?
> 
In CCS you have to set in the memory map if your memory is flash or RAM, 
and it would give such an error in case it's set as flash. Just look if 
your board is set in the MP mode and verify CCS memory map. You can even 
disable it for test purposes. Verify the status of the MP/MC bit in the 
SCSR registers as well.
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Loading program failure on TMS320LF2407A - Tony McKay - 2004-11-17 14:26:00

I worked with this chip a few years ago and had a similar problem
changing over CCS versions. My memory may be wrong but one thing I
would suggest is to check that you are outputing a COFF1 type file. I
think the default was COFF2 in the version 2.x and that did not work
for my project. That setting is in build options, I don't have CCS
intalled at the moment so I cant confirm this.

I beleive it was just the programmer that could not read the new COFF
format, since then I use a different serial programmer, (that works on
XP and is faster). You might want to check it out.
128@254.9hjEabhrdEn.0@.eedc2e2" target=_blank rel="nofollow">http://tigroups.webcrossing.com/WebX?128@254.9hjEabhrdEn.0@.eedc2e2

I hope this helps, but as I say, my memory is vague since it was a
while ago. If this is not helpful then post a reply and I will check
out my notes on it in my old lab book.

Tony
______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Loading program failure on TMS320LF2407A - Ajay - 2004-11-18 01:08:00

Tony McKay wrote:
> I worked with this chip a few years ago and had a similar problem
> changing over CCS versions. My memory may be wrong but one thing I
> would suggest is to check that you are outputing a COFF1 type file. I
> think the default was COFF2 in the version 2.x and that did not work
> for my project. That setting is in build options, I don't have CCS
> intalled at the moment so I cant confirm this.
>

I will check on this.

> I beleive it was just the programmer that could not read the new COFF
> format, since then I use a different serial programmer, (that works
on
> XP and is faster). You might want to check it out.
> 128@254.9hjEabhrdEn.0@.eedc2e2" target=_blank rel="nofollow">http://tigroups.webcrossing.com/WebX?128@254.9hjEabhrdEn.0@.eedc2e2
> 

Your link above gives me a Missing Template error.

______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.

Re: Loading program failure on TMS320LF2407A - Ajay - 2004-11-22 05:38:00

Where do I check for that I am outputting a COFF1 type file?

______________________________
New DSP Code Snippets Section now Live.   Learn more about the reward program for contributors here.