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

How to confirm the values for FLASH_START and SRAM_START?

Hello,

Could you tell me how to confirm the values for FRASH_START and SRAM_START?

I use nRF52 development kit(nRF52832),  nRF5_SDK_15.3.0.

I am following the Getting Started guide "nRF5 Series: Developing with SEGGER Embedded Studio".

In the "8.4 Configuring placement of the SoftDevice", it says

"3. In the Section Placement Macros field, add values for FLASH_START and SRAM_START."

But, I'm not sure how can I confirm the correct value for them. 

I'm glad if you could advise for it. 

Parents
  • Hi

    If you're not certain how to adjust RAM and Flash memory, we have a guide for that here. If you want to check whether the flash starts in the correct place of your code, you can use the nRFConnect for Desktop programmer app and read the flash memory on your DK where you'll be able to see the start and end address of the application, SoftDevice, and whatever your code contains. To confirm that RAM is correct set we don't have a good approach to doing, but you should get an error message in SES if the RAM or Flash is set incorrectly.

    Best regards,

    Simon

Reply
  • Hi

    If you're not certain how to adjust RAM and Flash memory, we have a guide for that here. If you want to check whether the flash starts in the correct place of your code, you can use the nRFConnect for Desktop programmer app and read the flash memory on your DK where you'll be able to see the start and end address of the application, SoftDevice, and whatever your code contains. To confirm that RAM is correct set we don't have a good approach to doing, but you should get an error message in SES if the RAM or Flash is set incorrectly.

    Best regards,

    Simon

Children
Related