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 :

http://www.emblocks.org

Parents
  • 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:

    MEMORY 
    {
       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.

Comment
  • 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:

    MEMORY 
    {
       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.

Children
No Data