AnsweredAssumed Answered

Kinetis K10 Dflash (FlexNVM) using like PFlash for extra memory program???

Question asked by Isaac Usieto on Dec 5, 2014
Latest reply on Dec 16, 2014 by Yasuhiko Koumoto

I want to use part of FLEXNVM memory as program memory, ie:

From FlexNVM, I use to 0x10000000 to 0x10004FFF as memria to store data. and I want the 0x10005000 to 0x10007FFF is Use as program code.

 

No, for that reason with settings that I do, just takes my 1000 bytes of program. and I get the flash is full.

 

This is the configuration of the program, having if you see any explanation.

"

ProcessorExpert.lcf

MEMORY {

  m_interrupts (RX) : ORIGIN = 0x00000000, LENGTH = 0x000001BC

  m_text      (RX) : ORIGIN = 0x00000410, LENGTH = 0x0000FBF0

  m_data      (RW) : ORIGIN = 0x1FFFE000, LENGTH = 0x00002000

  m_data_20000000 (RW) : ORIGIN = 0x20000000, LENGTH = 0x00002000

  myrom       (RX) : ORIGIN = 0x10000800, LENGTH = 0x00007800

  m_cfmprotrom  (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010

}

 

.text :

  {

    * (.text)

    . = ALIGN(0x4);

  } > m_text

 

  .rom_symbols :

  {

  * (.rodata)

  . = ALIGN (0x4);

  ___ROM_AT = .;

  ___DATA_ROM = .;

  } > myrom

"

 

attached image of the error


Thanks.

Attachments

Outcomes