RE: [motoroladsp] Re: DSP56F827: Flash to RAM copy - Compiler Overflow
As a point of reference, is this a "compiler
error" or a linker error? I would hope this is a linker error,
in that the linker command file used truly defines the limits of memory, and
that those limits are not being respected!!! Since the target could be for
external RAM (or flash), and not internal flash, the "compiler" should
build object code that is greater than the internal space. However, when
the link/locate process runs, the specified target boundaries should be
respected, and an error issued.
I hope the linker.cmd file is correct for the target that the
image is to be loaded into!!!
From: Pete Becher [mailto:p...@dynatronix.com]
Sent: Wednesday, February 04, 2004 8:43 AM
Subject: [motoroladsp] Re: DSP56F827: Flash to RAM copy -
Overflow w/o Error?
Yes this is a problem in CodeWarrior. It does not flag
overruns. The problem is still in version 5.1 and I
have not seen
any indication that it has been fixed in version 6.0.
contacted tech support about this problem a while
someone from Metrowerks can confirm whether or not this is
will be fixed.
--- In m...@yahoogroups.com, "bmbmz123"
> Hi all,
> I've come across a problem.
> The sw has some constant data, which is copied after
> pflash to RAM, as one big block - the data is mirrored
> It seems that the this constant data block is placed
after the sw
> Now, that the sw is large, and there are many
constants, it looks
> that the constant data block has overflowed the pflash
> I came across this when some constant data was
> As I check with the debugger, I saw that some data was
ok, up to a
> point, and from that address on, there was bad
> I looked at the MAP file, and measured that constant
> the last sw routine address, and it is
> Why didn't the compiler shout an error?
> Has anyone seen this before?
> As the '827 has another pflash2 memory, will the
compiler know to
> place an even larger sw in the two pflas
> I'm using CW ver 4.1 (a bit old, I know!)
Note: If you do a simple "reply" with your email
client, only the author of this message will receive your answer. You need
to do a "reply all" if you want your answer to be distributed to the
About this discussion group:
To Join: m...@yahoogroups.com
To Post: m...@yahoogroups.com
To Leave: m...@yahoogroups.com
More Groups: http://www.dsprelated.com/groups.php3
Yahoo! Groups Links
To For more information visit
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information visit http://www.messagelabs.com