Hello Charlie,
Thanks very much. I’ll try to get it.
Greets from Germany.
Mustafa.
--- In .com,
"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.
>