MK22FX512 Processor Expert RAM configuration

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

MK22FX512 Processor Expert RAM configuration

1,136 Views
lopesjeronimo
Contributor I

I'm unable to set the correct RAM regions for MK22FX512VLH12 using Processor Expert. It is supposed to have 128KB RAM, so lower address should be 0x1FFF8000, right?

Screenshot from 2015-05-04 11_27_21.png

Tags (1)
0 Kudos
5 Replies

661 Views
marek_neuzil
NXP Employee
NXP Employee

Hello,

You can use the following workaround.

- Switch off the generating of linker file (uncheck the Generate linker file option; see the screenshot below).

- Open the linker file that is located in the Project_Settings\Linker_Files\ProcessorExpert.ld file and modify the m_data and m_data_20000000 memory areas directly in this linker file.

pastedImage_0.png

Best Regards,

Marek Neuzil

0 Kudos

661 Views
santiago_gonzal
NXP Employee
NXP Employee

Hello,

If your MCU has 128 Kb of RAM, you will have two blocks of RAM, SRAM_L and SRAM_U (See chapter 3.5.3.2 of RM). Each of them will be 64 KB of RAM = FFFF in Hex

SRAM_L ends at 1FFF_FFFF and SRAM_U begins at 2000_0000. So your RAM memory map will be:

SRAM_L: From 1FFF_0000 to 1FFF_FFFF (64 Kb)

SRAM_U: From 2000_0000 to 2000_FFFF (64 Kb)

Regards,

Santiago

0 Kudos

661 Views
lopesjeronimo
Contributor I

Santiago,

If you check the picture I posted, that's exactly the value I set at PE settings, but PE shows me an error (also showed at the picture).

It seams that this processor PE component has wrong memory settings, like it has only 64KB, because it only allows me to set

SRAM_L: From 1FFF_8000 to 1FFF_FFFF (32 Kb).

Regards,

Jerônimo Lopes

0 Kudos

661 Views
santiago_gonzal
NXP Employee
NXP Employee

Hello Jeronimo,

You're right, I understood you wrong because of the last sentence: " so lower address should be 0x1FFF8000, right?"

I have reported the issue to the Processor Expert team.

Regards,

Santiago

661 Views
lopesjeronimo
Contributor I

Yeah, my mistake, sorry about the confusion.

Thanks for your attention.

0 Kudos