I just flashed the soc_flash_tst with the curie BSP but there we are able to write only 100x4 bytes of memory So we are not able to write more than that So can you please help me out in this.
Thanks with regards
Thanks for reaching out!
Could you please let us know how you noticed this? Please explain us how you got this error? Please provide as much details as possible.
We will be waiting for your response.
I just called flash_test() in quark curie_hello project by including the file flash_tst.c and in flash_tst.c i have changed TST_LEN as more then 200
but it is not printing the output in logs i mean we are trying to store, retrieve and printing 0 to more than 200 integer values from soc_flash. But It is working for upto 200 TST_LEN. The files i have used are shown in below links :
My directory of project : https://github.com/CurieBSP/main/tree/master/projects/curie_hello/quark main/projects/curie_hello/quark at master · CurieBSP/main · GitHub
copied flash_tst.c from : https://github.com/CurieBSP/main/tree/master/bsp/unit_test/machine/soc/intel/quark_se/quark main/bsp/unit_test/machine/soc/intel/quark_se/quark at master · CurieBSP/main · GitHub
Thanks with regards
I understand, let me investigate what might be happening. I'll get back to you as soon as I have any news or if need to ask you for any other detail.
We would like to point out Curie's datasheet ( https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/curie/intel-curie-module-dat...), in there you will find information about the module's memory. As you can see in section 3.5, the memory of module is explained. In this document it is mentioned the following:
There are 4 GB (32 bits) of physical address space that can be used as:
- Memory mapped I/O (MMIO – I/O fabric)
- Physical memory (system Flash/system SRAM/external SRAM)
- System Flash 0: 192 kB (including system ROM)
- System ROM: 8 kB: Write protected section of the Flash that is used as One Time Programmable (OTP) memory for information memory and also for user information like ID or serial number
- System Flash 1: 192 kB
- Internal System SRAM: 80 kB
- 8 kB of Data Closely Coupled Memory (DCCM) in the sensor subsystem
If you'd like to learn more about Curie's memory and its capabilities, you can find more details about it on its datasheet.