RSS
Sort by » date activity ▼ answers views votes

249 questions

Tagged
  • x
41
views
2
votes
1
answer
Last activity 2017-06-21 16:41:10 +0200 by David

flash update just 1 byte

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?

23
views
no
votes
no
answers
Last activity 2017-06-20 20:47:03 +0200 by Nick Bentzen

SPI MOSI default high? NRF SDK 12.2.0

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)

27
views
no
votes
no
answers
Last activity 2017-06-16 07:53:28 +0200 by Fan Jiaming

External Flash and QSPI Settings

I have tried to study the behavior of the QSPI and the external flash. I noticed that the QSPI_CONFIG_READOC and 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)

43
views
1
vote
2
answers
Last activity 2017-06-15 14:50:10 +0200 by David García Polo

Flashing using Eclipse

Hi

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:

  • Flashing: _build/nrf52840_xxaa.hex
  • nrfjprog --program _build/nrf52840_xxaa ...
(more)

38
views
no
votes
no
answers
Last activity 2017-06-12 10:52:54 +0200 by vishal

SPI Flash write using DMA

Hi,

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)

32
views
no
votes
1
answer
Last activity 2017-06-09 08:29:01 +0200 by Kristin flag of Norway

Flash storage and Flash Data Storage start and end addresses

Hi,

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)

20
views
no
votes
no
answers
Last activity 2017-06-08 07:40:58 +0200 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)

245
views
1
vote
2
answers
Last activity 2017-06-06 07:45:33 +0200 by zhu.ky

fs_store doesn't update memory

Hi everyone,

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)

217
views
3
votes
1
answer
Last activity 2017-05-30 23:23:17 +0200 by Artem Efremov

Error when programming a custom board using nRF52-DK

Dear colleagues,

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

VTG ----+/

GND ------------------------> GND

GND DETECT -----/

SWD IO -----------------> SWD IO

SWD CLK ----------------> SWD ...

(more)

606
views
6
votes
4
answers
Last activity 2017-05-25 22:12:30 +0200 by wskim

Programming SoftDevice to custom PCB: Unable to find or open the JLinkARM dll

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)

17
views
no
votes
no
answers
Last activity 2017-05-25 10:21:43 +0200 by Nick

Store data in flash with NRF52832 and MBED and GCC

Hi,

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)

67
views
no
votes
2
answers
Last activity 2017-05-24 11:26:23 +0200 by tovax

How to expand the flash memory address?

Hi, all!

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)

47
views
1
vote
1
answer
Last activity 2017-05-23 15:47:05 +0200 by Hung Bui

using DFU to update softdevice

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)

217
views
no
votes
1
answer
Last activity 2017-05-21 20:35:07 +0200 by Petter Myhre flag of Norway

pstorage read write process after disable soft device

hi

may i know is it possible to read and write process using pstorage after disable softdevice_handler_sd_disable();

thanks,

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

28
views
no
votes
1
answer
Last activity 2017-05-18 10:48:36 +0200 by Bjørn Spockeli flag of Norway

pstorage read and write time for one page

i need to know the read and write time in (ms). for one page

please any ony help me

30
views
no
votes
1
answer
Last activity 2017-05-17 09:55:55 +0200 by chocol8

Unable to use Pstorage in my code

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: image description

I am using nrf51422 and and edited ble_app_uart example as ... (more)

48
views
no
votes
1
answer
Last activity 2017-05-15 11:05:36 +0200 by Turbo J

Is it possible to flash the nrf52832 through SPI?

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)

34
views
no
votes
no
answers
Last activity 2017-05-09 08:58:16 +0200 by Rick flag of Netherlands

Persistent characteristic value with peer manager?

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)

47
views
no
votes
1
answer
Last activity 2017-05-09 06:45:08 +0200 by satheesh

what is mean by blockid and moduleid in PSTORAGE

hi

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)

46
views
no
votes
1
answer
Last activity 2017-05-08 12:04:21 +0200 by Petter Myhre flag of Norway

How can i write only 4 bytes to flash?

Hi Forum,

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)

68
views
1
vote
1
answer
Last activity 2017-05-05 18:12:45 +0200 by Guillaume Levant

stuck on sd_flash_write in with fstorage and fds libraries

Hi,

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)

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

76
views
no
votes
1
answer
Last activity 2017-04-30 05:15:54 +0200 by matterama

DFU buttonless entry method fails to erase flash

Hello,

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)

83
views
no
votes
no
answers
Last activity 2017-04-28 11:07:13 +0200 by Allen_Shenzhen

still no flash events general

Hello,

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)

1k
views
no
votes
6
answers
Last activity 2017-04-25 09:34:20 +0200 by huyuxiang

Don't understand page numbering for sd_flash_write and sd_flash_erase

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)

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

196
views
no
votes
1
answer
Last activity 2017-04-24 11:41:52 +0200 by Bjørn Spockeli flag of Norway

Time to write one word to flash on nRF52

I found in documentation that the time to write to flash is between 67.5 and 338 µs.

  • What conditions influence this time? -How to avoid long writing times?

100
views
no
votes
1
answer
Last activity 2017-04-19 16:07:15 +0200 by endnode

Flash Data Storage

Hi,

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)

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

Statistics

  • Total users: 22176
  • Latest user: Poppy Silva
  • Resolved questions: 9658
  • Unanswered questions: 2796
  • Total questions: 23035