Hi All,

I am getting the following error while trying a : bsl.py -e -DDDD command.

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

MSP430 Bootstrap Loader Version: 1.26
Use -h for help
debug level set to 4
python version: 2.2.2 (#1, Dec 13 2002, 07:18:38)
[GCC 3.2]
file: None* comInit()
using serial port '/dev/ttyUSB0'
Preparing device ...
Mass Erase...
* bslReset(invokeBSL=1)
* bslTxRx()
* bslSync(wait=0)
bslSync() OK
* comTxRx()
tx 80 tx 18 tx 04 tx 04 tx 00 tx ff tx 06 tx a5 tx 7d tx b9 comTxRx() transmit OK
* comRxHeader()
* comRxHeader() OK
comTxRx() rxHeader=0xa0, rxNum=0, seqNo=0, reqNo=0* comTxRx() DATA_NAK
Traceback (most recent call last):
File "/usr/local/msp430/bin/bsl.py", line 1234, in ?
  main()
File "/usr/local/msp430/bin/bsl.py", line 1180, in main
  for f in toinit: f()
File "/usr/local/msp430/bin/bsl.py", line 683, in actionMassErase
  0xa506)             #Required setting for mass erase!
File "/usr/local/msp430/bin/bsl.py", line 395, in bslTxRx
  rxFrame = self.comTxRx(cmd, dataOut, len(dataOut))  #Send frame
File "/usr/local/msp430/bin/bsl.py", line 273, in comTxRx
  raise BSLException(self.ERR_RX_NAK)
__main__.BSLException: NAK received (wrong password?)

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

It seems to have done the bootstrap process and the handshaking, but I am getting a NAK in the comTxRx() routine. I'm not sure what to do next. Can anyone suggest some further debugging to solve this. (The hardware is ok, since have used it with window bsl tools, and also used bsl.py successfully on MAC OS X, I am currently running under Gentoo Linux and am trying to achieve the same ).

Many Thanks.
Bernard Mentink












Reply via email to