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

Code + RO-data is max 64k?

I have a MIMRT1020-EVK board and use Keil µVision IDE.

 I'm making this rom size program like here:

Program Size: Code=26800 RO-data=145632 RW-data=1888 ZI-data=2520

Then, I changed in scr file:

#define m_text_start 0x00000400
#define m_text_size 0x00100000

But I can't load program on µVision.
It stopped loading 37% and "Cannot access target"

What am I missing here?

  • Cross posted https://community.nxp.com/thread/523157

    What exactly is an .SCR file?

    Doesn't the scatter file (.SCT) usually describe the memory regions without using defines.

    >>What am I missing here?

    Your question is poorly framed. 

    The connection to the target can fail if it is not connected properly, uses the wrong MCU profile, or the target switches to a low power mode, or has a hardware watchdog for example.

    Do regular examples that you don't modify work?

    What areas of the build do your changes impact? What do the manuals and tutorials for your specific board and MCU suggest?

    Are the areas in external memory, or require clocks to be enabled? Does it need a debugging script?