I want to write a data stream coming over UART into flash memory of the nrf52840 & echo it back after writing it to flash .
Please suggest from where i can start ?
Thanks
Raj
I want to write a data stream coming over UART into flash memory of the nrf52840 & echo it back after writing it to flash .
Please suggest from where i can start ?
Thanks
Raj
Hi,
I would suggest that you start by looking at the Flash Data Storage Example in the SKD. This provides a command-line interface that you can use to write and read data to and from flash.
Best regards,
Jørgen
Jorgen, The problem with the examples is that they skip the hardest part - finding where one can write. The example just puts the start address at the last page. What good is that? How about a method that one can use to find the start of free flash in case one needs more than 1024 bytes? For me that has been a real blocker as I have yet to find any documentation on how to do that.
Jorgen, The problem with the examples is that they skip the hardest part - finding where one can write. The example just puts the start address at the last page. What good is that? How about a method that one can use to find the start of free flash in case one needs more than 1024 bytes? For me that has been a real blocker as I have yet to find any documentation on how to do that.