Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
13 posts / 0 new
Last post
zyosintek
Offline
Last seen:2 months 2 weeks ago
加入:2020-03-26 12:15
not enough space

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:
PM_Dialog
Offline
Last seen:15 hours 12 min ago
Staff
加入:2018-02-08 11:03
Hi zyosintek,

Hi zyosintek,

Would it be possible to attach the prox_reporter_585.map file?

Thanks, PM_Dialog

zyosintek
Offline
Last seen:2 months 2 weeks ago
加入:2020-03-26 12:15
This is my map file

This is my map file

Attachment:
PM_Dialog
Offline
Last seen:15 hours 12 min ago
Staff
加入:2018-02-08 11:03
Hi zyosintek,

Hi zyosintek,

Let me check it and I’ll get back to you.

Thanks, PM_Dialog

PM_Dialog
Offline
Last seen:15 hours 12 min ago
Staff
加入:2018-02-08 11:03
Hi zyosintek,

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

zyosintek
Offline
Last seen:2 months 2 weeks ago
加入:2020-03-26 12:15
This map file is normal, but

This map file is normal, but when I try to add some code, there will be a space error message

PM_Dialog
Offline
Last seen:15 hours 12 min ago
Staff
加入:2018-02-08 11:03
Hi zyosintek,

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

zyosintek
Offline
Last seen:2 months 2 weeks ago
加入:2020-03-26 12:15
map file

map file

Attachment:
PM_Dialog
Offline
Last seen:15 hours 12 min ago
Staff
加入:2018-02-08 11:03
Hi zyosintek,

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

zyosintek
Offline
Last seen:2 months 2 weeks ago
加入:2020-03-26 12:15

This file is complete,

This file is complete, because the compilation failed, so the following is not generated

PM_Dialog
Offline
Last seen:15 hours 12 min ago
Staff
加入:2018-02-08 11:03
Hi zyosintek,

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

zyosintek
Offline
Last seen:2 months 2 weeks ago
加入:2020-03-26 12:15
Nothing changed, only my code

Nothing changed, only my code is bigger

PM_Dialog
Offline
Last seen:15 hours 12 min ago
Staff
加入:2018-02-08 11:03
Hi zyosintek,

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