I'm working on R7F102GBExNP, after adding the UART peripheral via Smart Configurator, I compiled the project and received the following error:
Section .bss_ATFF500 overlaps section "RFD_DATA_nR".
I attach the .map file, the section view and the peripheral view.
I cannot figure out how to solve this issue.
Thanks
RL78.zip
After investigating more into the issue, the bss_ATxxxx sections are created because these settings reserve some space on RAM on explicit addresses:
Adding more peripherals to the project I get the same compile error. What else can be done?
Hello,
As you add more modules and the .bss section is getting bigger, it may overlap with these sections used by DTC.
Try to change the data storage addresses to another address in RAM.
Are there some illegal addresses?
The same address is possibly specified for different variables.
I'm not able to find a correct combination of addresses.
RAM range of R7F102GxE is 0xFEF00-0xFFEDF.
Can you try some other addresses in this range ?
Please look at the .map file to find where sections may overlap with each other.
I moved at the end of the memory area and I reached my goal, thanks.