To: | |
---|---|
Subject: | [ts-7000] Re: Functions for Peeking and Poking Memory and I/O |
From: | "mikeciaraldi" <> |
Date: | Tue, 12 Aug 2008 17:06:50 -0000 |
Some more: 1) Be sure to compile with the flag "-mcpu=arm9". 2) The functions I posted are not especially efficient. Each time you call one, it opens the /dev/mem device so it can access the memory and/or I/O, then does the peek or poke, then closes the device. This is a lot of operating system overhead. 2a) A better way would be to have some persistence, such as in a static variable or a C++ object, so we could just map once, then peek and poke into the memory whenever we need to. 2b) Even better would be a driver in the kernel itself. Maybe later... ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ts-7000/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/ts-7000/join (Yahoo! ID required) <*> To change settings via email: <*> To unsubscribe from this group, send an email to: <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: Problem Accessing GPIO on TS-7800, mikeciaraldi |
---|---|
Next by Date: | Re: [ts-7000] Re: Functions for Peeking and Poking Memory and I/O, Eric Robishaw |
Previous by Thread: | [ts-7000] Re: Functions for Peeking and Poking Memory and I/O, mikeciaraldi |
Next by Thread: | Re: [ts-7000] Re: Functions for Peeking and Poking Memory and I/O, Eric Robishaw |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU