On Tue, Sep 4, 2012 at 3:56 PM, Daniel Beer <dlb...@gmail.com> wrote: > On Tue, Sep 04, 2012 at 03:41:04PM -0600, Mark Rages wrote: >> > Well, that does look like it must be resetting after you connect. The >> > only thing I can think of at this point is that perhaps your FET >> > firmware version could do with an update? Do you have a more recent >> > version 2 firmware image available? You can update your FET with: >> > >> > mspdebug uif-bsl -d /dev/ttyTIUSB 'prog firmware.hex' >> > >> > Note that version 3 of the FET firmware is entirely different to version >> > 2. It requires a different driver to be used, and I'm not sure from >> > memory whether or not it attempts to reset the MSP430 on startup. >> > >> > - Daniel >> >> Oops, forgot to CC the list. >> >> Is there a version of v2 firmware that you would recommend? >> >> What is the procedure for obtaining V2 firmware? I guess I can try to >> pull firmware off a new-in-the-box FET. Or is there a later DLL that >> will have new firmware in it? > > There isn't a procedure, really. But yes, you can extract firmware from > newer FET: > > mspdebug uif-bsl -d /dev/ttyTIUSB 'hexout 0x2500 0xdb00 firmware.hex' > > Make sure it's also V2 firmware though (one that works with the uif > driver). > > - Daniel
OK, I got it updated on a Windows machine from the latest V2 DLL. Now the session looks like this: $ mspdebug uif -d /dev/ttyTIUSB 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/ttyTIUSB... Initializing FET... FET protocol version is 20409001 Configured for Spy-Bi-Wire 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 20409001 Configured for Spy-Bi-Wire Sending reset... Set Vcc: 3000 mV Device ID: 0xf227 Device: MSP430F2272 Code memory starts at 0x8000 Number of breakpoints: 2 Notice the line "Sending reset..." And the registers: (mspdebug) regs ( PC: 0f400) ( R4: 0ffff) ( R8: 0ffff) (R12: 0f804) ( SP: 00600) ( R5: 0ffff) ( R9: 0ffff) (R13: 0ffff) ( SR: 00000) ( R6: 0ffff) (R10: 00754) (R14: 00018) ( R3: 00000) ( R7: 0ffff) (R11: 0005c) (R15: 00016) 0xf400: 0f400: 31 40 00 06 MOV #0x0600, SP 0f404: b2 40 80 5a 20 01 MOV #0x5a80, &0x0120 0f40a: 3f 40 16 00 MOV #0x0016, R15 0f40e: 0f 93 TST R15 -- Regards, Mark markrages@gmail ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users