Hello,
I'm using CW 10.6 with PE on Kinetis MKE02Z32VLH4.
I have a question about the CPU Component on PE: in the tab "Build options", for every ROM/RAM Areas u have to set the "Qualifier" field.
Can someone explain me the various options? (R/RW/RX/RWX).
I tried the "Help on component", but there isnt the help about the "Build Options" tab...
Thanks in advance!
Solved! Go to Solution.
Hello Sandro:
That question is more related to the linker rather than Processor Expert.
From a user perspective changing the qualifier will not have any effect, unless you manually modify the linker script (ProcessorExpert.ld).
The linker uses those attributes to allocate input sections which are not directed to a specific output section.
:smileyinfo: In your CodeWarrior installation there is a file (ld.pdf) describing this. Check Chapter 3.7 MEMORY Command:
C:\Freescale\CW MCU v10.6\Cross_Tools\arm-none-eabi-gcc-4_7_3\share\doc\gcc-arm-none-eabi\pdf\ld.pdf
I recommend you not to change the qualifier and go with the defaults. All should be fine :smileyhappy:.
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
R: Read
RW: Read/Write
RX: Read/Execute
RWX: Read/Write Execute
Erich
Thanks Erich,
but I would like to go more deeply...the tooltip says "...specify where this memory section will be allocated".
But anyway I select in the other fields Address and Size of the memory, so what this qualifier precisely does to the memory that I allocate with Address/Size fields?
I take this opportunity to ask also this: is it possible to "split" the m_text default area (where the code is) in 2? For example one piece of m_text from 0x410 to 0x7000 and the other one from 0x7200 to 0x7BF0? numbers are for example.
thanks again,
Sandro
Hello Sandro:
That question is more related to the linker rather than Processor Expert.
From a user perspective changing the qualifier will not have any effect, unless you manually modify the linker script (ProcessorExpert.ld).
The linker uses those attributes to allocate input sections which are not directed to a specific output section.
:smileyinfo: In your CodeWarrior installation there is a file (ld.pdf) describing this. Check Chapter 3.7 MEMORY Command:
C:\Freescale\CW MCU v10.6\Cross_Tools\arm-none-eabi-gcc-4_7_3\share\doc\gcc-arm-none-eabi\pdf\ld.pdf
I recommend you not to change the qualifier and go with the defaults. All should be fine :smileyhappy:.
Regards!,
Jorge Gonzalez
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Yes, you can split a memory area: add with the '+' a new segment, reduce the size of the previous one and set the size of the new one.
Erich