This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

nRF51822 iRAM and iROM settings for v0.5 S130 SD?

What are the iROM and iRAM settings for the v0.5 S130 softdevice for the nRF51822?

The S130 softdevice spec sheet provides some clues, but no specific settings.

I've tried: iROM1: 0x20000 0x1F000 iRAM1: 0x20002800 0x1800 which allows me to load an app, but it doesn't run.

RAM for Algorithm is set to: 0x2000000 0x1000.

(incidentally, why do I even have to set iROM and iRAM? Shouldn't they be part of the device pack?)

Edit: format

Parents
  • Are you working with the s130_demo that is included in the S130 SoftDevice download?

    My settings in it are:

    IROM1: 0x1C000 0x40000 IRAM1: 0x20002800 0x1800

    Edit: 0x40000 is an error, and is actually way outside the memory range, but it is not critical for the example as is.

    Anyway, if you want to develop something with this example as a starting point the correct ROM size is 0x40000-0x1C000 = 0x24000, this is without bootloader and device manager.

    So the correct settings are:

    IROM1: 0x1C000 0x24000

    IRAM1: 0x20002800 0x1800

    The flash resource requirements in the S130 Specification are incorrect, this will be fixed.

    The correct flash values are:

    Flash          |   S130 Enabled   |   S130 Disabled
    Amount         |   112KB          |   112KB
    CODE_R1_BASE   |   0x0001C000     |   0x0001C000
    

    Sorry about any inconvenience this may have caused.

Reply
  • Are you working with the s130_demo that is included in the S130 SoftDevice download?

    My settings in it are:

    IROM1: 0x1C000 0x40000 IRAM1: 0x20002800 0x1800

    Edit: 0x40000 is an error, and is actually way outside the memory range, but it is not critical for the example as is.

    Anyway, if you want to develop something with this example as a starting point the correct ROM size is 0x40000-0x1C000 = 0x24000, this is without bootloader and device manager.

    So the correct settings are:

    IROM1: 0x1C000 0x24000

    IRAM1: 0x20002800 0x1800

    The flash resource requirements in the S130 Specification are incorrect, this will be fixed.

    The correct flash values are:

    Flash          |   S130 Enabled   |   S130 Disabled
    Amount         |   112KB          |   112KB
    CODE_R1_BASE   |   0x0001C000     |   0x0001C000
    

    Sorry about any inconvenience this may have caused.

Children
Related