# 27 questions

Tagged
• x
87
views
no
1

## Adding DFU in custom application

Hi all,

There are lots of posts on the devzone about adding DFU service to a custom application and they have been very helpful in getting to this point.

At this point, I have an application that works very well ... (more)

40
views
no
1

## sdk12.2 dfu bondsharing

Hello,

I have implemented experimental DFU buttonless example with my application and able to do the firmware OTA via secure bootloader example using private and public keys. But once it enters into the bootloader mode from application via buttonless DFU ... (more)

46
views
no
1

## Invalid Object on nRF51822 during DFU Secure Bootloader

Hello,

I am trying to implement DFU secure bootloader to do firmware update over the air for nrf51822.

1) I have followed the steps as per the blog https://devzone.nordicsemi.com/blogs/..., created private, public keys and ZIP file ... (more)

72
views
no
1

## How used fdataStorage with FreeRtos hts example

Hi, I try to use the example ble_peripheral -> blr_freertos -> ble_app_hrs_freertos and I add to the thread a fds_register() and fds_init(). Problem: In the call back function, fds_evt_hanfler, FDS_EVT_INIT flag is received but not FDS_EVT_WRITE after a writing operation and fs_sys_event_handler ... (more)

278
views
3
1

## Secure DFU, how secure is it?

Hi,

We are expecting many of our devices to be in close proximity. How can we be certain that when a user initiates a buttonless DFU, that they are uploading to the correct device?

Could an attacker be listening for ... (more)

69
views
no
no

## GPIOTE_IRQHandler does not execute

Hi all,

I have some problems with GPIO Interrupts.

I'm using nrf52832, s132 and sdk 12.2

The error is totally random so I don't know why is generated. The case is I have 3 pins that I ... (more)

203
views
1
vote
2

## Trouble with buttonless DFU - bootloader settings crc fails

Hi guys. I am struggling to get buttonless DFU to work in my owm application. I am using SDK12.2 with gcc on a pca10040 board with S132.

I have successfully followed this tutorial to get the buttonless DFU example ... (more)

51
views
1
vote
1

## Freeze/Halt the SPI SCK line while still sending data on MOSI?

Bit of an odd question but Im dealing with a rather wonky SPI peripheral and its got me trying to sort some interesting questions due to its strange data protocol. Im using an NRF52 and on SDK12.2 with the ... (more)

314
views
no
no

## TWI Infinate Loop

I asked the following question, TWI Stuck Bus Recovery, last week and got a great answer which I implemented. I tested my implementation by changing the device addresses to see if my system could detect the problem, report it and ... (more)

100
views
1
vote
1

## TWI Stuck Bus Recovery

What is the best method for attempting to recover from a stuck TWI bus after init?

I am currently initializing the TWI instance with .clear_bus_init=true but this only happens once during the init.

For example in the past we ... (more)

102
views
no
1

## [close]file can't connect when adding pwm to ble uart example

Hello everyone, I encounter a question. I follow below link to solve the issue.

I've set the TIMER_ENABLE, TIMER0_ENABLE, TIMER1_ENABLE and APP_PWM_ENABLED from 0 to 1. And, I've added nrf_drv_ppi.c ... (more)

70
views
no
no

## error when writing more bytes than the "long char" buffer length

Hi all,

I have implemented a service with various "long char" characteristics. The buffer that I use to receive the data wrote to the "long char" characteristics is this:

#define CHAR_LENGTH_MAX 160
#define BUFF_SIZE       CEIL_DIV(CHAR_LENGTH_MAX,18)*24+2

static ...
(more)

85
views
no
no

## How to force word alignment? [closed]

I'm using SDK 12.2. The FDS operates on word-sized data. How can I ensure that my data structures are word aligned and multiples of the word size? E.g. if I'm trying to write a structure of ... (more)

246
views
3
1

## Bugs in SES 3.12 and consistently working guideline for SES+SDK+nRF52DK

Having spent numerous hours/days on trying to get the SDK12 examples running on my nRF52DK board with MacOS SES3.12, I in result wrote a basic guideline that in the end makes every example in the SDK work for ... (more)

43
views
no
no

## Updating from sdk 8.1 to 12.2: How to compile with terminal

I have a project (using a Ble Nano) that currently is running on Nordic SDK 8.1 but I want to update it to 12.2 . I currently use terminal to compile the project (I got the instructions for how ... (more)

101
views
2
2

## SDK12.2 DFU OTA application doesn't start

Hi DevZone

I am trying to DFU OTA a PCA10040 using BLE Secure DFU Bootloader from SDK12.2.0.

I can succesfully transfer the image i have made with nrfutil to my DK, but the application doesn't start up ... (more)

212
views
2
1

## Buttonless DFU Timeout

Hi,

What happens if a user initiates DFU but never continues the process of uploading an image, does the device sit in this mode indefinitely long?

How might we implement a timeout back to application if say, no image has ... (more)

113
views
1
vote
1

Hi,

I'm using "bootloader secure" example from sdk 12.2 and I modify it for instead of use button to enter in DFU, use a value written in a memory position.

As in other bootloaders I used, for example ... (more)

54
views
1
vote
1

## Upgrading a project from SDK8.1 to SDK 12.2

Hi!

I am in the process of upgrading a quite large project from SDK 8.1 to SDK 12.2. It uses the nRF52 DK, PCA10028. I still use the toolchain I stated with, including a Eclipse Kepler and GNU ... (more)

324
views
4
1

## How to properly switch between UART pins and baud rates with nRF52 (UARTE)

Hey.

I have a GPS chip which uses 57600 baud for its rx pin, and 115200 baud for its TX pin. I need to switch between the two baud rates, and also some times connect to a third RX pin ... (more)

147
views
2
2

## Having issues adding drivers to a new project

I am trying to add the spi and twi drivers to the ble_app_template project, but I keep running into errors. I am using the SDK 12.2.0. How are we supposed to go about adding all of the files ... (more)

187
views
1
vote
1

## GPIO Port read/write SDK v12.2

I noticed that the GPIO port read and port write for SDK v12.2 changed to accommodate chips with more pins but I can't find much information about it. How do I use nrf_gpio_port_out_read() and nrf_gpio_port_out_write()? And how does ... (more)

267
views
4
1

## FDS wear-leveling not working

Hi

I've just done a few tests with the FDS system of the SDK12.2. My observation is, that the FDS doesn't properly use all assigned flash pages to reach a maximal lifetime.

I have a configuration with ... (more)

174
views
1
vote
1

## nRF52 SDK12.2 SPI master and AD7793

Howdy. I have some trouble when trying to communicate with AD7793 using SPI.

I used ble_app_uart example and combined it with the SPI master example and the general driver from analog. I set up SPI at 1Mhz, and I disabled ... (more)

466
views
3
1

## SDK12.2 Secure DFU Timeout

I want to add a timeout to the secure DFU bootloader if I enter it from the application. I found this post here https://devzone.nordicsemi.com/questi... but unfortuately I can't use the WDT because my application is ... (more)

883
views
no
2

## Logger Module Config Question SDK12

I want to enable the Logger Module to have the high default severity of Error and then be able to enable lower level severities on an individual module for debugging. Is this possible with the current API?

100
views
no
1

## SDK 12.2 FreeRTOS Build Errors

I am trying to update my project to SDK 12.2 which was released this week and I am getting a ton of compiler errors with the FreeRTOS source files. For example, I try an compile tasks.c and I ... (more)

#### Statistics

• Total users: 23740
• Latest user: Gretta Fusco
• Resolved questions: 10097
• Total questions: 24462

## Recent blog posts

• ### ble_app_hrs_freertos running in Atollic TrueSTUDIO

Posted 2017-08-14 02:55:30 by jmag999
• ### OLED display support for nRF52832 (SSD1306, Adafruit GFX)

Posted 2017-08-11 08:21:31 by Mahesh Venkitachalam
• ### I tried 5 different debugger IDEs for nRF52 and STM32. Here are my results.

Posted 2017-08-09 10:56:19 by Jonathan
• ### Things you should know about Bluetooth mesh

Posted 2017-08-07 12:37:22 by Eirik Midttun
• ### Support pairing on NUS profile for Central and Peripheral

Posted 2017-08-01 08:42:41 by Eugene Yu

## Recent questions

• ### Disabling S132 Softdevice when running FreeRTOS

Posted 2017-08-17 08:41:35 by x_mike
• ### Where can I get example Mesh Network NRF52840?

Posted 2017-08-17 06:34:23 by MainOFF
• ### Can bootloader in SDK V11 boot into SDK V12/13/14 application

Posted 2017-08-17 06:29:13 by Roland
• ### Disable ACK at Receiver in Enhanced Shockburst

Posted 2017-08-17 06:12:06 by Alan
• ### SPI Communication problem between nRF51 DK and nRF52 DK

Posted 2017-08-17 05:53:11 by JungWon Kim