How to access to flash memory by application ________________________________________________________________________
Applicable Environment
________________________________________________________________________
Topic : How to access to flash memory by applicationSDP : 6.3.0SP2Target : Any supported target________________________________________________________________________
Recommendation
________________________________________________________________________
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_*()
________________________________________________________________________
NOTE :
This entry has been validated against the SDP version listed above. Use
caution when considering this advice for any other SDP version. For
supported releases, please reach out to QNX Technical Support if you have any questions/concerns.________________________________________________________________________
Please contact us with your questions or concerns.