> Hi Michiel,
> 
> Looks like perhaps I have broken something, though I can't see what it
> might be. Does the first attempt at identification always fail with
> 0.20, and never fail with 0.18?

That does seem to be the case:

$ sudo ~/bin/mspdebug-0.18 uif -j 'prog build/lnode_msp2/main.ihex'
MSPDebug version 0.18 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2011 Daniel Beer <dlb...@gmail.com>
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

TI3410 device is in boot config, setting active
Initializing FET...
FET protocol version is 20401000
Configured for JTAG (2)
Set Vcc: 3000 mV
Device ID: 0xf26f
Device: MSP430F2618
Code memory starts at 0x3100
Number of breakpoints: 8
fet: FET returned NAK
fet: warning: message 0x30 failed
Erasing...
Programming...
Writing 4096 bytes to 3100...
Writing 4096 bytes to 4100...
Writing 4096 bytes to 5100...
Writing 4096 bytes to 6100...
Writing 4096 bytes to 7100...
Writing 4096 bytes to 8100...
Writing 4096 bytes to 9100...
Writing 4096 bytes to a100...
Writing 4096 bytes to b100...
Writing 4096 bytes to c100...
Writing 4096 bytes to d100...
Writing 4096 bytes to e100...
Writing 2218 bytes to f100...
Writing   64 bytes to ffc0...
10:30:17 michiel@ankh:/work/svn/bsd/trunk/nodes/gateway
$ sudo ~/bin/mspdebug-0.20 uif -j 'prog build/lnode_msp2/main.ihex'
MSPDebug version 0.20 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2012 Daniel Beer <dlb...@gmail.com>
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

ti3410: warning: can't detach kernel driver: No data available
TI3410 device is in boot config, setting active
Initializing FET...
FET protocol version is 20401000
Configured for JTAG (2)
Set Vcc: 3000 mV
fet: FET returned error code 4 (Could not find device (or device not
supported))
fet: command C_IDENT1 failed
fet: identify failed
Trying again...
Initializing FET...
FET protocol version is 20401000
Configured for JTAG (2)
Sending reset...
Set Vcc: 3000 mV
Device ID: 0xf26f
  Code start address: 0x3100
  Code size         : 118528 byte = 115 kb
  RAM  start address: 0x200
  RAM  end   address: 0x9ff
  RAM  size         : 2048 byte = 2 kb
Device: MSP430F2618
Code memory starts at 0x3100
Number of breakpoints: 8
fet: FET returned error code 11 (Could not reset device)
fet: message C_IDENT2 failed
fet: identify failed

> Would you mind trying the latest git
> version to see if that works?

That seems to do the same thing as 0.20:

$ /work/git/mspdebug/mspdebug uif -j 'prog build/lnode_msp2/main.ihex'
MSPDebug version 0.20 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2012 Daniel Beer <dlb...@gmail.com>
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

ti3410: warning: can't detach kernel driver: No data available
TI3410 device is in boot config, setting active
Initializing FET...
FET protocol version is 20401000
Set Vcc: 3000 mV
Configured for JTAG (2)
fet: FET returned error code 4 (Could not find device or device not
supported)
fet: command C_IDENT1 failed
fet: identify failed
Trying again...
Initializing FET...
FET protocol version is 20401000
Set Vcc: 3000 mV
Configured for JTAG (2)
Sending reset...
Device ID: 0xf26f
  Code start address: 0x3100
  Code size         : 118528 byte = 115 kb
  RAM  start address: 0x200
  RAM  end   address: 0x9ff
  RAM  size         : 2048 byte = 2 kb
Device: MSP430F2618
Number of breakpoints: 8
fet: FET returned error code 11 (Could not reset device)
fet: message C_IDENT2 failed
fet: identify failed

Anything else I can do to help you out?
Michiel

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to