RSS
Sort by » date activity ▼ answers views votes

50 questions

Tagged
  • x
37
views
no
votes
1
answer
Last activity 2017-10-16 09:54:34 +0200 by emdi

SDK14 application and peer manager using FDS simultaneously

Test code:SDK14 ble_app_ancs_c

Hey guys, When I used ble_app_ancs_c demo to do FDS, there was a problem! I initialize FDS and register the drop back function。

image description

When I was working with FDS, I found that I didn't go ... (more)

43
views
no
votes
1
answer
Last activity 2017-10-13 15:06:01 +0200 by emdi

FDS GC seems not to work

Using SDK 13 FDS, I store 6468 byte, that is 1617 words, including FDS header. Of course this size is total. In detail in byte size, this size consists of

(12(header)+ 576) * 7
(12 + 774) * 1
(12 + 691) * 2 ...
(more)

40
views
1
vote
2
answers
Last activity 2017-10-05 12:47:51 +0200 by Petter Myhre flag of Norway

How large is the size peer manager uses?

I'm trying to determine DFU_APP_DATA_RESERVED and FDS_VIRTUAL_PAGES. According to this Q&A, DFU_APP_DATA_RESERVED must be the same FDS_VIRTUAL_PAGES, if FDS_VIRTUAL_PAGE_SIZE is 1024.

My application uses 11 pages, so 11+the size peer manager uses must be FDS_VIRTUAL_PAGES( and DFU_APP_DATA_RESERVED ... (more)

65
views
1
vote
1
answer
Last activity 2017-09-24 00:18:08 +0200 by Stas

fds problems sdk14

I'm migrating from sdk13 to sdk14 with work app. Can't solve one weird problem. When my app start first time I initialize some data with saving by fds library to flash. There were no any problem to do ... (more)

38
views
no
votes
no
answers
Last activity 2017-09-13 22:01:19 +0200 by ColdBrew667

Pre-load data in FDS, cloning devices

Hi everyone,

I am currently working on a project that leads me to save a respectful amount of data. Some of the objects that I save size a few KB actually.

I would like to use FDS all the time ... (more)

105
views
no
votes
1
answer
Last activity 2017-09-11 04:06:38 +0200 by xhr0428

FDS delete multiple records

I call the following function to delete old FDS records before I write a new record. It works well if I have only one old record. But when there are multiple records, it stops the application. RTT viewer shows it ... (more)

75
views
2
votes
1
answer
Last activity 2017-09-05 03:26:11 +0200 by xhr0428

Save multiple values with FDS

There are a few setting options I would like to keep through power cycle like sensor sampling rate, continuous sampling on/off, etc. I had success implementing saving of one value using FDS with the following functions

static ret_code_t fds_test_write ...
(more)

52
views
no
votes
1
answer
Last activity 2017-09-01 02:32:28 +0200 by jaytroymo

FDS multiple GC completed events and crash

Device: nrf52, sd132 v3.0.0, SDK 12.1 (and also 12.3), freeRTOS, BLE peripheral, gcc-arm-none-eabi-5_4-2016q2

I am experiencing an issue which is causing our device to crash and eventually reset due to the WDT.

See device log:

[103817690 ...
(more)

105
views
no
votes
1
answer
Last activity 2017-08-10 17:30:25 +0200 by Rodrigo Lorenzo Leal

FDS Data Corrupted

Hello, Nordic Forum!

I've been developing a wrapper library that uses the FDS to store my application data. I have 3 type of data to store: an array of 14 uint16_t, an array of 14 uint32_t and a structure ... (more)

364
views
1
vote
2
answers
Last activity 2017-07-26 15:52:35 +0200 by AdélaïdeB flag of Canada

FDS_ERR_NOT_INITIALIZED

Hey guys, With the ble_app_exemple, I manage to add the FDS libraries. Unfortunately, when i run the example in Debug, I got error 2 for fds(FDS_ERR_NOT_INITIALIZED). I'm currently working with Nrf52 s132 pca10040 with SDK11 on a custom ... (more)

95
views
3
votes
1
answer
Last activity 2017-07-04 14:28:21 +0200 by Vidar Berg

Peer manager flash write disabling

Hello,

i am writing an application which uses the SDK13 peer manager library for bonding. The Nordic chip is acting as a peripheral.

Is there an easy way to prevent the peer manager from saving every change to flash memory ... (more)

87
views
no
votes
1
answer
Last activity 2017-06-27 16:43:36 +0200 by c cook

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)

153
views
no
votes
2
answers
Last activity 2017-06-15 10:49:34 +0200 by emdi

fds still experimental in SDK13?

The SDK13 documentation shows fds/fstorage as experimental, is that still the case? Not sure if I have to roll my own or not.

Richard

91
views
no
votes
1
answer
Last activity 2017-06-15 10:36:14 +0200 by emdi

FDS error in FDS_VIRTUAL_PAGE_SIZE 1024 ?? (NRF51)

FDS error in FDS_VIRTUAL_PAGE_SIZE 1024 ?? (NRF51)

https://github.com/hubuhubu/nRF52-fds...

If I use FDS_VIRTUAL_PAGES 3, FDS_VIRTUAL_PAGE_SIZE 1024, then there comes FDS_ERR_BUSY. DO I HAVE TO GIVE DELAY BETWEEN fds_register fds_init??

(I'd like to save about 3KB size Structure ... (more)

70
views
1
vote
1
answer
Last activity 2017-06-09 12:22:52 +0200 by Kristin flag of Norway

Bug in hrs example?

I want to use FDS in my application. Lets assume I do not have a bootloader. This is part of my linker script describing memory regions.

MEMORY
{
  FLASH (rx) : ORIGIN = 0x1f000, LENGTH = 0x61000
  RAM (rwx) :  ORIGIN = 0x200024b0, LENGTH = 0xdb50
}

I ... (more)

61
views
no
votes
no
answers
Last activity 2017-05-26 15:41:03 +0200 by Haruki Kawakami

what does the 0x40000000 error of sd_app_evt_wait() mean?

I'm using FDS and define record_chunk.length_words 173. system waits for fds operation is finished and in the meanwhile, system sleeps using sd_app_wait(). Then, sd_app_evt_wait() returns 0x40000000. what does this mean?

void fstorage_upsert_data(user_data_t user_data, fds_record_desc_t * p_record_desc) {
NRF_LOG_RAW_INFO("fstorage_write_data ...
(more)

107
views
no
votes
no
answers
Last activity 2017-05-10 08:12:38 +0200 by Moritz Caspar flag of Germany

Peer manager returns invalid peer id

In our testing we encounter some devices (Centrals with nrf52832), where the peer manager event PM_EVT_BONDED_PEER_CONNECTED contains a invalid peer id 0x4000 (allowed values are between 0..255). This seems to be caused by a wrong FDS-record. The function "pds_peer_data_iterate ... (more)

384
views
no
votes
1
answer
Last activity 2017-05-02 09:05:27 +0200 by emdi

FDS Write problem

Hello, I am using SDK 12.01 with softdevice (BLE application) and I want to write large data over flash. I am stuck with various issues. 1. When I try to write the data, FDS returns success. But write_flag is ... (more)

128
views
no
votes
1
answer
Last activity 2017-04-25 14:36:36 +0200 by Kristin flag of Norway

Best way to save sensor data with FDS?

Hi,

I want to collect sensor-data, save it to flash and access it later. I´m not quite familiar with ways to save data and get a little bit confused by the fds library (but already managed to save and ... (more)

178
views
1
vote
2
answers
Last activity 2017-04-24 14:17:26 +0200 by Petter Myhre flag of Norway

FDS save under same id and key

Hey, I want to save stuff to flash under the same id and key which should be no problem as shown in the documentation. But when I save it and retrieve the data only the last saved data is in ... (more)

525
views
1
vote
1
answer
Last activity 2017-04-06 14:42:52 +0200 by Jørn flag of Norway

How to save data on flash storage?

I need to save some data on the flash storage. This data will be some structures and I will write, read and modify them as and when required. I am also using peer manager in my application. Can my application ... (more)

225
views
no
votes
no
answers
Last activity 2017-03-31 03:08:58 +0200 by Sensorion

FDS finalized?

Is there a known date or expected date that the FDS/Fstorage will be finalized and taken out of experimental status?

I have had a few issues with the FDS fstorage library and am looking forward to it getting fixed ... (more)

151
views
no
votes
1
answer
Last activity 2017-03-25 23:00:25 +0200 by Sergy

FDS initial state

Hi, Id like to understand the FDS state after flashing the device. Im trying to check if the record exists then I use it, otherwise I write a valid info into the record. For some reason after flashing the record ... (more)

145
views
1
vote
1
answer
Last activity 2017-03-09 14:26:29 +0200 by Bjørn Spockeli flag of Norway

FDS storage, bootloader and factory init [closed]

Hello,

I use, with success, the FDS library to save data to the flash memory. I also use, with success, the bootloader to update the application (original dual bank ble from SDK11).

Now I want to initialise the flash memory ... (more)

394
views
1
vote
1
answer
Last activity 2017-03-08 14:47:11 +0200 by Adam Varga

Flash Data Storage (FDS) SDK13

Hello,

I want to try out the FDS according to this article.

My base project is the ble_app_uart (periph) from the SDK13 and I am using PCA10040 DK.

I enabled the FSTORAGE and FDS in the sdk_config.h, and I ... (more)

191
views
no
votes
1
answer
Last activity 2017-03-08 13:46:49 +0200 by Hung Bui

Application data and peer manager with FDS

I have an application that uses FDS and I've recently added to it the peer manager in SDK 12.2.0, which also uses FDS. It turns out that the application data keeps being updated, so every time that ... (more)

64
views
no
votes
no
answers
Last activity 2017-03-07 23:02:45 +0200 by John Chinnick

fds pages_init can write beyond end of m_pages array

Using SDK 12.1.0 with flash containing data from a previous version of software.

The pages_init function in fds.c does no have adequate protection to prevent writing to data beyond the end of the m_pages array. The pages ... (more)

96
views
no
votes
no
answers
Last activity 2017-03-07 08:02:40 +0200 by mokincha

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)

73
views
no
votes
1
answer
Last activity 2017-02-17 23:24:34 +0200 by jaytroymo

fds.c: m_op_queue.rp uninitialized

i don't see where the command queue index, m_op_queue.rp, is initialized.

when queue_process is called, the following line blows up:

fds_op_t   * const p_op = &m_op_queue.op[m_op_queue.rp];

this occurs when using peer manager and a new device bonds ... (more)

64
views
no
votes
1
answer
Last activity 2017-02-13 11:10:33 +0200 by Hung Bui

FDS Example -> Github Repo, IAR Project/Workspace missing

Hello I was working with the Flash Storage examples in the nordic github repo. I noticed that the FDS example while it has a IAR Workspace it does not have the associated project files to allow the IAR Workspace to ... (more)

Statistics

  • Total users: 24904
  • Latest user: Kristal Fielder
  • Resolved questions: 10659
  • Unanswered questions: 3430
  • Total questions: 26081

User menu

    or sign up

Recent questions