RSS
Sort by » date activity ▼ answers views votes

39 questions

Tagged
  • x
86
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

1k
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)

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

Statistics

  • Total users: 22278
  • Latest user: Camilla Samons
  • Resolved questions: 9667
  • Unanswered questions: 2797
  • Total questions: 23073