I'm not new to embedded computers, Linux, or programming, but I'm new to the
TS-7300. I'll be using them to control a number of test fixtures that I'm
developing.
I wanted to twiddle the I/O on the card and start mapping out how I'll be
connecting things I want controlled by it. I wanted to connect first to the
XDIO2 port, which according to the docs, is controlled via registers at
0x72000044 thru 0x72000047. I am using the default just about everything, and
I don't have a special FPGA bitstream loaded. The bitstream is the default
setup with the SD card that came with the development kit, which appears to be
ts7300_cyclone2_640x480.rbf
The first "tools" I reached for were the supplied utilities called peek8 and
poke8. Should be pretty simple stuff, right? First thing I want is to have
the port in "mode 0" so I can do basic digital I/O. Well, when I issue the
command:
poke8 0x72000044 0
then
peek8 0x72000044
...to read back the register after I write it, the board locks up. Nothing
works - forget multitasking where you might be able to kill the offending task.
I have to cycle power. I've sometimes had the peek8 binary work, and I always
read 0xfe from that location. But if I repeat the command just a few times,
the board will eventually lock up, requiring power cycle, fsck, etc.
Something curious that I noticed, too. The peek8 binary currently up on the
ftp site is a zero length file. The version I have must be from the CD
supplied with the Dev kit.
Anyway, there has *got* to be something really basic that I'm missing here,
like having the wrong thing in the FPGA. I searched this group and didn't find
anything. I'll keep looking, but in the mean time, anyone have this problem,
and more importantly, a fix? Thanks in advance.
-Mark
------------------------------------
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/
|