EmBlocks gravatar image

Posted 2014-08-17 16:40:24 +0200

blogs->all

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

3 comments

janekm gravatar image

Posted Aug. 20, 2014, 9:43 p.m.

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?

EmBlocks gravatar image

Posted Sept. 4, 2014, 6:58 a.m.

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.

LuDuda gravatar image

Posted July 6, 2015, 12:32 p.m.

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.

Sign in to comment.