To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 392
391  |  393
Subject: 
Re: Assembler
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Sat, 4 May 1996 20:37:21 GMT
Original-From: 
Paul E. Rybski <RYBSKI@CS.UMN.stopspamEDU>
Viewed: 
1464 times
  
Hello all,
I'm working with a friend of mine in the Robotics lab at the UofM
to try to interface a Miniboard with a Handyboard through the SPI bus.
We're having a fair amount of troubles trying to do it through
interactive C.  I figure we'll have to write our communications files in
assembly and work with them through .icb files but I'm not entirely sure.

Therefore, I submit the following message from John to the list in hopes
that someone might help lead us in the right direction.

-Paul Rybski

--------------------------------------------------------------------------

Fred,

   I am trying to run the serial peripheral interface (port D2-5) from
interactive C.  There seems to be a problem.  When I do this:

poke(0x1028, 0x5c);
peek(0x1028);

the returned value is 0x0c NOT 0x5c.  I cannot set the SPE bit nor the
MSTR bit.  This means that I cannot communicate to another board through
the synchronous serial port.  How can I set these bits while running
interactive C?  Is it possible or do I have to use some other technique?

John



Message is in Reply To:
  Re: Assembler
 
(...) I'm pretty sure that files assembled this way will work with the freeware IC as well. Please note one big GOTCHA with ICB files. On the MS-DOS platform, the ICB files must have Unix-style line termination. OK, what does that mean. In a text (...) (28 years ago, 15-Apr-96, to lugnet.robotics.handyboard)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR