hi dialog
I am using 14585 and now I have this problem:
.\out_DA14585\Objects\prox_reporter_585.axf: Error: L6221E: Execution region ER_NZI with Execution range [0x07fd53f0,0x07fd57fc) overlaps with Execution region RET_DATA with Execution range [0x07fd576c,0x07fd5fb4).
How to solve this problem? thanks
The amount of space used by my firmware:
Code (inc. data) RO Data RW Data ZI Data Debug
64204 3444 6376 204 21856 1241556 Grand Totals
64204 3444 6376 204 21856 1241556 ELF Image Totals
64204 3444 6376 204 0 0 ROM Totals
==============================================================================
Total RO Size (Code + RO Data) 70580 ( 68.93kB)
Total RW Size (RW Data + ZI Data) 22060 ( 21.54kB)
罗总大小(代码+ RO数据+ RW数据)70784 ( 69.13kB)
Keywords:
Device:
Hi zyosintek,
Would it be possible to attach the prox_reporter_585.map file?
Thanks, PM_Dialog
This is my map file
Hi zyosintek,
Let me check it and I’ll get back to you.
Thanks, PM_Dialog
Hi zyosintek,
Your provided .map file does not represent the error that you are getting. According to your initial post, that error occurs because the RET_DATA region overrides the ER_NZI.
ER_NZI -> [0x07fd53f0,0x07fd57fc)
RET_DATA -> [0x07fd576c,0x07fd5fb4)
The0x07fd576caddress is included both in ER_NZI and in RET_DATA, so this is the root cause of this error.
However, this overlap does not exist in the provided .map file.
The ER_NZI Execution Region, starts from 0x07fd4d30 and the size is 0x0000040c, so ER_NZI -> [0x07fd4d30 , 0x07FD513C)
According to the .map file, The RET_DATA Execution Region starts from 0x07fd576c which is not with ER_NZI Execution Region. This means that normally this error should not be occurred. Could you please double check it?
Thanks, PM_Dialog
This map file is normal, but when I try to add some code, there will be a space error message
Hi zyosintek,
Please share a .map file when this error is occurred. Otherwise, I am not be able to understand what the root cause might be.
Thanks, PM_Dialog
map file
Hi zyosintek,
Thanks for the provided map file, but it is missing information below the “Execution Region RET_HEAP”. Could you please attach the whole map file in case you are getting this error?
Thanks, PM_Dialog
This file is complete,
This file is complete, because the compilation failed, so the following is not generated
Hi zyosintek,
What are the changes in your project? I mean what did you change in the application code and you are getting this error? hat error occurs because the RET_DATA region overrides the ER_NZI.
Thanks, PM_Dialog
Nothing changed, only my code is bigger
Hi zyosintek,
Yes but what you have added? For example have you added some variables in the Retention-RAM? Or you have changed the optimization lave?
Thanks, PM_Dialog