Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation request - soft device / bootloader ? #393

Closed
shayo opened this issue Nov 15, 2016 · 8 comments
Closed

Documentation request - soft device / bootloader ? #393

shayo opened this issue Nov 15, 2016 · 8 comments

Comments

@shayo
Copy link

shayo commented Nov 15, 2016

When I compile my project with mbed cli, I get a pretty large hex file (NRF51_DK).
I assume it already has the softdevice? Can you please provide more details? which softdevice is used? from which SDK? does the hex also contain a bootloader? which bootloader? how can I compile and get only the app hex, in case I want to use a different boot loader?

@bridadan
Copy link
Contributor

cc @pan-

@shayo
Copy link
Author

shayo commented Nov 16, 2016

OK. After digging in the files, I think I realized what is going on.
targets.json describes all compiled configurations.
NRF51_DK_BOOT - includes the bootloader and soft device
NRF51_DK_OTA - compiles only the app.

Can you please confirm?

@bridadan
Copy link
Contributor

I believe this is the intended behavior, yes. Does that sounds right @0xc0170 ?

@shayo
Copy link
Author

shayo commented Nov 16, 2016

Can you also please confirm whether the default bootloader is dual bank or single bank?

@pan-
Copy link
Member

pan- commented Dec 12, 2016

@shayo This is getting reworked: ARMmbed/mbed-os#3376 .
Documentation will be added on platform pages.

@nvlsianpu
Copy link

I believe this is the intended behavior
Yes It's:
NRF5x_DK = Application + SoftDevice
NRF5x_DK_BOOT = Application + SoftDevice + Bootloader
NRF5x_DK_OTA = Application

@nvlsianpu
Copy link

I believe this ARMmbed/mbed-os#3453 will resolve this.
Some base clarification here https://developer.mbed.org/platforms/Nordic-nRF52-DK/#ble-stack (and for nrf51 dk & dongle as well).

@theotherjimmy
Copy link
Contributor

The PRs mentioned in this issue are long merged. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants