ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-7260 ADC problem

To:
Subject: [ts-7000] Re: TS-7260 ADC problem
From: "Phil" <>
Date: Wed, 20 Jun 2007 15:23:44 -0000
Hi,

It's very hard to give you an explanation for what your program is 
doing if you don't post the code along with you message.

However, I would guess that maybe you are opening the /dev/mem device 
everytime around your loop, and not closing it. Linux only has a 
finite number of file descriptors that it can allocate, and maybe you 
are running out. Try opening the /dev/mem device just once. Otherwise, 
post your code so that we may be able to help more effectively.

Cheers
Phil



--- In  "sodo.2007" <> wrote:
>
> I am having a small problem with the ADC on my 7260. 
> 
> I have adapted the ADC code I found here to just sample one input.
> My program has a loop that checks a battery level twice a second. 
The 
> program seems to run fine but after some length of time operating it 
> crashes and returns 
> :Assertion 'devmem != -1' failed
> Aborted
> 
> Can anyone offer any explanation for this?
> 
> Thanks
>




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