Execution region ER_IROM5 size exceeds limit.

⚠️
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.
2 posts / 0 new
Last post
Utkarash
Offline
Last seen:8 months 1 week ago
加入:2019-01-18 06:36
Execution region ER_IROM5 size exceeds limit.

Hello All,

We have developed an application using the simple_peripheral example as reference,

For this application we have designed a custom hardware where using this application we want to control a AC motor.

For this motor we do not have any feedback, However we are using a current sensing circuit which will give variable voltage output w. r. t. current.

Now i am using ADC for sensing the variable voltage however when i include this ADC part in my code i am getting an error which is mentioned below

Error: L6220E: Execution region ER_IROM5 size (31500 bytes) exceeds limit (31424 bytes). Region contains 21 bytes of padding and 1680 bytes of veneers (total 1701 bytes of linker generated content).
Not enough information to produce a SYMDEFs file.

For this error i also found the solution given by dialog support team whose link is given below,

https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bl...

However i am not able to understand where i can make the changes suggested in the solution on the above link ?

Please help at the earliest.

Thanks and regards

Utkarash

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

Hi Utkarash,

Yes - the most possible route cause for this error is because of the binary image cannot fit into ER_IROM5 which is 31.424 bytes. To do so, you will have to increase this section and modify the scatter file which is located under 5.0.4\sdk\common_project_files\scatterfiles\scatterfile_common.sct. Please follow the guidelines in the related past thread. In addition, what is the size of your image and which optimization lever are you using? I assume that you are working on SDK5.0.4 which is the latest version for DA14580/583product family.

If you are starting a new design, we recommend to start with our newest Smartbond device named DA14531 and SDK6.0.12 as it is much more improved. We have a lot of code examples and improved documentation, and there is also software roadmap support. There is not any software roadmap support for DA14580/ product family and SDK5.

//www.xmece.com/products/connectivity/bluetooth-low-energy/products/da14531

Thanks, PM_Dialog