RSS
Sort by » date activity ▼ answers views votes

230 questions

Tagged
  • x
18
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)

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

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

180
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?

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

65
views
no
votes
no
answers
Last activity 2017-04-19 08:44:27 +0200 by Shreyas

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)

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

24
views
no
votes
no
answers
Last activity 2017-04-13 14:11:46 +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)

22
views
1
vote
1
answer
Last activity 2017-04-10 12:29:55 +0200 by Petter Myhre flag of Norway

pstorage request block id

Hi,

Currently I'm working on updating some code based op pstorage on the nRF51822 with SDK 10 an SD S110 (v8).

Right know we're not using "blocks". We're using pstorage_update(&m_pstorage_handle, ...) directly on the handle obtained via ... (more)

87
views
1
vote
1
answer
Last activity 2017-04-06 14:42:52 +0200 by Jørn flag of Norway

How to save data on flash storage?

I need to save some data on the flash storage. This data will be some structures and I will write, read and modify them as and when required. I am also using peer manager in my application. Can my application ... (more)

38
views
2
votes
1
answer
Last activity 2017-04-05 14:47:00 +0200 by Kristin flag of Norway

nrfjprog to flash multiple devices

Hi, I generally use " make flash" (armgcc makefile). If there are multiple devices connected I get a pop-up to select a device/emulator to be flashed. This pop-up just defeats the whole purpose. Is there a simpler way to select ... (more)

63
views
1
vote
1
answer
Last activity 2017-03-31 09:46:17 +0200 by Pranay

how much is flash storage size available to store data in following case ,for nrf52832?

hi..I am using nRF52832 with sd 132 v4.0.2, I want to store data received over BLE in flash. So i wanted to know how much is the memory available to store data in following case if nrfgo ... (more)

84
views
1
vote
3
answers
Last activity 2017-03-29 18:03:57 +0200 by Ray Breslin

Problem with double-reset after flashing

Hello,

I am trying to get to the bottom of a double-reset-problem which I am facing, whenever I flash my software-program to the nRF52832 (1 for the flashing and 1 after a short startup).

Currently I am using a Windows ... (more)

56
views
1
vote
1
answer
Last activity 2017-03-29 11:35:41 +0200 by endnode

NRF52832 flash endurance

According to the nRF52832 spec, the flash memory can handle a minimum of 10K write/erase cycles. I need to understand the following:

  • I understand the write/erase cycles are at a word level. That is, each 32-bit word can ...
(more)

40
views
no
votes
1
answer
Last activity 2017-03-23 13:38:56 +0200 by Petter Myhre flag of Norway

Can I define the position of peer manager's data in flash?

My BLE application uses my own firmware update algorithm and bootloader, as well as the Peer Manager module. To ensure that I do not delete peer data during the update process, I need to know how the position of the ... (more)

505
views
4
votes
3
answers
Last activity 2017-03-21 15:14:48 +0200 by Marcel

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)

15
views
no
votes
no
answers
Last activity 2017-03-15 16:06:11 +0200 by billt79

Flash write freezes chip no softdevice

Hi,

I have just used some code from your flash_write example in the SDK, it works ok but i have a couple of issues, the code is from sdk 12.7, and the chip is an nrf51422 QFAC. It does ... (more)

58
views
1
vote
1
answer
Last activity 2017-03-15 09:44:11 +0200 by Daniel T. Lee

How to save data persistently(non-volatile) to nRF51 core not effected by powering off and on?

How to save data persistently(non-volatile) to nRF51 core not effected by powering off and on?

(How to save static data persistently without deleted when the core is turned off and on?)

I think there is some kind of an ... (more)

68
views
no
votes
1
answer
Last activity 2017-03-14 10:42:54 +0200 by Jørn flag of Norway

How to understand Pstorage [closed]

I'm confused. in other platform, i know flash stard and end adress ,alse page size ,i can read and write data directly. But use pstorage mode as follows : pstorage_init() ->pstorage_register()->read (for use)-> write(for persistenct storage)

Firstly, my ... (more)

62
views
2
votes
1
answer
Last activity 2017-03-09 11:26:03 +0200 by endnode

tools to convert binary data file to hex compatible with nrfjprog

I have a binary data file that I would like to program in flash at defined address on a nrf52 device

Which tool do you advise that generate hex intel file format by providing binary data filename and base address

Thanks

136
views
1
vote
1
answer
Last activity 2017-03-08 14:47:11 +0200 by Adam Varga

Flash Data Storage (FDS) SDK13

Hello,

I want to try out the FDS according to this article.

My base project is the ble_app_uart (periph) from the SDK13 and I am using PCA10040 DK.

I enabled the FSTORAGE and FDS in the sdk_config.h, and I ... (more)

1k
views
2
votes
5
answers
Last activity 2017-03-08 08:48:53 +0200 by pavut

pstorage_store not stores but i can read

Hello,

i am stuck with this, trying to write to flash using pstorage module. Below is my code.

static void pstore_cb_handler(pstorage_handle_t  * handle,
                               uint8_t              op_code,
                               uint32_t             result,
                               uint8_t            * p_data,
                               uint32_t             data_len)
{
    switch(op_code)
    {
        case PSTORAGE_ERROR_OP_CODE:
            ble_nus_send_string( &m_nus, (uint8_t *)"PS general ...
(more)

118
views
no
votes
no
answers
Last activity 2017-03-03 15:11:48 +0200 by Shreyas

Flash Write in SDK12

I am trying to use flash on UBlox NINA B112 which has nrf52832 chip. I have tried to use all the three modules : Simple flashwrite, FStorage and FDS. I am able to read the flash but not able to write ... (more)

63
views
no
votes
2
answers
Last activity 2017-03-01 14:49:31 +0200 by Tarik

Flash and debug using eclipse and GNU

Hi,

I used the code ble_app_uart_c on board 10028 as a base for my custom board.

My board is nrf51822 QFAA based so I changed all occurances of nrf51422 to nrf51822 and xxac to xxaa on the makefile. I also ... (more)

128
views
2
votes
2
answers
Last activity 2017-02-27 11:38:38 +0200 by Roger Clark

Unable to flash s132 on nRF52832

I am using TAIYO-YUDEN EYSHCN, which is having Nordic-nRF52832 chip on it. As per document from TAIYO-YUDEN, recommended to flash s132-firmware on it. I downloaded s132_nrf52_3.1.0_softdevice.hex(size-342kb) from nordic site and flashing it using nRF-go studio on ... (more)

46
views
1
vote
1
answer
Last activity 2017-02-23 12:54:32 +0200 by Stian flag of Norway

nRF52832 "unable to connect to the target"

Hi!

I have an nRF52832 on a custom board. I managed to flash it through JLink and STLinkv2. But suddenly, I wasn't able to communicate to it anymore.

Openocd tells me: "unable to connect to the target".

So I ... (more)

59
views
6
votes
1
answer
Last activity 2017-02-23 08:47:37 +0200 by endnode

Store the application in external flash

Hello, If I use the nRF51822 with 128KB ROM and I connect to a external flash via SPI.

The SoftDevice and bootloader are stored in the internal 128K ROM.

Is it possible that I store my code(application) in the ... (more)

91
views
1
vote
1
answer
Last activity 2017-02-21 14:32:22 +0200 by Kapil Singh Rawat flag of India

fs_store data lost after power off

Hi

I'm using fs_storage function to read and write in flash memory. Value successfully stored in evt->store.p_data but after power off it value become 0

switch(evt->id)
    {
        case FS_EVT_STORE:
            if(result == FS_SUCCESS)
            {
                stored_data = evt->store.p_data ...
(more)

42
views
no
votes
no
answers
Last activity 2017-02-16 13:40:02 +0200 by schef

sd_flash_write inside BLE event [closed]

Hello, i have read if not all posts about writing to FLASH while using BLE. But could not find the desirable method.

What i would like to do is to write to flash from characteristic write as it comes. The ... (more)

Statistics

  • Total users: 18588
  • Latest user: Lucia Doran
  • Resolved questions: 9213
  • Unanswered questions: 2552
  • Total questions: 21765

User menu

    or sign up

Recent questions