First time here? Check out the Tour!
Hi, I'm using nrf51 without ble.
I want to update flash but not want to delete PAGE every time.
NRF_NVMC->ERASEPAGE = (uint32_t) page_address;
How can i do?
I am attempting to interface a Winbond flash device with the NRF52. The datasheet does not specify the idle state of MOSI when reading from the device. However, I cannot make the flash chip work with the NRF52. In the ... (more)
I have tried to study the behavior of the QSPI and the external flash. I noticed that the
QSPI_CONFIG_WRITEOC settings in
sdk_config.h cannot be set to use a higher data lines.
More specifically, the
QSPI_CONFIG_READOC can only ... (more)
I have setup and configured Eclipse using the tutorial and all seems to be good, except, I cant flash the binary to the chip. Here is my error when calling flash:
I have camera interfaced on GPIOs of nRF52832.. I am reading image data at the rate 80KHz. Is it possible to write the data to SPI Flash (Slave) by DMA or by any other way such that I won ... (more)
I am writing an application for nRF52832 that uses both Flash Storage and Flash Data Storage in SDK12.2. I want to know how to get the start and the end addresses of the flash storage and flash data ... (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)
I am using SDK12 and the Flash Storage module to store some data in Flash. I frequently need to update some of these data basing on received commands and new data.
When I use fs_store after the fs_erase ... (more)
I am trying to erase / program the custom board ( with nRF52832 SoC installed) using nRF52-DK. The setup looks like that:
nRF52-DK Custom / External Board
VDD ------+-------------> VDD
GND ------------------------> GND
GND DETECT -----/
SWD IO -----------------> SWD IO
SWD CLK ----------------> SWD ...
I've been trying to program a custom PCB with an nRF52832, using the nRF52 Development Kit and nRFgo Studio.
When I connect just the nRF52 Development Kit to my computer and program the SoftDevice (
s132_nrf52_3.0.0_softdevice.hex), it ... (more)
I'm trying to use an existing NRF51822 mbed codebase on a new NRF52832 product and am having some issues.
First of all, it seems that I can't use mbedlib, but need to update to mbed-os because BLE ... (more)
nRF51822 had been used in my project, because of dual bank bootloader and softdevice, the internal flash memory was not enough for the application. I want to know how to expand the flash memory.
I think a external ... (more)
I'm using nRF52 + s132v2.0.0 + SDK11.0.0. I want to be able to update to s132v4.0.2 (or so) + SDK13.0.0 via DFU. I'm planning on modifying the bootloader start address to 0x77000 with ... (more)
may i know is it possible to read and write process using pstorage after disable softdevice_handler_sd_disable();
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 ...
i need to know the read and write time in (ms). for one page
please any ony help me
To @Hung Bui. Hello sir. I am new to NRF51 microcontrolers and I am trying to use Pstorage in my written code. I have noticed this post of your's:
I am using nrf51422 and and edited ble_app_uart example as ... (more)
I want to add the nrf52832 to my customized board and I am studing the possibilities for flashing it once that is located on the board. Is it possible to flash trhough the SPI interface? or it should be only ... (more)
From this post here I learned that the device manager can be used to store characteristic values persistently. This post is quite old though and it seems more common to use the peer manager now. Does the peer manager have ... (more)
i need store my data in internal flash memory (around 30kb). i have fixed memory map from 0x25000 to 0x35000. my, block size = 16 byte, block count =4096, no of pages= 64 pages, page start no. = 148, page end ... (more)
I'm using SDK12 without ble. (peripherals/uart) so, I can't pstorage or fstorage.
I want to write 4 bytes without erasing a page. And I want to update a value in between.
How can I do ... (more)
I tried to use fstorage to store some data in flash. From now, I was able to read and write data before advertising starts, but when I try to write data to flash after the ble_advertising_start(BLE_ADV_MODE_FAST) function, my ... (more)
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)
This is a DFU custom project...the core problem is that I cannot erase the bootloader settings page from the chip.
While trying to use a slightly modified version of the BLE DFU buttonless code, I am running into ... (more)
I meet the same problem with the question "Status bit for sd_flash_write()".I have register my flash_nrf52_sys_event_handler() in sys_evt_dispatch(),but after sd_flash_write() still no NRF_EVT_FLASH_OPERATION_SUCCESS or NRF_EVT_FLASH_OPERATION_ERROR happened.And I had confirm that data has been written to the ... (more)
I want to use the last page of codespace for storing a single 32 bit word of non volatile data. I am failing so far and I think I just don't understand the page numbering scheme the soft device ... (more)
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)
I found in documentation that the time to write to flash is between 67.5 and 338 µs.
In the product I'm working on I need to store some configuration data in persistent memory. I came accross serveral ways to do that. I think the best way to go is to use the Flash Data Storage ... (more)
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)