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?
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.
Best Regards,
Marek Neuzil
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
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
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
Yeah, my mistake, sorry about the confusion.
Thanks for your attention.