Overflow in region 'UNPLACED SECTIONS' when porting from nrf52832 to nrf52833

Hi, I am trying to port a project I developed for a central device initially with the nRF52832 chip using the DK. I already succesfully ported the peripheral project and I tried replicating the steps also in this case, making sure that the memory segments were the same, since that was the main issue with the first porting.

However, now it's again giving an overflow issue of 'Unplaced sections' of around 55KB. The weird point is that I should have plenty of RAM and FLASH size with this chip to fit the entire project, since the 52833 has equal or more memory than the 52832. I tried to exclude some folders from the project, and it's then able to build without an overflow issue. In this case the RAM1 is filled only up to 16%, then if I include even a single folder back in the project (for example the None folder), it gives an overflow error.

Parents Reply
  • I was able to solve it just now, I don't know what was the main issue, but I went to an example folder from the SDK 17.1 and pca10100 and copied the flash_placement.xml file to my project. That apparently fixed an issue that I probably missed in the xml file inside the project.

    The only modification I had to make was to cancel the 0x04 from .text and .rodata lines.

     <ProgramSection alignment="4" load="Yes" name=".text" />
     <ProgramSection alignment="4" load="Yes" name=".rodata"/>

    like it was suggested here. Thanks a lot for the quick response and feedback!

Children
No Data
Related