This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28027: C28xx: Loader: One or more sections of your program falls into a memory region that is not writable.

Part Number: TMS320F28027

Tool/software: Code Composer Studio

I am facing an error when trying to build and debug a program onto my C2000-F28027 board.

This is part of my .cmd file

My gel file is as follows:

How do I get past this issue?

  • Hello Priya,
    You have looked at the linker CMD file and the GEL file, which are key. But have you checked the third part of the equation?
    software-dl.ti.com/.../troubleshooting-data_verification_errors.html

    Did the debugger mention the address itself that caused the issue?

    Thanks
    ki
  • Hi, thanks for the reply.

    The debugger does not mention the address itself that caused the issue. This is all that it says:

    When I try to open Memory Browser after manually selecting a target configuration, as mentioned in the link you provided, I do not see any data. I am confused as to what I am doing wrong, and what it is I am searching for.

  • You will want to check your *.map file to see where code is being downloaded to, and then verify that those memory regions are available on your target. For example, if you have code allocated to RAM, use CCS to open the Memory view to the address of RAM and make sure you can write to that location. Also check the debugger memory map and make sure that the information in the *.map file references addresses that are considered valid addresses in the debugger memory map

    Thanks
    ki
  • Hello,
    I haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, please post a reply with an update below (or create a new thread).

    thanks,
    ki