Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Linux
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 15th, 2006, 08:03 PM
Registered User
Join Date: Jun 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access to phisical addreses from user space

Need acces from user space by phisical addres to gpio ports.

int fd = open("/dev/mem", O_RDWR|O_SYNC);
void *mm = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, phys_addr);

It dosn't work Do you have an idea why or may be another idea?

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Space in my database table Access cannielynn0312 ASP.NET 1.0 and 1.1 Basics 4 December 27th, 2007 06:02 AM
Multiple user access to Access thutt Access 6 December 21st, 2005 10:23 PM
User Access mattastic SQL Server 2000 1 July 6th, 2005 08:24 AM
column name with space in access nkramanmca Access 1 January 24th, 2005 04:13 AM
User Access mattastic SQL Server 2000 1 October 1st, 2004 05:41 AM

All times are GMT -4. The time now is 10:19 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.