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

keil setup for nRF51822AA

Hi. I'm beginner. I want to use nRF51822xxAA chip on keil compiler. project->Option->Target->IROM1 start, Size & IRAM1 start, size. Please let me know IROM's start and size and IRAM's start and size for nRF51822xxAA.

Parents
  • It depends on which softdevice you are using (or if you are not using any softdevice) There is one older post with some numbers for older softdevices here. You will get the idea of where to find the information. If you can tell me if you are using any softdevice, then i can give you exact numbers.

  • The softdevice release notes tells you the expected start address of the application which is IROM base address. The size of on a 128KB flash can be a maximum of
    (FLASH_SIZE - IROM base) = (0X20000 - IROM base).

    The softdevice release notes also tells you the amount of RAM it uses, so you application IRAM base is what the release notes tells you. Size is similar, on 16KB RAM it is
    (RAM_SIZE - ( IRAM base offset ) ) = (0X4000 - ( IRAM base - 0X20000000 ) )

Reply
  • The softdevice release notes tells you the expected start address of the application which is IROM base address. The size of on a 128KB flash can be a maximum of
    (FLASH_SIZE - IROM base) = (0X20000 - IROM base).

    The softdevice release notes also tells you the amount of RAM it uses, so you application IRAM base is what the release notes tells you. Size is similar, on 16KB RAM it is
    (RAM_SIZE - ( IRAM base offset ) ) = (0X4000 - ( IRAM base - 0X20000000 ) )

Children
No Data
Related