Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

How to access to flash memory by application
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: How to access to flash memory by application
  • SDP: 6.3.0SP2
  • Target: 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.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.