Difference between revisions of "TestBed"

From DiLab
Jump to: navigation, search
(New page: Rūtera IP adrese: 195.13.x.y , kur x = 100 + 32, y = sqrt(49). Izmantotie porti: 10000 + x, kur x - motes numurs, 1 <= x <= 4.)
 
Line 2: Line 2:


Izmantotie porti: 10000 + x, kur x - motes numurs, 1 <= x <= 4.
Izmantotie porti: 10000 + x, kur x - motes numurs, 1 <= x <= 4.


Lai aizsūtītu programmu uz moti:
* Pieslēdzamies pie vajadzīgā porta
* Sūtām pirmajā rindā (teksta modē): "msp430-bsl --telosb -r -e -I -p"
* Nākošajās rindās ihex

Var uztaisīt failu:
<pre>
echo "msp430-bsl --telosb -r -e -I -p" > script
cat ihex-file >> script
</pre>
un tad
<pre>
nc host port < script
</pre>

Revision as of 14:24, 21 May 2009

Rūtera IP adrese: 195.13.x.y , kur x = 100 + 32, y = sqrt(49).

Izmantotie porti: 10000 + x, kur x - motes numurs, 1 <= x <= 4.


Lai aizsūtītu programmu uz moti:

  • Pieslēdzamies pie vajadzīgā porta
  • Sūtām pirmajā rindā (teksta modē): "msp430-bsl --telosb -r -e -I -p"
  • Nākošajās rindās ihex

Var uztaisīt failu:

echo "msp430-bsl --telosb -r -e -I -p" > script
cat ihex-file >> script

un tad

nc host port < script