OpenCores
URL https://opencores.org/ocsvn/utosnet/utosnet/trunk

Subversion Repositories utosnet

[/] [utosnet/] [trunk/] [software/] [Digi_app/] [readme.txt] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 sonicwave
 
2
  uTosNet_spi Digi application, readme.txt
3
 
4
  Simon Falsig
5
  University of Southern Denmark
6
  Copyright 2010
7
 
8
  This file is part of the uTosNet_spi Digi application
9
 
10
  The uTosNet_spi Digi application is free software: you can redistribute it
11
  and/or modify it under the terms of the GNU Lesser General Public License as
12
  published by the Free Software Foundation, either version 3 of the License,
13
  or (at your option) any later version.
14
 
15
  The uTosNet_spi Digi application is distributed in the hope that it will be
16
  useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
17
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
18
  General Public License for more details.
19
 
20
  You should have received a copy of the GNU Lesser General Public License
21
  along with the uTosNet_spi Digi application. If not, see
22
  .
23
 
24
 
25
******************************************
26
* Description
27
******************************************
28
  The uTosNet_spi Digi application is meant for use with the Ethernet/SPI
29
  version of uTosNet. It provides the server application that should run
30
  on the Digi Connect ME 9210 microcontroller module, in order for it to
31
  work with the uTosNet_spi FPGA module and PC application.
32
 
33
******************************************
34
* Building
35
******************************************
36
  Use the Digi IDE to create a new project, and use the accompanying
37
  root.cxx file as the main file. Then build and download it according
38
  to standard Digi procedures.
39
 
40
******************************************
41
* Usage
42
******************************************
43
  The server application listens on port 50000, and uses a binary protocol.
44
  It accepts the following kinds of packets:
45
  (for all packets bit 31 is MSB, all unspecified bits should be '0')
46
 
47
 
48
  - Read request (32 bits):
49
    - Bit 29:    Set to '1'
50
    - Bit 25-16: Set to read address
51
    - Set all others to '0'
52
 
53
    Response (32 bits):
54
    - Bit 31-0:  Contains read data
55
 
56
 
57
  - Write request (2x32 bits):
58
    First 32 bits:
59
    - Bit 11:    Set to '1'
60
    - Bit 9-0:   Set to write address
61
    Second 32 bits:
62
    - Bit 31-0:  Set to write data
63
 
64
    Response: None
65
 
66
 
67
  - Combined read/write (2x32 bits)
68
    First 32 bits:
69
    - Bit 29:    Set to '1'
70
    - Bit 25-16: Set to read address
71
    - Bit 11:    Set to '1'
72
    - Bit 9-0:   Set to write address
73
    Second 32 bits:
74
    - Bit 31-0:  Set to write data
75
 
76
    Response (32 bits):
77
    - Bit 31-0:  Contains read data
78
 
79
******************************************
80
* End of file
81
******************************************

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.