Question about nrf9160 DK ROM

Hello,

I have been evaluating the nrf9160 DK board.  And my application is using mbedtls (vanilla) and TFM (Used https_client as a starter project).  The problem is that with that I am limited to 196k of flash space.  But when I build something like lpuart I have the full 1 meg.  What is gobbling up 800k with the latest https_client sample so that I can only have a max flash size of 196k?

Thank you

/Loren

Parents
  • Hi

    How do you read out how much flash space you have accessible?

    Regards,
    Sigurd Hellesvik

  • Hi Sigurd. Thank you for getting back to me. I'm honestly not sure what was going on.  But I am 100% certain I was getting flash size exceeded errors during builds by a fairly large amount.  I would do a build I would see the following (similar) output:

    1> Linking ‘zephyr.elf’
    1> Memory region Used Size Region Size %age Used
    1> FLASH: 214316 B 960 KB 21.80%
    1> SRAM: 74000 B 178968 B 41.35%
    1> IDT_LIST: 0 GB 2 KB 0.00%
    1> Post-link command

    As you can see the above FLASH is correct with 960KB.  But I am 100% certain the available bytes was 196Kbytes.  And the %age used for FLASH was 100%.

    But things seem to be working correctly now.  For another reason, I had to completely uninstall and re-install the nordic connect SDK stuff, and now it seems to be correct.

    You can close this ticket.

Reply
  • Hi Sigurd. Thank you for getting back to me. I'm honestly not sure what was going on.  But I am 100% certain I was getting flash size exceeded errors during builds by a fairly large amount.  I would do a build I would see the following (similar) output:

    1> Linking ‘zephyr.elf’
    1> Memory region Used Size Region Size %age Used
    1> FLASH: 214316 B 960 KB 21.80%
    1> SRAM: 74000 B 178968 B 41.35%
    1> IDT_LIST: 0 GB 2 KB 0.00%
    1> Post-link command

    As you can see the above FLASH is correct with 960KB.  But I am 100% certain the available bytes was 196Kbytes.  And the %age used for FLASH was 100%.

    But things seem to be working correctly now.  For another reason, I had to completely uninstall and re-install the nordic connect SDK stuff, and now it seems to be correct.

    You can close this ticket.

Children
No Data
Related