RSS
Sort by » date activity ▼ answers views votes

292 questions

Tagged
  • x
60
views
1
vote
1
answer
Last activity 2017-12-09 09:14:06 +0200 by endnode

Flashing code into NRF52832 ICs quickly

Hello , What is the preferable way to flash code into NRF52832 IC during mass production? Flashing the code into custom IC with NRF52-DK in time consuming process.

And also Is there any way to generate and flash hex code into ... (more)

16
views
no
votes
1
answer
Last activity 2017-12-07 13:08:18 +0200 by Petter Myhre flag of Norway

radio detect ,flash erase and store

i want to erase and store the flash after detecting the radio active.

The radio signal is also active, when i erase and store .

Do erase and store the flash may influence the interrupt ?

static void radio_notification_init(void)
{
    uint32_t err_code ...
(more)

39
views
1
vote
1
answer
Last activity 2017-12-06 14:50:08 +0200 by Torbjørn Øvrebekk

Flash memory parameters in Nordic nRF52840

Is there a block header information available that I can read thru the flash read function (e.g. in ble_flash driver, ble_flash_page_read() function ) ? My FS (file system) requires block header info to be read from the flash device.

Block header ... (more)

28
views
no
votes
no
answers
Last activity 2017-12-06 04:08:29 +0200 by carlche

SDK 12.3.0 - why I must flash mbed build first to make SDK build work on nRF51 DK?

Hi there,

I wonder why I have to flash my nRF51 DK using mbed build first to make the SDK build work?

I received my 2 nRF51 DK today and I tried the first one in the following step using ... (more)

43
views
3
votes
1
answer
Last activity 2017-11-20 15:46:11 +0100 by Torbjørn Øvrebekk

Do interrupts needs to be disabled before erasing / writing flash?

The NVMC documentation states the CPU is halted while the NVMC is writing or erasing flash. If the CPU is halted, then interrupts shouldn't need to be disabled during flash operations, correct? I'm asking because other micros will ... (more)

59
views
1
vote
1
answer
Last activity 2017-11-15 18:36:42 +0200 by Youssif

sd_flash_page_erase on nrf52840 takes a long time

Hi

We are seeing a significant delay in a flash-related operation on the nrf52840, specifically using the function sd_flash_page_erase() When we use that function to erase flash it takes up to 3 times longer on the nrf52840 than it does ... (more)

24
views
1
vote
1
answer
Last activity 2017-11-13 14:27:13 +0100 by HDU-rib

pstorage call back is not getting called

help! Thanks SDK: nRF5_SDK_11.0.0
Softdevice: s132_nrf52_2.0.0_softdevice
chip:nRF52832
we found that the pstorage's callback will not be triggered when the Bluetooth device connect to the host. First, I call the flash_init () to initialize flash in ...


(more)

49
views
no
votes
1
answer
Last activity 2017-11-13 09:30:53 +0200 by yuyixuantai

how to erase nrf51822 softdevice or app code

I write NRF_UART0->ENABLE = 0x00 in my app in first line code, but now nrf51822 can connect but cannot Download and erase;

  1. in keil it report:

**JLink Warning: Could not read memory location 0x20000000 when trying to set soft RAM ... (more)

27
views
no
votes
no
answers
Last activity 2017-11-06 17:52:14 +0100 by NGO

nRF24LU1+: read flash using MOVX or MOVC

Hi,

We tripped on an odd bug: we were getting corrupted data from flash if Keil's C51 compiler used a MOVX instruction instead of MOVC.

Changing the pointers from generic to typed code seems to have fixed this but ... (more)

67
views
1
vote
1
answer
Last activity 2017-11-03 01:06:13 +0100 by superpak

How many times can i write/erase internal flash? [closed]

Hi. i'm using nRF52832. As datasheet says, flash endurance min value = 10,000. Isn't there max value? There is no limited life cycle for flash?

I just wnat to estimate its life cycle.

I need your help.

27
views
1
vote
1
answer
Last activity 2017-11-01 09:32:26 +0100 by Hung Bui

Flash size issue about nRF24LE1_Product_Specification_rev1_6

Hi All,

There should be a typo in " nRF24LE1_Product_Specification_rev1_6", page 82, Figure 35. The Unprotected Program memory is shown 10 kB, but seems it should be 12 kB, please correct me if i'm wrong, thanks.

Best Regards,

Kevin.

71
views
no
votes
2
answers
Last activity 2017-10-27 19:51:09 +0200 by kermit the fog

What is the real nRF52840 max writes to a flash block?

The nRF52840 OPS 0.5.1, describes nWRITE,BLOCK as the amount of writes allowed in a block between erases, and lists nWRITE,BLOCK = 403 Maximum.

It looks like 8 blocks are in a 4 kB page, so each block ... (more)

179
views
no
votes
1
answer
Last activity 2017-10-27 10:00:52 +0200 by emdi

How does FDS work?

I am trying to store a small amount of data on the nRF52832 with the FDS module.

I followed the following code found in another question: https://devzone.nordicsemi.com/questi...

Which I managed to get working, but when I ... (more)

38
views
2
votes
1
answer
Last activity 2017-10-26 11:19:59 +0200 by Bjørn Spockeli flag of Norway

Adding newer SDK features to existing application in SDK v10

I am working on adding DFU, persistent storage and pair/bond feature to an existing nRF51 application, developed with SDK v10.0.0 running on SoftDevice S110 v8.0.0.

I looked over the SDK documentation a little and found ... (more)

51
views
no
votes
1
answer
Last activity 2017-10-26 05:53:07 +0100 by RK flag of Singapore

How to do the log mechanism whenever wdt or hard fault happens in NRF52832?

Hi

My application with SDK11 S132 softdevice is having some unknown issues that will make wdt or hard fault handler happen. And I am trying to use the following code to access the flash memory in wdt

sd_flash_page_erase( page_num ); nrf_delay_ms ... (more)

110
views
2
votes
1
answer
Last activity 2017-10-23 18:52:55 +0200 by VoidGreen

Flash protection nrf52840 SDK: 14.0.0

I am trying to implement a bootloader with rewrite protection on nrf52840 with SDK: 14.0.0. But it seems that there is no flash write protection registers in nrf52840. So is there a way to implement a flash rewrite protection?

Thanks.

136
views
no
votes
1
answer
Last activity 2017-10-13 15:06:01 +0100 by emdi

FDS GC seems not to work [closed]

Using SDK 13 FDS, I store 6468 byte, that is 1617 words, including FDS header. Of course this size is total. In detail in byte size, this size consists of

(12(header)+ 576) * 7
(12 + 774) * 1
(12 + 691) * 2 ...
(more)

118
views
no
votes
no
answers
Last activity 2017-10-11 12:30:36 +0200 by arjun

SPI External Flash Interface

Hi,

I am trying to interface external flash with the nrf52. I am able to read the device id. After writing to the status - configuration - bank address registers, I am able to read the register values.

But when I am ... (more)

1k
views
5
votes
5
answers
Last activity 2017-10-10 19:11:20 +0200 by NewAce

Is it safe to use USB dp/dm pins for SWD interface?

We are building a new version of a small device with the new nRF52832. Its only external connection is a micro USB plug that we use for charging - we do not need it as USB data interface. But would like ... (more)

81
views
no
votes
no
answers
Last activity 2017-10-09 10:20:58 +0100 by gorazd

unintended flash erase

Hi,

we have a nrf51 mounted inside an AC motor housing which we assume is causing an unintended flash erase from time to time (checked with nrfjprog --readcode).

Is this a valid assumption? Are there any solutions for this problem ... (more)

74
views
no
votes
no
answers
Last activity 2017-10-06 01:39:48 +0100 by Marco

Checking nRF52832 SoC for hardware faults (cannot be flashed) [closed]

Dear support,

I am working on some custom boards embedding the nRF52832-CIAA chip using SDK-v11.0 and s132-v2.0.1.

I have got 9 custom units and out of them only 1 cannot be flashed.

Even trying to restart it ... (more)

28
views
no
votes
no
answers
Last activity 2017-10-02 11:16:33 +0200 by Sigurd flag of Norway

NRF51 Custom Board - Keil Works but Makefile Does Not

Hello,

I have an NRF51822 custom board. I am trying to flash the code under

C:\Users\Home\Desktop\nrf51\nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\ble_app_uart\pca10028\s130

I am trying to flash it with KEIL and it works. I ... (more)

89
views
1
vote
1
answer
Last activity 2017-09-22 11:28:10 +0200 by Bjørn Spockeli flag of Norway

bootloader_secure_ble with NRF_LOG RTT

I am trying to debug a custom version of the bootloader_secure_ble example but am running into FLASH space issues. The bootloader app does not fit into FLASH with -Og optimization OR with NRF_LOG activated. I am using SDK14 and S132 ... (more)

79
views
no
votes
2
answers
Last activity 2017-09-13 16:57:34 +0200 by Hamza

Error: app.hex in softdevice region

Hello everyone,

I'm currently migrating from a functional code IAR to Eclipse GCC.

It compiles fine and I got the hex files.

However I have some troube to flash the application in the module. Indeed, when I'm using ... (more)

75
views
1
vote
2
answers
Last activity 2017-09-13 03:28:27 +0200 by bindassdost

nrf51822 sdk12 hangs after flash write

i am in very strange problem and was unable to debug it i am using following code to write 16 bytes data to flash memory, my app hangs after executing custom_flash_write function. function works as expected ( flash is erased , data ... (more)

98
views
no
votes
1
answer
Last activity 2017-09-12 05:33:17 +0200 by MainOFF

[NRF52840] Flash Read/Write With Softdevice.

Hello everyone! Do have any different between Read/Write internal flash with softdevice and non softdevice!

And how can I get example Read/Write internal flash with softdevice. I want to save some infomation to internal flash of nrf52840 MCU.

106
views
no
votes
3
answers
Last activity 2017-09-11 09:27:42 +0200 by Martin Børs-Lind flag of Norway

ERROR when programming my custom pcb with NRF51288 DK PCA10028

Hello everyone, I've been trying to solve this problem for several days.

Hello everyone, I've been trying to solve this problem for several days. I have developed a custom-built PCB based on the NRF51288 chip but I can ... (more)

26
views
no
votes
1
answer
Last activity 2017-08-29 16:11:53 +0200 by Jonathan

Knowing NVMC operation is finished inside BLE event [closed]

(nRF51822, but also concerned with nRF52832, SD130, SDK 12.1)

I'm trying to write/erase flash from a bluetooth event handler. As it's been outlined in other questions, while being in the event handler, other events aren't ... (more)

81
views
no
votes
no
answers
Last activity 2017-08-27 00:50:26 +0100 by wade smith

nRF52 starting from scratch [closed]

I have built a custom board that is identical in schematic to the nRF52 DK board, with some additional circuitry connected as a SPI interface to the nRF chip. The MCU is the same Atmel SAM3U chip. That chip has ... (more)

145
views
no
votes
1
answer
Last activity 2017-08-24 08:57:17 +0200 by endnode

Is it possible to change the flash page size of nrf52

Hi, I want to eraze the flash page of nrf52832. Since the default flash page size is 4096 bytes, it takes 90ms to eraze the page. I want to shorten the time for erazing by changing the flash paze size ... (more)

Statistics

  • Total users: 25644
  • Latest user: Lawerence Holland
  • Resolved questions: 11252
  • Unanswered questions: 3810
  • Total questions: 27773