고객지원

문의 주시면 빠르고, 정확하게 답변드리겠습니다.

기술 문의

회사명*  
성   명*  서민선
직   위*  
구   분*  교육장비
핸드폰*  
회사전화*  
이메일
제   목  msp430-jtag.exe 오류 문의 및 업로드 오류 문의(hmote2420)
내   용*  

hmote2420을 사용하고 있습니다.

 

설치 단계에 있는데 아래와 같이 에러가 발생하네요.

 

메뉴얼에서는 An error occoured:
Can't open interface 문구가 없던데...

  

<a href="mailto:kingsms@sms">kingsms@sms</a> ~
$ msp430-jtag.exe
MSP430 parallel JTAG programmer Version: 2.0
Use -h for help

An error occoured:
Can't open interface

위 상태에서 업로드 하면 아래와 같은 에러가 발생합니다.

<a href="mailto:kingsms@sms">kingsms@sms</a> /opt/tinyos-1.x/apps
$ cd Surge_app_humidity

<a href="mailto:kingsms@sms">kingsms@sms</a> /opt/tinyos-1.x/apps/Surge_app_humidity
$ motelist
Reference  CommPort   Description
---------- ---------- ----------------------------------------
HYP4UWA6   COM5       X-Hyper Sensor-Network

<a href="mailto:kingsms@sms">kingsms@sms</a> /opt/tinyos-1.x/apps/Surge_app_humidity
$ make hybus install.0
mkdir -p build/hybus
    compiling Surge to a hybus binary
ncc -o build/hybus/main.exe -O -I%T/../contrib/ucb/tos/lib/MultiHopLQI -DSEND_QUEUE_SIZE=8 -DMHOP_LEDS -mdisable-hwmul -I/opt/tinyos-1.x/tos/lib/CC2420Radio -I/opt/tinyos-1.x/tos/../beta/STM25P/STM2
 -Wall -Wshadow -DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=hybus -fnesc-cfile=build/hybus/app.c -board= -DIDENT_PROGRAM_NAME="Surge" -DIDENT_PROGRAM_NAME_BYTES="83,117,114,103,101,0" -DIDENT_USER_ID
kingsms" -DIDENT_USER_ID_BYTES="107,105,110,103,115,109,115,0" -DIDENT_HOSTNAME="sms" -DIDENT_HOSTNAME_BYTES="115,109,115,0" -DIDENT_USER_HASH=0xa083a975L -DIDENT_UNIX_TIME=0x56151df3L Surge.nc -lm
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:172: warning: `SensorControl.stop' called asynchronously from `HumSensor.dataReady'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:163: warning: `SensorControl.stop' called asynchronously from `TempSensor.dataReady'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:175: warning: `Timer.start' called asynchronously from `processCommand'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:171: warning: `Timer.start' called asynchronously from `processCommand'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:144: warning: `SensorControl.start' called asynchronously from `Temperature.getData'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:132: warning: `SensorControl.start' called asynchronously from `Humidity.getData'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:145: warning: `Timer.start' called asynchronously from `Temperature.getData'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:133: warning: `Timer.start' called asynchronously from `Humidity.getData'
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420RadioM.nc:115: warning: `Send.sendDone' called asynchronously from `sendFailed'
/usr/local/mspgcc/msp430/include/msp430/gpio.h:128: warning: non-atomic accesses to shared variable `P2IE':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/msp430/MSP430InterruptM.nc:150: warning:   non-atomic r/w
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:58: warning: non-atomic accesses to shared variable `state':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:185: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:191: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:203: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:262: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:273: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:285: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:310: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:313: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:320: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:323: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:365: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:368: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:372: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:375: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:60: warning: non-atomic accesses to shared variable `errornum':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:66: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:70: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:157: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:369: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:376: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:62: warning: non-atomic accesses to shared variable `humerror':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:182: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:183: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:62: warning: non-atomic accesses to shared variable `temperror':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:184: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:59: warning: non-atomic accesses to shared variable `timeout':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:170: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:174: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:361: warning:   non-atomic r/w
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityProtocolM.nc:364: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:58: warning: non-atomic accesses to shared variable `state':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:77: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:88: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:103: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:104: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:107: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:128: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:130: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:140: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:142: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:161: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:162: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:170: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:171: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:195: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:201: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:59: warning: non-atomic accesses to shared variable `id':
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:108: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:111: warning:   non-atomic read
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:131: warning:   non-atomic write
C:/PROGRA~1/UCB/cygwin/opt/tinyos-1.x/tos/platform/hybus/HumidityM.nc:143: warning:   non-atomic write
    compiled Surge to build/hybus/main.exe
           15938 bytes in ROM
             698 bytes in RAM
msp430-objcopy --output-target=ihex build/hybus/main.exe build/hybus/main.ihex
    writing TOS image
/opt/tinyos-1.x/tools/make/msp/set-mote-id --objcopy msp430-objcopy --objdump msp430-objdump --target ihex build/hybus/main.ihex build/hybus/main.ihex.out-0 0
    found mote on COM5 (using bsl,auto)
    installing hybus binary using bsl
msp430-bsl --telosb       //old type -c 4 -r -e -I -p build/hybus/main.ihex.out-0
MSP430 Bootstrap Loader Version: 1.39-telos-7

USAGE: C:\PROGRA~1\UCB\cygwin\usr\local\mspgcc\bin\msp430-bsl.exe [options] [file]
Version: 1.39-telos-7

If "-" is specified as file the data is read from the stdinput.
A file ending with ".txt" is considered to be in TIText format,
'.a43' and '.hex' as IntelHex and all other filenames are
considered as ELF files.

General options:
  -h, --help            Show this help screen.
  -c, --comport=port    Specify the communication port to be used.
                        (Default is 0)
                                0->COM1 / ttyS0
                                1->COM2 / ttyS1
                                etc.
  -P, --password=file   Specify a file with the interrupt vectors that
                        are used as password. This can be any file that
                        has previously been used to program the device.
                        (e.g. -P INT_VECT.TXT).
  -f, --framesize=num   Max. number of data bytes within one transmitted
                        frame (16 to 240 in steps of 16) (e.g. -f 240).
  -m, --erasecycles=num Number of mass erase cycles (default is 1). Some
                        old F149 devices need additional erase cycles.
                        On newer devices it is no longer needed. (e.g. for
                        an old F149: -m20)
  -U, --unpatched       Do not download the BSL patch, even when it is
                        needed. This is used when a program is downloaded
                        into RAM and executed from there (and where flash
                        programming is not needed.)
  -D, --debug           Increase level of debug messages. This won't be
                        very useful for the average user...
  -I, --intelhex        Force fileformat to IntelHex
  -T, --titext          Force fileformat to be TIText
  -N, --notimeout       Don't use timeout on serial port (use with care)
  -B, --bsl=bsl.txt     Load and use new BSL from the TI Text file
  -S, --speed=baud      Reconfigure speed, only possible with newer
                        MSP403-BSL versions (>1.5, read slaa089a.pdf for
                        details). If the --bsl option is not used, an
                        internal BSL replacement will be loaded.
                        Needs a target with at least 2kB RAM!
                        Possible values are 9600, 19200, 38400
                        (default 9600)
  -1, --f1x             Specify CPU family, in case autodetect fails
  -4, --f4x             Specify CPU family, in case autodetect fails
                        --F1x and --f2x are only needed when the "change
                        baudrate" feature is used and the autodetect feature
                        fails. If the device ID that is uploaded is known, it
                        has precedence to the command line option.
  --invert-reset        Invert signal on RST pin (used for some BSL hardware)
  --invert-test         Invert signal on TEST/TCK pin (used for some BSL
                        hardware)
  --swap-reset-test     Swap the RST and TEST pins (used for some BSL hardware)
  --telos-latch         Special twiddle in BSL reset for Telos hardware
  --telos-i2c           DTR/RTS map via an I2C switch to TCK/RST in Telos Rev.B
  --telos               Implies options --invert-reset, --invert-test,
                        --swap-reset-test, and --telos-latch
  --telosb              Implies options --swap-reset-test, --telos-i2c,
                        --no-BSL-download, and --speed=38400
  --tmote               Identical operation to --telosb
  --no-BSL-download     Do not download replacement BSL (disable automatic)
  --force-BSL-download  Download replacement BSL even if not needed (the one
                        in the device would have the required features)
  --slow                Add delays when operating the conrol pins. Useful if
                        the pins/circuit has high capacitance.

Program Flow Specifiers:
  -e, --masserase       Mass Erase (clear all flash memory)
  -E, --erasecheck      Erase Check by file
  -p, --program         Program file
  -v, --verify          Verify by file

The order of the above options matters! The table is ordered by normal
execution order. For the options "Epv" a file must be specified.
Program flow specifiers default to "pvr" if a file is given.
Don't forget to specify "e" or "eE" when programming flash!

Data retreiving:
  -u, --upload=addr     Upload a datablock (see also: -s).
  -s, --size=num        Size of the data block do upload. (Default is 2)
  -x, --hex             Show a hexadecimal display of the uploaded data.
                        (Default)
  -b, --bin             Get binary uploaded data. This can be used
                        to redirect the output into a file.

Do before exit:
  -g, --go=address      Start programm execution at specified address.
                        This implies option --wait.
  -r, --reset           Reset connected MSP430. Starts application.
                        This is a normal device reset and will start
                        the programm that is specified in the reset
                        vector. (see also -g)
  -w, --wait            Wait for <ENTER> before closing serial port.

If it says "NAK received" it's probably because you specified no or a
wrong password.
make: *** [program] Error 2

<a href="mailto:kingsms@sms">kingsms@sms</a> /opt/tinyos-1.x/apps/Surge_app_humidity
$

 

첨부파일