0

using sdk13.1 can't write to flash.

lukman gravatar image

asked 2017-07-17 11:55:18 +0200

while using example buttonless DFU in sdk13.1, writing to flash using flash_word_write() is preventing ble connections, even though ble is advertising.

can anyone help with this please? any quick reply is much appreciated.

edit retag flag offensive close delete report spam

Comments

Have you called sd_flash_page_erase() before writting on flash? I managed to get flash operations working using sd_flash_page_erase() and writing on NRF_EVT_FLASH_OPERATION_SUCCESS on sys_evt_dispatch() callback.

Otavio Borges ( 2017-07-17 15:43:01 +0200 )editconvert to answer

Please provide some more information on how and when you are writing to flash. Things like code snippets and any error codes that are returned are very useful.

Bjørn Spockeli ( 2017-07-18 11:37:35 +0200 )editconvert to answer

1 answer

Sort by » oldest newest most voted
1
lukman gravatar image

answered 2017-07-19 11:57:16 +0200

thank you guys for ur help! i managed to solve it by registering an area for the data in flash using Fstorage functions.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

Question Tools

1 follower

Stats

Asked: 2017-07-17 11:55:18 +0200

Seen: 100 times

Last updated: Jul 19