RSS
Sort by » date activity ▼ answers views votes

34 questions

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

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

65
views
no
votes
no
answers
Last activity 2017-04-19 08:44:27 +0200 by Shreyas

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)

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

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

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

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

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

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

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

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

31
views
no
votes
no
answers
Last activity 2017-03-06 11:09:05 +0200 by gauche70

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)

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

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

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

203
views
2
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)

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

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

528
views
8
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)

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

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

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

1k
views
2
votes
3
answers
Last activity 2016-10-26 10:32:39 +0200 by Stefan Birnir Sverrisson flag of Iceland

FDS Sample Code

Hi,

I am trying to use the FDS for saving some variables and displaying them again later. I have downloaded the NRF52-fds-master sample code posted on github. However, this uses the peer manager and I don't want to include ... (more)

866
views
1
vote
1
answer
Last activity 2016-09-25 18:55:46 +0200 by Søren Mikkelsen

SDK12 and FDS

Hello

We are about to move an old design based on the NRF51 to the more powerfull NRF52. In this context we would like to use some of the new API’s that has been introduced in the latest SDK ... (more)

208
views
no
votes
no
answers
Last activity 2016-09-12 17:14:59 +0200 by sakitten123 flag of Sweden

Glucose database FDS

Hi!

Would it be possible to modify the glucose example to save the database records to flash using FDS?

Keeping the overall structure of reading and writing, just changing e.g. the uint32_t ble_gls_db_record_add(ble_gls_rec_t * p_rec)and uint32_t ble_gls_db_record_get(uint8_t ... (more)

262
views
1
vote
1
answer
Last activity 2016-09-08 10:26:24 +0200 by Chengxin Ma

[FDS] Limited space for storing data in the flash

Hi,

I am trying to write some data into the flash of the nRF52832 SoC, but can only write around 5 kb of data. After that I will get an error of number 7, which should be related to FDS_ERR_NO_SPACE_IN_FLASH ... (more)

82
views
no
votes
no
answers
Last activity 2016-09-05 10:32:48 +0200 by Petter Myhre flag of Norway

fds FRESH_INSTALL, desired functionality. Attempt to build unsuccessful

I'd like to erase all the pages managed by FDS as part of a "Hard Reset" operation. fds.c has a hint of a "FRESH_INSTALL" directive (part of an enum defined in fds_internal_defs.h), but I don't see ... (more)

562
views
1
vote
1
answer
Last activity 2016-08-27 19:28:56 +0200 by emdi

FDS: Updating existing records with fds_record_update

I have been debugging this problem for a few days and have exhausted all of my options. I am relatively new to embedded development so user error is not out of the question.

To start, I am using SDK 11 ... (more)

115
views
2
votes
2
answers
Last activity 2016-08-16 15:18:32 +0200 by Jon (jono)

Function fds_stat never returns

Hi

I've implemented support for the FStorage and the FDS in our application. In some cases it happens, that the function "fds_stat" does not return.

The reason can be found in the subfunction "dirty_records_stat". If an invalid header is ... (more)

364
views
1
vote
1
answer
Last activity 2016-07-27 16:28:01 +0200 by Ole Bauck flag of Norway

Use flash data storage to write and read back record of specific record_id

I am using this flash data storage as reference https://github.com/hubuhubu/nRF52-fds...

Running fds_test_write() below, it writes to a file specified by FILE_ID, REC_KEY but to different record_id all the time. So, when reading back, I will not ... (more)

Statistics

  • Total users: 18588
  • Latest user: Jamila Pethard
  • Resolved questions: 9213
  • Unanswered questions: 2552
  • Total questions: 21765

User menu

    or sign up

Recent questions