This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error repported segger

 Hello, i'm trying to flash a code in my module nrf52805 thx to my Dk nrf52840. i have this error I followed the instructions here: https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/developing-for-the-nrf52805-with-nrf5-sdk  

FLASH_PH_START=0x0

FLASH_PH_SIZE=0x30000

RAM_PH_START=0x20000000

RAM_PH_SIZE=0x6000

FLASH_START=0x15000

FLASH_SIZE=0x15000

RAM_START=0x20000000

RAM_SIZE=0x6000

How can I solve this?

Thank you in advance

Parents
  • Hi,

    Is your application based on an example, and if so which one? Are you using SoftDevice and/or bootloader in your application? 

    The combined MBR and SoftDevice memory requirements of the SoftDevices supported on nRF52805 are as follows:

    SoftDevice s112:

    • Flash: 100.0 kB (0x19000 bytes).
    • RAM: 3.7 kB (0xEB8 bytes). This is the minimum required memory. The actual requirements
      depend on the configuration chosen at sd_ble_enable() time.
    • Call stack: The SoftDevice uses a call stack combined with the application. The worst-case
      stack usage for the SoftDevice is 1.8 kB (0x700 bytes). Application writers should ensure that
      enough stack space is reserved to cover the worst-case SoftDevice call stack usage combined
      with the worst-case application call stack usage

    SoftDevice s113:

    • Flash: 112.0 kB (0x1C000 bytes).
    • RAM: 4.4 kB (0x1198 bytes). This is the minimum required memory. The actual requirements
      depend on the configuration chosen at sd_ble_enable() time.
    • Call stack: The SoftDevice uses a call stack combined with the application. The worst-case
      stack usage for the SoftDevice is 1.8 kB (0x700 bytes). Application writers should ensure that
      enough stack space is reserved to cover the worst-case SoftDevice call stack usage combined
      with the worst-case application call stack usage.

    If you are using a SoftDevice you must make sure that FLASH_START and RAM_START are not lower than the required flash and RAM for the SoftDevice and MBR. So for s112 you would get:

    • FLASH_START: 0x19000
    • RAM_START: 0x20000EB8

    Best regards,

    Marte

Reply
  • Hi,

    Is your application based on an example, and if so which one? Are you using SoftDevice and/or bootloader in your application? 

    The combined MBR and SoftDevice memory requirements of the SoftDevices supported on nRF52805 are as follows:

    SoftDevice s112:

    • Flash: 100.0 kB (0x19000 bytes).
    • RAM: 3.7 kB (0xEB8 bytes). This is the minimum required memory. The actual requirements
      depend on the configuration chosen at sd_ble_enable() time.
    • Call stack: The SoftDevice uses a call stack combined with the application. The worst-case
      stack usage for the SoftDevice is 1.8 kB (0x700 bytes). Application writers should ensure that
      enough stack space is reserved to cover the worst-case SoftDevice call stack usage combined
      with the worst-case application call stack usage

    SoftDevice s113:

    • Flash: 112.0 kB (0x1C000 bytes).
    • RAM: 4.4 kB (0x1198 bytes). This is the minimum required memory. The actual requirements
      depend on the configuration chosen at sd_ble_enable() time.
    • Call stack: The SoftDevice uses a call stack combined with the application. The worst-case
      stack usage for the SoftDevice is 1.8 kB (0x700 bytes). Application writers should ensure that
      enough stack space is reserved to cover the worst-case SoftDevice call stack usage combined
      with the worst-case application call stack usage.

    If you are using a SoftDevice you must make sure that FLASH_START and RAM_START are not lower than the required flash and RAM for the SoftDevice and MBR. So for s112 you would get:

    • FLASH_START: 0x19000
    • RAM_START: 0x20000EB8

    Best regards,

    Marte

Children
No Data
Related