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

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.
Parents
  • 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.
Reply
  • 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.
Children
No data