Knowledge Base

BSPs and drivers
Community resources
Product documentation
Contact us

How to access to flash memory by application
1) Disable any drivers currently managing the flash memory area.
2) Call ThreadCtl() to gain I/O privileges
3) Map the flash memory area into the process address space using mmap_device_memory()
4) It is recommended to use the in*() anda out*() calls to perform the actual I/O operations using the pointer returned by mmap_*()

Related Attachments
 None Found

Please contact us with your questions or concerns.