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
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