Skip to content

Instantly share code, notes, and snippets.

@yamori813
Created November 26, 2016 10:08
Show Gist options
  • Save yamori813/d765e1622c55a3513fa48f31e52a589e to your computer and use it in GitHub Desktop.
Save yamori813/d765e1622c55a3513fa48f31e52a589e to your computer and use it in GitHub Desktop.
bash-3.2$ ./mspdebug load-bsl
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <dlbeer@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.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.
loadbsl: recv_packet: BSL error code: 5 (BSL password error)
loadbsl: rx_password failed
loadbsl: retrying password...
loadbsl: recv_packet: BSL error code: 7 (Unknown command)
loadbsl: failed to receive version
Uploading BSL firmware (2418 bytes at address 0x2500)...
Starting new firmware (PC: 0x2504)...
Done, waiting for startup
bslosx: send on suspended device
loadbsl: send_command failed
loadbsl: rx_password failed
loadbsl: failed to unlock new firmware
bash-3.2$ ./mspdebug load-bsl
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 Daniel Beer <dlbeer@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.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.
BSL version: [vendor: 00, int: 05, API: 04, per: 34]
Chip ID data:
ver_id: 2955
ver_sub_id: 0000
revision: 18
fab: 55
self: 5555
config: 12
Device: MSP430F5529
Available commands:
! fill power setwatch_r
= gdb prog setwatch_w
alias help read simio
blow_jtag_fuse hexout regs step
break isearch reset sym
cgraph load run verify
delbreak load_raw save_raw verify_raw
dis md set
erase mw setbreak
exit opt setwatch
Available options:
color gdb_default_port
enable_bsl_access gdb_loop
enable_fuse_blow gdbc_xfer_size
enable_locked_flash_access iradix
fet_block_size quiet
Type "help <topic>" for more information.
Use the "opt" command ("help opt") to set options.
Press Ctrl+D to quit.
(mspdebug) prog /tmp/main.elf
Erasing...
Programming...
Writing 170 bytes at 4400 [section: .text]...
Writing 128 bytes at ff80 [section: .vectors]...
Done, 298 bytes total
(mspdebug) ^D
bash-3.2$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment