--- In "a.duelger" <> wrote:
>
> Hi,
> I started to play with the analog modul TS-ADC24 on TS7200 board for an on
> going project. In order to get access to TS-ADC24 registers only a script
> library (No driver by TS!! )is avalibla at
>
> ftp://ftp.embeddedarm.com/pc104-peripherals/ts-adc24/ts-72xx-linux24/tsadc.lib
>
> I downloaded this lib and tried to get it run. Here I got the problem. So far
> I understand some of functions in the library are missed ! (e.g. 'peekpoke'
> function )
Hi Mustafa --
TS has built the peekpoke function into their build of the busybox shell. If
you are using bash or zsh, it is undefined. They do this also for some other
commands like load7300, eptime, setcons, mtdcp, adcpoll, etc.
I guess you are using debian, so the TS version of busybox is not available.
Try building the TS version of busybox, then create a symlink from
/sbin/peekpoke to /usr/bin/busybox (or wherever you put it).
I recall reading that someone else here wanted to start work on a proper kernel
driver for the ts-adc24 or ts-adc16. You could search the archives and find
the current status.
regards, ......... Charlie
>
> has anyone experience with this modul and script lib?
>
> Thanks in advance.
>
> mustafa dülger.
>
------------------------------------
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/
|