> -----Original Message-----
> From: Daniel Beer [mailto:dlb...@gmail.com]
> Sent: Wednesday, October 10, 2012 01:21
> To: Michiel Konstapel
> Cc: mspgcc-users@lists.sourceforge.net
> Subject: Re: [Mspgcc-users] mspdebug 0.20 and MSP430F2418
> 
> On Tue, Oct 09, 2012 at 06:13:41PM +0200, Michiel Konstapel wrote:
> > After updating mspdebug to version 0.20 (from the tinyprod
> > repository), it seems I can no longer flash any MSP430F2418s, but a
> '247 works fine.
> > Attached is the output from 0.18, 0.20 (both with and without -d).
> > Did something break, or did I break something? :-)
> 
> Hi Michiel,
> 
> Looks like your attachments got scrubbed. Could you paste the command
> and output inline?
> 
> MSP430F2418 support should work using FET drivers without any special
> options, as it was added in 0.19.

Hi Daniel!
Well, it already worked since... pretty much forever, 0.14 at least
IIRC. I don't think I ever used a version of mspdebug that didn't work
with the 2418. I didn't try 0.19, I updated from 0.18 to 0.20. Here's
the output!

$ mspdebug uif -d /dev/ttyUSB0 -j 'prog 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.

Trying to open UIF on /dev/ttyUSB0...
Initializing FET...
FET protocol version is 20401000
Configured for JTAG (2)
Sending reset...
Set Vcc: 3000 mV
Device ID: 0xf26f
Device: MSP430F2618
Code memory starts at 0x3100
Number of breakpoints: 8
fet: warning: message 0x30 failed
Erasing...
Programming...
Writing 2884 bytes to 3100...
Writing   64 bytes to ffc0...


$ mspdebug uif -d /dev/ttyUSB0 -j 'prog build/lnode_msp2/main.ihex.out'
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.

Trying to open UIF on /dev/ttyUSB0...
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



$ sudo mspdebug uif -j 'prog build/lnode_msp2/main.ihex.out'
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

------------------------------------------------------------------------------
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