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 Children
  • I ask about fwd_round_key_gen because I see that is what the frist error you get is related to. Can you upload the project files for both the nRF52832 and nRF52833 project? (No need for the code for now, just the SES project files, falsh_plamenent.xml and the emProject), as well as the full build log (with all the errors)? Clearly, a nRF52832 project should fit in nRF52833, so it seems likely that there is a configuration issue somewhere.

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

Related