Nordic nRF51 support in Em::Blocks (with softdevice integration)

Em::Blocks supports now the nRF51 devices from Nordic. You can select in the new project wizard which device family (51422 or 51822) and if soft devices are needed or not.

image description

The templates for the softdevices are empty after first installation. The packages must be downloaded from the Nordic download section (after login) and unpacked inside the wizard template sub directories. After the execution of the convSD.bat file there will be c-array files and API includes generated which can be used by the wizard.

The softdevices are placed at the right location by the linker so you don't need other tools to pre-flash those devices.

image description

After the wizard the debug configuration is automatically launched

image description

EmBlocks is free downloadable at :

  • Thanks for this Nordic nRF51 support. I will work on this in a new project to learn it. It will be a pleasure for me if scam  shares some useful links for this and hope you keep these efforts on this site.

  • What is Kroger Feedback and how to win 50 fuel points & $5000 gift card?

    Kroger is a huge store and today ranks as one of the world’s largest retailers. In 1883, Barney Kroger established this Kroger store. More than 443000 employees are working in the Kroger store. Kroger store is surveying the customer experience about the Kroger store, and after completing this store survey, you have a chance to win 50 fuel points and $500 gift card. Click on the link for official Kroger survey page - Survey.

  • After installation one of the Softdevices (using convSD.bat script), ensure that memory layout provided by EmBlocks matches current Softdevice requirements.

    For example, you can find the linker script of the newest S110 Softdevice, in our SDK: /examples/ble_peripheral/ble_app_hrs/pca10028/s110/armgcc/ble_app_hrs_gcc_nrf51.ld.

    Using this information, you can readjust linker script from EmBlocks to the following one:

       SOFTD (rx) : ORIGIN = 0x00000000, LENGTH = 0x18000
       FLASH (rx) : ORIGIN = 0x00018000, LENGTH = 0x28000
       RAM (rwx) :  ORIGIN = 0x20002000, LENGTH = 0x6000

    Similarly for the other Softdevices if need be.

  • Yes, currently only Windows is supported.

    It seems that the default OS is still Windows and other OSes are mentioned explicitly like Keil, Attolic, IAR, etc etc.

    But I have added the OS name at the top of the download.

  • One note, your website makes it really hard to tell what OS's you support! Doesn't look like the word "Windows" is mentioned anywhere on it, though that appears to be the only currently supported OS?