Skip to content

Instantly share code, notes, and snippets.

@sudar
Created June 3, 2012 06:47
Show Gist options
  • Save sudar/2862276 to your computer and use it in GitHub Desktop.
Save sudar/2862276 to your computer and use it in GitHub Desktop.
Using mspdebug to flash a firmware in ez430
sudar@sudar-desktop:~/code/watch/openchronos-ng-modular$ mspdebug rf2500
MSPDebug version 0.18 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2011 Daniel Beer <[email protected]>
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 interface 1 on 002
rf2500: warning: can't detach kernel driver: No data available
Initializing FET...
FET protocol version is 30001000
Configured for Spy-Bi-Wire
Set Vcc: 3000 mV
Device ID: 0x6137
Device: CC430F6137
Code memory starts at 0x8000
Number of breakpoints: 3
fet: FET returned NAK
fet: warning: message 0x30 failed
Available commands:
= delbreak gdb load opt reset simio
alias dis help locka prog run step
break erase hexout md read set sym
cgraph exit isearch mw regs setbreak
Available options:
color gdb_loop iradix
fet_block_size gdbc_xfer_size quiet
Type "help <topic>" for more information.
Press Ctrl+D to quit.
(mspdebug) prog openchronos.
openchronos.c openchronos.dep openchronos.elf openchronos.h openchronos.o openchronos.txt
(mspdebug) prog openchronos.txt
Erasing...
Programming...
Writing 4096 bytes to 8000...
Writing 4096 bytes to 9000...
Writing 702 bytes to a000...
Writing 128 bytes to ff80...
(mspdebug)
@parkerlreed
Copy link

Thank you so much. Lost the RF transceiver and thought I was out of luck in flashing a firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment