RSS
Sort by » date activity ▼ answers views votes

65 questions

Tagged
  • x
22
views
no
votes
no
answers
Last activity 2017-12-08 10:54:56 +0200 by jj

Trouble reading structure from fds_read after update

I had successfully write a structure data to fds. After which, I would like to update the same file and record key with new values of a structure. After updating, I will read one of the element from structure to ... (more)

20
views
no
votes
no
answers
Last activity 2017-12-08 07:43:28 +0100 by Sorrow91

Using FDS with BLE and Scheduler

Hey guys,

I'm trying to make the FDS work with BLE and the scheduler. But something doesn't right when I use the Softdevice and scheduler with the FDS.

Must I register something in my ble_stack_init(), I read something ... (more)

65
views
no
votes
1
answer
Last activity 2017-12-08 07:22:03 +0200 by Syuan

FDS example code for SDK 14.2

hello everbody~ I have a problem with the FDS example code.My sample code is SDK version 11.But I now use the SDK14.2 version and nrf 52832 MCU.

The SDK 11 detailed example code is...:

static ret_code_t fds_read ...
(more)

20
views
no
votes
no
answers
Last activity 2017-12-05 03:26:03 +0100 by jj

Turn off and on nrf51dk to test fds with what tool to view output

Hi,

I managed to get fds to store some information in nrf51dk for persistent data storage. I would like to check if the data is still available in the chip after power off and on. I have been using SEGGER ... (more)

107
views
2
votes
2
answers
Last activity 2017-11-27 12:09:21 +0100 by Konstantin

fds data corrupted

Hello all,

My project based on NRF52832 SDK13 has some bug I trying to solve. Some users of my product very rarly faces with problem of constantly rebooting NRF52. After some investigations I'm revealed that the bond info sectors ... (more)

72
views
1
vote
1
answer
Last activity 2017-11-21 15:13:57 +0100 by VB

FDS record download on android

Hi,

I am wondering if its possible to download a fds record on android device when connected ?

I want to save data and retrieve it when I get connected to it.

Thanks

90
views
1
vote
2
answers
Last activity 2017-11-16 14:38:26 +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)

402
views
1
vote
1
answer
Last activity 2017-11-09 14:28:56 +0200 by Petter Myhre flag of Norway

FDS Documentation?

Is there anywhere I can find some high level documentation on the FDS module? I'm going thru the API documentation but it provides very little insight into how to best setup an FDS. For example: -How to best organize ... (more)

86
views
no
votes
1
answer
Last activity 2017-11-06 14:57:53 +0100 by emdi

Potential FDS bug? [closed]

Hi,

I just found, fds initialization sequence is important for fds_event_handler to be called.

My scenario: nrf52832

SDK 12.2.0

MDK

My sequence to call fds initialisation is as follows: 1. User fds_register

  1. user fds_init

  2. ble_stack_init

  3. pm_init

  4. pm fds_register ...

(more)

81
views
no
votes
2
answers
Last activity 2017-11-06 09:34:57 +0100 by emdi

FDS - How can I write binary data to flash while receiving via BLE

Hi community,

for our application (nrf52832 / SDK 12.2) we need to store data received via BLE. The received data is a 25 kB binary blob which by design will be chopped in 20 B chunks to be sent and ... (more)

47
views
no
votes
1
answer
Last activity 2017-11-02 10:33:12 +0100 by Jørgen Holmefjord flag of Norway

fds write data before sleep

Hi community,

Try use FDS to write some data before sleep.

Following example and test is work.

But I try write data before into

sd_power_system_off();

and it not work. Then I try create app_timer count down with idle time come ... (more)

63
views
no
votes
1
answer
Last activity 2017-10-30 14:06:32 +0100 by Jørgen Holmefjord flag of Norway

When using FDS, disconnect the Bluetooth connection hint error!

Hi nordic,

nRF5_SDK_14.0.0_3bcc1f7\Raga\examples\ble_peripheral\ble_app_ancs_c FDS\pca10040\s132\arm5_no_packs

I had a problem when I was using FDS,When I use the GC function, when the Bluetooth is disconnected, the system will prompt an error.

image description

image description

If ... (more)

179
views
no
votes
1
answer
Last activity 2017-10-27 10:00:52 +0200 by emdi

How does FDS work?

I am trying to store a small amount of data on the nRF52832 with the FDS module.

I followed the following code found in another question: https://devzone.nordicsemi.com/questi...

Which I managed to get working, but when I ... (more)

54
views
no
votes
1
answer
Last activity 2017-10-24 16:13:09 +0200 by Jørgen Holmefjord flag of Norway

flash data storage on nRF51822 using mbed online compiler?

Anyone had a successful attempt at using the fds(flash data storage) module(http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Flib_fds.html&cp=4_0_0_3_30) on the nRF51822 on the mbed online compiler? I ... (more)

69
views
no
votes
2
answers
Last activity 2017-10-23 10:36:32 +0200 by emdi

FDS_ERR_RECORD_TOO_LARGE

Hi Nordic,

I used FDS to operate updata to update data more than 10K once, but there was an error. Hint FDS_ERR_RECORD_TOO_LARGE.Can FDS operate more than 10K data at once?

How do I solve this mistake?

Looking forward to your reply!

93
views
no
votes
2
answers
Last activity 2017-10-19 15:16:53 +0200 by emdi

Storing many small blocks of data in FDS?

Hi All, We have a data logging application, where our typical data packet is small -- roughly 20 bytes. I've been experimenting with FDS for storage, with one record for each packet, and I'm getting my fds write calls ... (more)

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

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

FDS GC seems not to work [closed]

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)

89
views
1
vote
1
answer
Last activity 2017-09-24 00:18:08 +0100 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)

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

144
views
no
votes
1
answer
Last activity 2017-09-11 04:06:38 +0100 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)

90
views
2
votes
1
answer
Last activity 2017-09-05 03:26:11 +0100 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)

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

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

509
views
1
vote
2
answers
Last activity 2017-07-26 15:52:35 +0100 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)

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

93
views
no
votes
1
answer
Last activity 2017-06-27 16:43:36 +0100 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)

164
views
no
votes
2
answers
Last activity 2017-06-15 10:49:34 +0100 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

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

74
views
1
vote
1
answer
Last activity 2017-06-09 12:22:52 +0100 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)

Statistics

  • Total users: 25660
  • Latest user: dlouver
  • Resolved questions: 11261
  • Unanswered questions: 3818
  • Total questions: 27801