藤木です。
SunSPOTにGPSのプログラムを作成し、「Build Project + Deploy to Sun SPOT」を行ったところ、「リセットを押しなさい」というメッセージが出てきました。
SunSPOTのリセットを押すが、反応がありません。
Win7のPCの電源をOFFにし、10分ほど待ちました。
その後、今まで動いていたプログラムを「Build Project + Deploy to Sun SPOT」しても、
init:
Please wait while connected Sun SPOTs are examined...
No serial port available
Java Result: -1
C:\Program Files\Sun\SunSPOT\sdk\ant\find-spots.xml:367: Spotselector failed or was cancelled
構築失敗 (合計時間: 6 秒)
というエラーが出てきて、先にすすみません。
SunSPOTManagerToolでUpgradeしたところ、以下のようなエラーが出ています。
When you upgrade (or downgrade) your Sun SPOT SDK you will often need to update
the firmware on the Sun SPOT device itself.
You will need to do the following for each Sun SPOT:
1.) Plug in the Sun SPOT
2.) Select which SPOT you wish to update from the dropdown list
3.) Click the 'Update' button below
4.) Repeat for each Sun SPOT you wish to update.
You may also connect ALL of your Sun SPOTs, select "All Connected Sun SPOTs"
from the dropdown list, and then click the 'Update' button below. This will update
all of your Sun SPOTs one at a time.
To get more detailed information about what is installed on your Sun SPOT, select
the SPOT in the pull-down menu and then click the "SPOT Info" button
To select your Sun SPOT BaseStation, select the Sun SPOT to be your BaseStation
in the pull-down list, then click the "BaseStation" button
To enable/disable your Sun SPOT's Over The Air Deployment (OTA) capability,
select the Sun SPOT in the pull-down list, then click the "Enable OTA" or
"Disable OTA" button
Buildfile: C:\Program Files\Sun\SunSPOT\sdk\build.xml
-pre-init:
-do-init:
-post-init:
-warn-jar-file:
init:
-failIfRemote:
-override-warning-find-spots:
[echo]
[echo] WARNING: Using the port specified in the
[echo] "port" property without any checks.
[echo]
[echo] We recommend setting the "spotport" (rather
[echo] than the "port") property to enable features
[echo] like interactive selection of another valid
[echo] port if the specified port is unavailable.
[echo]
-prepare-conditions-for-find-spots:
-find-shared-basestation:
-run-spotfinder:
-check-spotfinder-result:
-decide-whether-to-run-spotselector:
-run-spotselector:
-collect-spotselector-result:
-clean-up-spotselector-output-file:
-spotselector-fail:
-decide-whether-to-start-basestation-manager:
-start-new-basestation-manager:
-start-shared-basestation:
-do-find-spots:
-do-upgrade:
-check-run-spotclient-parameters:
-run-spotclient-once-with-remote-id:
-run-spotclient-multiple-times-with-remote-id:
-run-spotclient-once-locally:
-echo-progress-for-remote-runs:
-echo-progress-for-local-runs:
-run-spotclient-once:
[java] SPOT Client starting...
[java] Port COM33 unavailable...
[java] Available ports: COM1 LPT1
[java] retrying...
[java] Port COM33 unavailable...
[java] Available ports: COM1 LPT1
[java] retrying...
[java] Port COM33 unavailable...
[java] Available ports: COM1 LPT1
[java] retrying...
[java] Available ports: COM1 LPT1
[java]
[java] Error: Spot not found on port: COM33 not found
[java]
[java] The SPOT client will now exit
******************************
SPOT Command Completed!
******************************
Restoreすると、途中で画面が止まってしまいます。
出荷状態に戻すにはどのようにすればよろしいですか?
藤木 郁久