RSS
Sort by » date activity ▼ answers views votes

262 questions

Tagged
  • x
40
views
1
vote
2
answers
Last activity 2017-08-08 19:28:48 +0200 by Nguyen Hoan Hoang flag of Canada

Error while flashing nrf51422

Hello,

I want to falsh nrf51422 device. I ma developing software using Eclipse and SDK_7.2.0. The soft device is 130. I have build the project successfully and Hex/elf file is generated.

But when i tried to flash ... (more)

19
views
no
votes
no
answers
Last activity 2017-08-07 13:43:22 +0200 by Andy

Counting flash writing operations in Bootloader (Bug maybe?)

Hello,

I'm working on the bootloader using SDK13.1. In the file dfu_req_handling.cthere is a variable called m_flash_operations_pendingthat gets incremented with every call to nrf_dfu_flash_store()or nrf_dfu_flash_erase().

My question is why you don't increase this ... (more)

67
views
no
votes
1
answer
Last activity 2017-08-03 10:47:27 +0200 by Lukasz Duda flag of Poland

OpenThread and Flash Operations in Upcoming SDK

Hi Nordic,

I was reading the Wiki page for porting OpenThread to a new hardware platform (https://github.com/openthread/openthr...) and I noticed there isn't a "flash.h" header file and a static library specifically for handling flash ... (more)

90
views
1
vote
1
answer
Last activity 2017-08-02 12:31:11 +0200 by Bjørn Spockeli flag of Norway

Eclipse with ST-LINK for Nordic

Hello,

Is there any guide to use the Eclipse with ST-link for flashing and debugging of Nordic chip?

waiting for your kind reply.

Regards

MAbbas

111
views
4
votes
1
answer
Last activity 2017-08-02 11:24:28 +0200 by endnode

Cybersecurity features for NRF52 chips

Good day!

I'm interesting in ability to support of some required Cybersecurity features by NRF52832 or/and NRF52840:

1) Is it possible to fully disable JTAG and/or SWD? 2) Is it possible to implement Flash protection (from rewriting ... (more)

57
views
1
vote
1
answer
Last activity 2017-07-28 13:50:40 +0200 by emdi

Secure DFU, Should you use fstorage or nrf_dfu_flash

Within a buttonless DFU application should nrf_dfu_flash or fstorage be used to erase and write to flash?

SDK 13.0.0 - Soft device s132_nrf52_4.0.2_softdevice running on a nRF52832.

I want to store device specific information (like Serial Number ... (more)

82
views
no
votes
1
answer
Last activity 2017-07-26 14:44:21 +0200 by Kristin flag of Norway

want to write and read data to/from Flash?

I want to add some configuration files to nrf52, so can I write data in flash and read when I want.......I have the example code of twi master_twi slave but it engages the pin so I need a separate ... (more)

40
views
1
vote
no
answers
Last activity 2017-07-20 13:28:35 +0200 by Andy

Best way to update a 32-bit word in flash - SDK13.1

Hi,

I want to store the CRC of the current firmware in the flash, for DFU purposes. Almost all of the threads I've seen so far reference the pstorage API but it's no longer supported since SDK12. There ... (more)

65
views
no
votes
1
answer
Last activity 2017-07-15 14:31:40 +0200 by Manas

IoT DFU on Contiki using CoAP Blocktransfer

[Aim] I am working on a project where I aimed to Integrate/Develop firmware management system using Contiki running over Nordic NRF52.

[Components] Contiki running over Nordic NRF52 + LwM2M (Management server) + CoAP block transfer (Transport Medium) + IoT DFU (Nordic's ... (more)

73
views
no
votes
1
answer
Last activity 2017-07-11 21:21:04 +0200 by NewAce

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)

42
views
2
votes
1
answer
Last activity 2017-07-10 18:46:59 +0200 by Hung Bui

Speed of reading from flash address with nRF52840

Hi everyone,

I was wondering if anyone benchmarked the time for reading a word from flash on the nRF52840. I was able to find the write/erase time on the specs document but was not able to find anything about ... (more)

58
views
1
vote
1
answer
Last activity 2017-07-04 15:24:41 +0200 by Jørgen Holmefjord flag of Norway

sd_flash_page_erase(0x40) returns NRF_ERROR_FORBIDDEN with s140 5.0.0-3.alpha

I ran into an odd issue on nRF52840 using s140 version 5.0.0-3.alpha. My application erases and writes to a region of flash.

I've found that I'm able to erase the pages before and after address ... (more)

116
views
no
votes
2
answers
Last activity 2017-07-03 16:40:16 +0200 by benjamin

NRF52832 Flash write

Hi,

For the NRF52832, I read that a number of write (per block) is limited before a forced erase of the page. Apparently, the amount of write is 181 times for a block of 512 Bytes. I would like to ... (more)

358
views
3
votes
2
answers
Last activity 2017-06-29 09:40:05 +0200 by Artem Efremov

Error when programming a custom board using nRF52-DK [closed]

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)

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

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

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

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

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

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

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

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

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

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

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

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

318
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,

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

52
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

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

Statistics

  • Total users: 23740
  • Latest user: Gretta Fusco
  • Resolved questions: 10097
  • Unanswered questions: 3087
  • Total questions: 24462