Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
CrossStudio for ARM - Symbol Browser - "Rode, Dinesh (IE03x)" - Apr 29 0:50:30 2009
Hello,
Has anybody used CrossStudio Symbol Browser?
Is there any way to get list of removed symbols when I select option
"Enable Unused Symbol Removal"
Thanks & Regards
Dinesh
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: CrossStudio for ARM - Symbol Browser - Paul Curtis - Apr 29 2:29:30 2009
Rode, Dinesh (IE03x) wrote:
> Hello,
>
>
>
> Has anybody used CrossStudio Symbol Browser?
>
> Is there any way to get list of removed symbols when I select option
> "Enable Unused Symbol Removal"
>
>
No.
Generate a map file for the first build without symnbol removal, then
build with symbol removal, and compare the two files using Araxis Merge
using a column filter to filter out the values of the symbols (which
will change). The lines that differ indicate what (public) symbols are
removed.
-- Paul.
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
RE: CrossStudio for ARM - Symbol Browser - "Rode, Dinesh (IE03x)" - Apr 29 3:03:46 2009
Thanks for reply Paul.
My code is not working if I enable "Enable Unused Symbol Removal"
option. (Otherwise it is working)
How can I debug this issue?
Thanks & Warm Regards
Dinesh
________________________________
From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf
Of Paul Curtis
Sent: Wednesday, April 29, 2009 11:59 AM
To: l...@yahoogroups.com
Subject: Re: [lpc2000] CrossStudio for ARM - Symbol Browser
Rode, Dinesh (IE03x) wrote:
> Hello,
>
> Has anybody used CrossStudio Symbol Browser?
>
> Is there any way to get list of removed symbols when I select option
> "Enable Unused Symbol Removal"
No.
Generate a map file for the first build without symnbol removal, then
build with symbol removal, and compare the two files using Araxis Merge
using a column filter to filter out the values of the symbols (which
will change). The lines that differ indicate what (public) symbols are
removed.
-- Paul.
[Non-text portions of this message have been removed]
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.
(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: CrossStudio for ARM - Symbol Browser - Danish Ali - Apr 29 3:41:07 2009
Please help people to help you.
What do you mean by "not working".
Does it fail to compile?
Does it fail to link?
Does it compile and link successfully but then behave differently (not how you intended)
when run?
Does the Crossworks IDE crash?
Does the cup of tea on your desk taste funny when you use that option?
Yes I know that last possibility is unlikely; you might prefer coffee.
But you have to understand that we are not clairvoyant.
We only know what you tell us.
And it's a guessing game as to what _you_ have done differently from many other people for
whom it works.
For example, if you have a symbol that is declared/defined in C but only referred to in
assembly, then you might need __attribute__ ((used)) . This is a gcc issue.
Regards,
Danish (note subtle difference in name from OP)
--- In l...@yahoogroups.com, "Rode, Dinesh (IE03x)"
wrote:
>
>
>
> Thanks for reply Paul.
>
> My code is not working if I enable "Enable Unused Symbol Removal"
> option. (Otherwise it is working)
>
> How can I debug this issue?
>
> Thanks & Warm Regards
>
> Dinesh
>
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )RE: Re: CrossStudio for ARM - Symbol Browser - "Rode, Dinesh (IE03x)" - Apr 29 3:50:32 2009
It is compiling and linking successfully but behave differently (I am
not getting anything on LCD display. All outputs are showing high) when
run.
Dinesh
________________________________
From: l...@yahoogroups.com [mailto:l...@yahoogroups.com] On Behalf
Of Danish Ali
Sent: Wednesday, April 29, 2009 1:11 PM
To: l...@yahoogroups.com
Subject: [lpc2000] Re: CrossStudio for ARM - Symbol Browser
Please help people to help you.
What do you mean by "not working".
Does it fail to compile?
Does it fail to link?
Does it compile and link successfully but then behave differently (not
how you intended) when run?
Does the Crossworks IDE crash?
Does the cup of tea on your desk taste funny when you use that option?
Yes I know that last possibility is unlikely; you might prefer coffee.
But you have to understand that we are not clairvoyant.
We only know what you tell us.
And it's a guessing game as to what _you_ have done differently from
many other people for whom it works.
For example, if you have a symbol that is declared/defined in C but only
referred to in assembly, then you might need __attribute__ ((used)) .
This is a gcc issue.
Regards,
Danish (note subtle difference in name from OP)
--- In l...@yahoogroups.com
,
"Rode, Dinesh (IE03x)" wrote:
>
> Thanks for reply Paul.
>
> My code is not working if I enable "Enable Unused Symbol Removal"
> option. (Otherwise it is working)
>
> How can I debug this issue?
>
> Thanks & Warm Regards
>
> Dinesh
>
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )RE: Re: CrossStudio for ARM - Symbol Browser - Paul Curtis - Apr 29 3:58:58 2009
> It is compiling and linking successfully but behave differently (I am
> not getting anything on LCD display. All outputs are showing high) when
> run.
The best thing to do is debug why this is happening.
--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
------------------------------------
______________________________
Stellaris® MCU Family: New Parts, New Package, New Price.
(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
RE: Re: CrossStudio for ARM - Symbol Browser - Paul Curtis - Apr 29 4:02:46 2009
Hi,
> > It is compiling and linking successfully but behave differently (I am
> > not getting anything on LCD display. All outputs are showing high) when
> > run.
>
> The best thing to do is debug why this is happening.
...and time could be a factor.
--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: CrossStudio for ARM - Symbol Browser - Ralph Hempel - Apr 29 8:27:00 2009
Rode, Dinesh (IE03x) wrote:
> My code is not working if I enable "Enable Unused Symbol Removal"
> option. (Otherwise it is working)
You are probably trying to access a symbol that is at some fixed
location, but you are not acessing it by name.
In that case, the linker cannot find a reference to it and
removes it from the binary image.
Just guessing.
Ralph
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )