ts-7000
[Top] [All Lists]

[ts-7000] ts-7300 intermittent crash on 'peek8 0x72000044'

To:
Subject: [ts-7000] ts-7300 intermittent crash on 'peek8 0x72000044'
From: "y2kvaguy" <>
Date: Wed, 29 Jun 2011 22:38:43 -0000
   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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU