ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Functions for Peeking and Poking Memory and I/O

To:
Subject: Re: [ts-7000] Re: Functions for Peeking and Poking Memory and I/O
From: "Eric Robishaw" <>
Date: Tue, 12 Aug 2008 12:30:10 -0500
I assume the -mcpu=arm9 flag is only needed when cross compiling from another environ?
Or is that required when compiling on the TS-7800 as well?

Eric


On Tue, Aug 12, 2008 at 12:06 PM, mikeciaraldi <> wrote:

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...


__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

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