Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Corrupted RW data in the image with ARM4.0 tools
Jump...
Cancel
Locked
Locked
Replies
4 replies
Subscribers
119 subscribers
Views
3283 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Corrupted RW data in the image with ARM4.0 tools
Mahesh Dutta
over 12 years ago
Note: This was originally posted on 14th October 2009 at
http://forums.arm.com
I migrated from using the ARM 3.1 tools to ARM 4.0 tools. I see the data in the image which should sit in the DTCM is corrupted. The RO data is fine but I find RW data in the image is corrupted (junk). Is there any linker option which I am missing that is specific to 4.0 tools?
The intermediate file generated from the C file has the right data (so the compiler output is fine) but the image created by the linker has junk data.
Mahesh Dutta
over 12 years ago
Note: This was originally posted on 15th October 2009 at
http://forums.arm.com
Yes, disabling the datacompressor works fine. Thanks
Cancel
Vote up
0
Vote down
Cancel
Mahesh Dutta
over 12 years ago
Note: This was originally posted on 16th October 2009 at
http://forums.arm.com
Yes, I have my own RW and ZI initialization routine.
Cancel
Vote up
0
Vote down
Cancel
Peter Harris
over 12 years ago
Note: This was originally posted on 14th October 2009 at
http://forums.arm.com
Have you turned on the datacompressor? The linker can compress data in the ROM and decompress it when it is loaded in to RAM at boot time.
Turning the data compression off may help - although I'm not entirely sure if it is the cause of the behavior you are seeing - it depends how you are initializing the data in the D-TCM.
Cancel
Vote up
0
Vote down
Cancel
Simon Craske
over 12 years ago
Note: This was originally posted on 15th October 2009 at
http://forums.arm.com
Have you written your own R/W and ZI initialisation routine?
If not, using the one inserted by the linker would have decompressed the data into the correct place for you.
hth
s.
Cancel
Vote up
0
Vote down
Cancel