Hi Charlie,
Yes, I logged in Debian as root, then should run the program as root. I
saw another sample program named adc_7250, then I ran it and it works.
What is the difference between adc_logger and adc_7250 so that one works
but the other does not? Thank you.
Cheers,
Huy
--- In "Charles" <> wrote:
>
>
>
> --- In "Great Tiger" huycb_f251@ wrote:
> >
> > Hello,
> > This is my first post, so hello everyone.I tried to run adc_logger
> > sample program on my ts-7260 but the output seemed to be that the
ADC is
> > not there:
> > "[adc_logger] No such device or address : Could Not initialise ADC
or
> > ADC hardware not present."
>
> Look through the adc_logger source, it's fairly simple. In acd_init()
you have an error return if you can't open /dev/mem. Are you running
the programs as root?
>
> regards, ...... Charlie
>
> > Then I tried to run the ADC converter source code on the manual, it
hung
> > at the loop. Could anyone please let me know why? Anything wrong
with my
> > ADC or is there any configuration need to be done? Thanks all.
> > --Huy
> >
>
------------------------------------
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/
|