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

Can you program an NRF52 without a soft device?

What settings would you use for the IROM1? 0x0? is it even possible?

Parents
  • If you do not use BLE (or in the unlikely event that you make your own BLE stack) you can use the chip without a SoftDevice. Then you can use the entire flash and entire RAM for your application, so (as you suspected) you should set IROM1 start to 0x0 and size to 0x64000. IRAM1 start should be 0x20000000 and size 0x10000.

    If you look at the SDK examples, each example can be used on several boards, such as pca10040, which is the nRF52 DK. Within the folder for each board there are typically projects for several variants of SoftDevices, and in some cases, without SoftDevice. The projects that does not use SoftDevice are in a folder called "blank", and those that use a SoftDevice are in a folder called the name of the SoftDevice, such as "s132". This is for example the case with the blinky example (and all other hardware peripheral examples), which comes in two variants for the nRF52:

    • <SDK>\examples\peripheral\blinky\pca10040\blank
    • <SDK>\examples\peripheral\blinky\pca10040\s132
Reply
  • If you do not use BLE (or in the unlikely event that you make your own BLE stack) you can use the chip without a SoftDevice. Then you can use the entire flash and entire RAM for your application, so (as you suspected) you should set IROM1 start to 0x0 and size to 0x64000. IRAM1 start should be 0x20000000 and size 0x10000.

    If you look at the SDK examples, each example can be used on several boards, such as pca10040, which is the nRF52 DK. Within the folder for each board there are typically projects for several variants of SoftDevices, and in some cases, without SoftDevice. The projects that does not use SoftDevice are in a folder called "blank", and those that use a SoftDevice are in a folder called the name of the SoftDevice, such as "s132". This is for example the case with the blinky example (and all other hardware peripheral examples), which comes in two variants for the nRF52:

    • <SDK>\examples\peripheral\blinky\pca10040\blank
    • <SDK>\examples\peripheral\blinky\pca10040\s132
Children
No Data