Hello, I'm getting started with my nRF52833 DK and have downloaded and licensed Segger embedded studio, and nrfConnect.
I believe I want to use the s140 softdevice. I'm coming from the world of Keil+nRFGo Studio, where you would place the SoftDevice with nRFGo Studio and then build/program/debug the firmware next to the programmed softdevice using Keil. Trying to figure out how the same works with Segger.
When I launch nRFConnect Programmer, it let's me erase my device. Then I drop the s140 hex into it, and it appears to set three regions. In yellow the region "MBR or Application" from 0x0 to 0xAFF, in blue the region "SoftDevice" from 0x1000 to 0x26597, and then a gray (blank?) region called "Application." Not sure if this is correct.
Then I load Segger embedded studio with the ble_app_hrs_pca10056_s140 project. Worked through the getting started video. Then tried to work through the tutorial:
nRF Getting Started -> Software Development Getting Started Guides -> nRF Series: Developing with Segger Embedded Studio -> Programming an Application -> Configuring Placement of the Softdevice
There are a couple of confusing points on this page:
1) There is a note "If you are using a SEGGER Embedded Studio (SES) project from nRF5 SDK v14.2.0 or later, the placement of the SoftDevice is already configured correctly and you can skip this step." I don't know if this applies to me... does it, if I started with the Nordic example for SDK 16.0?
2) To figure out where to put the regions, it says to check the Keil project you imported. What?? I haven't (and most people probably haven't) started with a Keil project, Otherwise it says pick assumed values and check the log for recommended locations. Again... what?? How do I pick assumed values, and what log? Bad tutorial step.
3) In their screenshot they have several symbols defined in the section placement macros (FLASH_START and SRAM_START) and preprocessor definitions (BLE_STACK_SUPPORT_REQD, etc). For my example project these are both blank. What is up with that? Why does my segger example project differ so blatantly from the tutorial?
Anyway I run my example project and it does NOT seem to run. I assume this is because it is not mating with my Softdevice, because I went through the tutorial and found it completely unworkable.
Could someone please either help me figure out how I got off track with the tutorial, OR just summarize for me the right way to load the SoftDevice using segger and my nRF52833?
Thanks for any help.