RSS
Sort by » date activity ▼ answers views votes

22 questions

Tagged
  • x
85
views
no
votes
no
answers
Last activity 2017-10-17 14:29:26 +0200 by Dajgoro

pstorage issues

Hi

I'm trying to use pstorage to save some info (device name, and user info). I've found the following links with examples: http://infocenter.nordicsemi.com/inde...

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

Which have code that looks rather ... (more)

42
views
no
votes
no
answers
Last activity 2017-09-22 06:38:15 +0200 by prasanna

Issue with initializing pstorage twice ??

According to here , pstorage_init should not be initialized twice.It links to another thread and the documentation which says the same but does not mention downfalls of doing so.

In my scenario, my error handler re-initialises the whole stack including ... (more)

30
views
no
votes
no
answers
Last activity 2017-07-10 17:36:50 +0100 by Hung Bui

pstorage write process failed with s110

hi,

i have tried to write data into flash memory, but i can not, i can read the data from memory.

i had followed your instruction as this link

http://infocenter.nordicsemi.com/inde...

and some other solutions like this ... (more)

44
views
no
votes
no
answers
Last activity 2017-06-27 02:24:56 +0200 by Sal

reading a pre-programmed key from flash

Hi,

Reading from flash, an already programmed key, returns zero. Using sdk 12.1, sd s132_nrf52_3.0.0, nrf52832, and pstorage. The key is programmed after uploading the fw, image using jlink. Please advise if I am missing any other ... (more)

35
views
no
votes
no
answers
Last activity 2017-06-08 07:40:58 +0100 by satheesh

main function could not execute with s110 softdevice

hi,

the main function could not execute with softdevice. before it was working. but i have added some code that mean pstorage_store(). already, it has pstorage_load() and pstorage_clear(), that operation was working good. after, i added pstorage_store() function the main ... (more)

29
views
no
votes
no
answers
Last activity 2017-05-18 12:02:09 +0200 by micele flag of China

Pstorage question for storage different size

hi : I want storage different size in flash.How can i do it? I can write like this?

param.block_size  = 16;                   //Select block size of 16 bytes
param.block_count = 1;                   //Select 1 blocks, total of 16 bytes
param.cb          = example_cb_handler ...
(more)

109
views
no
votes
no
answers
Last activity 2017-05-12 13:18:20 +0200 by Bjørn Spockeli flag of Norway

52832-xxAA, SDK11, Flash alloaction for Data Flash + RAW-pstorage + Normal pstorage + Bootloader

We started with normal Pstorage functions and add now some pstorage RAW functions. Could anybody explain the resulting and needed linker script definitions flash allocation row:

- User Data Flash - Flash page(s) for SWAP RAW-pstorage: 6 pages
 - Flash page(s ...
(more)

43
views
no
votes
no
answers
Last activity 2017-04-18 12:06:31 +0200 by hanson zhao

pstorage_load didn't load correct data

I want to use inner flash to work as event log storage.

So in pstorage_platform.h I set PSTORAGE_NUM_OF_PAGES as 60. So I can use 60 pages.

#define USER_BLOCK_SIZE   64
#define USER_BLOCK_COUNT 6

then I register pstorage.

the log function ... (more)

130
views
1
vote
no
answers
Last activity 2017-04-01 15:24:26 +0100 by Pranay

Is there any example based on pstorage in SDK13 ? Which files we need to add in project in order to save data in flash

I am searching for example on pstorage, I want to store data in flash using pstorage, mainly I want to know which files I need to include for using pstorage.

35
views
no
votes
no
answers
Last activity 2017-03-27 16:17:29 +0100 by mukesh

How to do pstorage operations in app_timer event handler?

I want to write pstorage functions in app_timer event handler. The reason is that, I want to poll certain events using the app_timer. This things I cannot do in main thread since it has some blocking codes that cannot be ... (more)

135
views
no
votes
no
answers
Last activity 2016-11-05 00:27:18 +0200 by Tanasis!

pstorage - pstorage_block_identifier_get() and GCC flags -Os -O0 -flto

Hello!

I have encountered an interesting issue:

When I use compiler flags (GCC CFLAGS) -Os or -O0 together with -flto the pstorage function pstorage_block_identifier_get() fails with error NRF_ERROR_INVALID_PARAM.

If I remove the -flto or if I use it together with ... (more)

107
views
no
votes
no
answers
Last activity 2016-08-19 16:41:53 +0200 by Paweł

Pstorage callbacks not working properly

Hello,

I use pstorage to store in nvm some default values after first boot, and change those values via uart commands. My cb handler looks the same as one in this example: https://devzone.nordicsemi.com/questi...

Function responsible for ... (more)

390
views
1
vote
no
answers
Last activity 2016-06-22 11:32:27 +0200 by cl

pstorage wait problem.

Hi.

I'm trying to make NRF52 write 6 bytes of data into flash and read in the DFU Bootloader.

For that purpose I choose to use "pstorage" library instead of other flash related library.

I referenced the code in ... (more)

199
views
1
vote
no
answers
Last activity 2016-05-19 22:37:39 +0200 by JudePinto

only getting pstorage callbacks with read

Hello,

I have read through the pstorage documentation here: https://devzone.nordicsemi.com/docume...

and I followed the tutorial here: https://devzone.nordicsemi.com/questi...

I have implemented pstorage with ble_app_template from SDK 0.9.2 and softdevice S132 (version ... (more)

834
views
no
votes
no
answers
Last activity 2016-01-30 22:36:29 +0200 by Sergey

NRF51822 goes hard reset chaotically when trying to write or clean flash memory.

code.c ui_flash.c ui_flash.h

Hi guys,

So we are building the Ibeacon project , and faced with some problem:

The chips falls hard reset periodically when trying to write or clean flash memory. We are using

51822 -QFAAН0 .

Code ... (more)

470
views
no
votes
no
answers
Last activity 2016-01-12 18:08:07 +0200 by Dani

Preserved Data, Pstorage and DFU

I've developed my BLE application that is based on nRF518822 and softdevice S110 v.8.0.0. I've defined 6 services (4 with 2 characteritics each and 2 with 1 characteristic each). I use Pstorage to save my ... (more)

92
views
no
votes
no
answers
Last activity 2015-11-16 04:33:08 +0100 by BillyHu

How to setup start and end address for pstorage modules

Now I want to store some data above bootloader( the address after bootloader), but every time when I call the function pstorage_init(), the function will defaultly set my pstorage module before bootloader storing address, How could I change the pstorage ... (more)

562
views
no
votes
no
answers
Last activity 2015-09-08 22:02:31 +0200 by Rushd

PStorage Taking Precisely 10 Minutes to Write or Clear

I have an implementation of pstorage that works very effectively in one build of software, but is dramatically slower in another. Specifically it is taking 10 minutes to actually complete a write or clear operation.

During that time, there are ... (more)

308
views
1
vote
no
answers
Last activity 2015-04-02 06:09:48 +0200 by mobi flag of Korea, Republic of

How to know it started first time after flash firmware.

I'm actually writing some data to the flash. I'm using pstorage api interface.

But whenever I flash the new firmware, I get some garbage data. in my main function I would like to know that, after flashing a ... (more)

700
views
no
votes
no
answers
Last activity 2015-02-16 16:38:12 +0100 by Leon Schmetz

S120 Persistent storage initial clear command never executes

I am using S120 v2 with SDK 6. Initialization of the softdevice and device manager return no errors. However when I want to start a scan for devices, the function checks the status of pstorage with pstorage_access_status_get and finds that ... (more)

158
views
1
vote
no
answers
Last activity 2014-07-22 21:15:36 +0100 by Akbar Dhanaliwala

How to size PSTORAGE_CMD_QUEUE_SIZE

Hi, I was looking at the .map for my project and I noticed that pstorage.c was taking up a bunch of RAM (~600 bytes), which I thought was a lot, so I went into pstrorage_platform.h and reduced PSTORAGE_CMD_QUEUE_SIZE ... (more)

262
views
no
votes
no
answers
Last activity 2014-04-21 21:28:48 +0100 by Eric Salem

Bonds/pStorage with fast connection interval

I am working on code to setup a bond manager for ancs based off of the example, but have a fixed advertising and connection interval of 25ms. How does the bond manager and I suppose more specifically pstorage handle erasing ... (more)

Statistics

  • Total users: 25645
  • Latest user: wisadsud
  • Resolved questions: 11252
  • Unanswered questions: 3810
  • Total questions: 27773