Re: Working with flash on nrf52840

Puzdrowski, Andrzej

Add configuration CONFIG_MPU_ALLOW_FLASH_WRITE=y to the project (or select via Kconfig).

This should help.




From: zephyr-devel-bounces@... [mailto:zephyr-devel-bounces@...] On Behalf Of ashish.shukla@...
Sent: Friday, January 19, 2018 7:09 AM
To: zephyr-devel@...; zephyr-users@...
Subject: [Zephyr-devel] Working with flash on nrf52840


Hello all !!

I'm working with /zephyr/samples/driver/soc_flash_nrf5. when I run this example, flash erase is successful,but it fails to write anything, resulting in error

 Data Access Violation

 Address : 0x40000


Changing the offset address, results in failure in flash erase itself. I guess it's something to do with offset address I'm working with. Can someone throw some light what's happening in case of nrf52840.


Has anyone succeeded in making it work? 



Warm regards,
Ashish Shukla

Jr. Embedded Engineer

Research & Development


Please consider the environment before printing this e-mail or its attachments.


Disclaimer: The information contained herein (including any accompanying documents) is confidential and is intended solely for the addressee(s). If you have erroneously received this message, please immediately delete it and notify the sender. Also, if you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this message or any accompanying document is strictly prohibited and is unlawful. The organization is not responsible for any damage caused by a virus or alteration of the e-mail by a third party or otherwise. The contents of this message may not necessarily represent the views or policies of Corvi


Join to automatically receive all group messages.