As in subject:
I have new D2000 board and I wondering if it is possible to write couple of bytes to flash memory from external device? For example via SPI, UART or any other way?
Link Copied
Hello mark_kram,
You can't directly write data in to the D2000's flash through SPI or UART. Nevertheless, writing data that comes from those interfaces is indeed possible. You will have to receive the data you want to store, move that data to a variable and then take that data and write it on the memory.
I suggest you to check the documentation that can be found in C:\IntelSWTools\ISSM_2016.0.027\firmware\bsp\1.0\doc\html, specifically the file group__groupFlash.html. In that document you will be able to find the information about how to interact with the D2000's flash memory.
You should also check the example found in https://github.com/01org/qmsi/blob/master/examples/flash_access/main.c qmsi/main.c at master · 01org/qmsi · GitHub , it might be of help for you.
Peter.
Hello mark_kram,
You can't directly write data in to the D2000's flash through SPI or UART. Nevertheless, writing data that comes from those interfaces is indeed possible. You will have to receive the data you want to store, move that data to a variable and then take that data and write it on the memory.
I suggest you to check the documentation that can be found in C:\IntelSWTools\ISSM_2016.0.027\firmware\bsp\1.0\doc\html, specifically the file group__groupFlash.html. In that document you will be able to find the information about how to interact with the D2000's flash memory.
You should also check the example found in https://github.com/01org/qmsi/blob/master/examples/flash_access/main.c qmsi/main.c at master · 01org/qmsi · GitHub , it might be of help for you.
Peter.
Dear Intel_Peter,
thanks for your fast and comprehensive answer. In case of any problems I will try to ask again :-).
Br's.
For more complete information about compiler optimizations, see our Optimization Notice.