DEVZONE BLOG FEED

Short note how to make FreeRTOS program debugging with eclipse little simpler.If you are looking the information how to configure the whole environment see this post: https://devzone.nordicsemi.com/tutorials/7/development-with-gcc-and-eclipse/What we get out of the boxMost low power applications stays most of the timer in idle. Ideally it would be tickless-idle.The problem begins if our program behaves strangely and we would like to stop it and check what is going on.Lets get blinky_freertos exampl...

 The first in a series of blogs that will help educate on what is most important about Bluetooth 5 and take you deeper into the details of how it works and how you can benefit most from using it.Taking Bluetooth further, fasterBluetooth 5 has been with us for a few months now and is proving to be as exciting in the world of Bluetooth developers we talk to as it was to us when the specification was proposed. With its core additions of considerably longer range (x4), doubled throughput and impro...

Several users have pointed out a sudden flash size increase in some of our Bluetooth examples. We decided to write a quick post here to describe the reason for this and explain how to decrease the size of the examples.The reason for the size increase is that we added our logging module to the examples in question. Simply disable the module to decrease the size again.Logging can be turned on or off in sdk_config.h. This header file is included in all BLE examples. Remember that you can edit sdk_config usin...

DEVZONE FORUM

28.04.2017

Renaming device

I'm trying to rename my device using s130, but the name doesn't get applied.I went back to the "roots", ie the HRS sample.Just before entering the loop, I add a name change: advertising_start(); ble_gap_conn_sec_mode_t sec_mode; BLE_GAP_CONN_SEC_MODE_SET_OPEN(&sec_mode); char *name = "New name"; err_code = sd_ble_gap_device_name_set(&sec_mode, (const uint8_t *) name, strlen(name)); APP_ERROR_CHECK(err_code); // Enter main loop. for (;;) { if (NRF_LOG_PROCESS() == false) { power...

I USE IAR7.7 AND v11.0 THERE ARE ERRS.FS_REGISTER_CFG(fs_config_t fs_config) = { .callback = fs_evt_handler, // Function for event callbacks. .num_pages = NUM_PAGES, // Number of physical flash pages required. .priority = 0xFE // Priority for flash usage. };#define FS_REGISTER_CFG(cfg_var) NRF_SECTION_VARS_ADD(fs_data, cfg_var)#define NRF_SECTION_VARS_ADD(section_name, type_def) \ __root type_def @ #section_name //__root type_def @ #section_name#endifError[Pa094]: the object attribute "__root" i...

Hi,I want know how nrf51822 bootloader finds images type(means weather it is softdevice,bootloader,app) when we pass an image to bootloader for update. And also how bootloader comes to know weather an application is properly flash or not. ...