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

Added make vars FLASH_BOOTLOADER_UICR and FLASH_SDK_BOOTLOADER_CONFIG #7

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

JoeMerten
Copy link
Contributor

  • You can FLASH_BOOTLOADER_UICR set in your project specific Makefile,
    if your project is a bootloader.
    This causes the storage of the bootloader's address to UICR 10001014
    so that it is called by the SoftDevice during bootup
  • You can FLASH_BOOTLOADER_CONFIG set in your project specific Makefile,
    if your project is a normal application and your target system consist
    of a bootloader which is based on the Nordic Sdk.
    This causes a write of some configuration data into the last flash
    block (typically 16 byte at 3FC00 for a 256k device) that notifies the
    bootloader that there is a valid application in the flash.

Currently only implemented for Makefile.posix
Maybe someone like to add windows support.

== !!! There is still one Issue !!! ==
See the FIXME in Makefile.posix.
The bootloader's address is wrote correctly to uicr, but I always get a "Error: Programming failed @ address 0x10001000 (block verification error)"
I don't know how to fix this. Any suggestions?
To not getting always this error message, I'd added a suppression hack for that.

Joe Merten added 6 commits April 9, 2014 09:48
- You can FLASH_BOOTLOADER_UICR set in your project specific Makefile,
if your project is a bootloader.
  This causes the storage of the bootloader's address to UICR 10001014
so that it is called by the SoftDevice during bootup
- You can FLASH_BOOTLOADER_CONFIG set in your project specific Makefile,
if your project is a normal application and your target system consist
of a bootloader which is based on the Nordic Sdk.
  This causes a write of some configuration data into the last flash
block (typically 16 byte at 3FC00 for a 256k device) that notifies the
bootloader that there is a valid application in the flash.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant