First time here? Check out the Tour!
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...
Which have code that looks rather ... (more)
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)
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
and some other solutions like this ... (more)
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)
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)
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 ...
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 ...
I want to use inner flash to work as event log storage.
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)
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.
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)
I have encountered an interesting issue:
When I use compiler flags (GCC CFLAGS)
-O0 together with
-flto the pstorage function
pstorage_block_identifier_get() fails with error
If I remove the
-flto or if I use it together with ... (more)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)