RT 1020 large rom size program

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT 1020 large rom size program

661 Views
ssakoda
Contributor I

Hi,

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

I'm making large 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 0x00400000

But I can't load program on µVision.

It stopped loading 37% and "Cannot access target"

Please see attached cap.JPG.

What am I missing here?

Kind regards,

Sako

Labels (2)
Tags (2)
0 Kudos
1 Reply

588 Views
Yuri
NXP Employee
NXP Employee

Hello,

 

  Parameter m_text_size of 0x00400000 looks very big.

You may look at Your linker map file to define what addresses are really involved here.  

   Table 2-1 (System memory map ...) in the i.MX RT1020 Reference Manual  

shows available  memory. For example only 256KB of ITCM is available.  

  Also, look at app note “Using the i.MX RT FlexRAM”

 

https://www.nxp.com/docs/en/application-note/AN12077.pdf 

Have a great day,

Yuri

 

 

-------------------------------------------------------------------------------

Note:

- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored

 

Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

0 Kudos