RSS
Sort by » date activity ▼ answers views votes

42 questions

Tagged
  • x
60
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)

99
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)

64
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)

72
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)

118
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

62
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)

66
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)

44
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)

85
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)

300
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)

99
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)

126
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)

331
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)

176
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)

123
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)

122
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)

312
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)

135
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)

57
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)

86
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)

66
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)

51
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)

219
views
no
votes
1
answer
Last activity 2016-12-30 09:41:38 +0200 by Petter Myhre flag of Norway

Controller hangs with call to fds_init()

I'm using nrf52 with SDK version 12.0.0. I'm trying to use the FDS for my application. I used one of the existing fds example from link fds_example.

With this example, I call the function "fds_test_init" which ... (more)

270
views
4
votes
1
answer
Last activity 2016-12-19 17:58:45 +0200 by emdi

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)

110
views
1
vote
2
answers
Last activity 2016-12-14 13:48:32 +0200 by Petter Myhre flag of Norway

How to save data into chip flash in a easy way?

I want to open a sequential space for saving my data, about 20KB , and I want to modify or read it anytime, nordic suggest using FDS, but it seems a bit confusing. Is there any way that I can define ... (more)

450
views
no
votes
no
answers
Last activity 2016-12-06 02:57:38 +0200 by Sid Modi

fds_record_write doesn't trigger a FDS_EVT_WRITE event

Hello,

My problem is pretty much identical to this one:

https://devzone.nordicsemi.com/questi...

My functions look exactly like the ones posted in the original question and I was indeed making the same mistake that was being made in ... (more)

829
views
9
votes
1
answer
Last activity 2016-12-05 20:52:41 +0200 by ColdBrew667

FDS garbage collector, what does it do?

Hello everyone,

I am currently porting a project from pstorage to FDS. I am testing the functionalities of FDS including create, update and delete records and I am at the point where I would like to check how does the ... (more)

328
views
no
votes
2
answers
Last activity 2016-12-01 09:15:33 +0200 by who9vy

FDS record write returns error: FDS_ERR_UNALIGNED_ADDR

Hi,

I am trying to save some data in flash by using the Flash data storage. However, everytime I try to write data to the flash, the module returns this error code: FDS_ERR_UNALIGNED_ADDR

My code for the writing function is ... (more)

169
views
1
vote
1
answer
Last activity 2016-11-16 18:42:28 +0200 by ColdBrew667

Segger Embedded Studio - FDS - warning .stack and hardfault

Hello everyone,

I am trying to use Segger Embedded Studio for a simple explerimental project. I started from the sample FDS example from github and build something on it. Now I create some file/records and try to remove them ... (more)

291
views
2
votes
1
answer
Last activity 2016-11-03 10:22:35 +0200 by Bjørn Spockeli flag of Norway

FDS Used In Application and Peer Manager

The SDK 12.1.0 documentation for the FDS library says the following:

FDS_THREADS: If set, the FDS module can be used by multiple modules at the same time (for example, by the Peer Manager and the application). Enabling FDS_THREADS ...

(more)

Statistics

  • Total users: 23749
  • Latest user: Janet Whitworth
  • Resolved questions: 10099
  • Unanswered questions: 3093
  • Total questions: 24490

User menu

    or sign up

Recent questions