This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Correct Settings for Cortex JLink/JTrace Target Driver Setup nRF51-DK

Hi

I'm using Keil V5 to program the Nordic nRF51 DK ( the one here: www.nordicsemi.com/.../nRF51-DK) but I'm a bit confused as to whether or not I need to change the settings on the Target Driver Settings on this page:

image description

I've been getting frequent errors such as "Error: Flash Download failed - "Cortex-M0" " and I have tried numerous different settings for the IROM and IRAM values, but changing the address range on the above screen seems to get it working. Should it start from 0x18000 so it does not affect the Soft Device? Changing it to this allows me to download it to the device but its a bit buggy.

When using the nRF51 DK with S110 8.0, what settings should I use in Target Driver Setup or should I need to change it all? Is it simply the IRAM and IROM values I need to change?

Also, what are the correct values for IRAM and IROM? There seems to be a lot of conflicting information on what the actual values are.

Thanks

Parents
  • Hi Kilianod

    The memory map for S110 8.0 softdevice and the Application base address requirement are available in S110 SDS (SoftDevice Specification). There are default values given and min and max values that will work.

    Memory resource map.jpg memory resource requirement.jpg

    Other way to find out IROM value is after flashing your softdevice using nrfgo (or any other means), go to the command prompt and type

    nrfjprog --memrd 0x3008

    0x00003008: 00018000 |....|

    that should read the size of the softdevice in ROM (flash) and that is what the softdevice expects the application base address to be in ROM.

Reply
  • Hi Kilianod

    The memory map for S110 8.0 softdevice and the Application base address requirement are available in S110 SDS (SoftDevice Specification). There are default values given and min and max values that will work.

    Memory resource map.jpg memory resource requirement.jpg

    Other way to find out IROM value is after flashing your softdevice using nrfgo (or any other means), go to the command prompt and type

    nrfjprog --memrd 0x3008

    0x00003008: 00018000 |....|

    that should read the size of the softdevice in ROM (flash) and that is what the softdevice expects the application base address to be in ROM.

Children
Related