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