dlbeer/mspdebug

Code is not running after programming in Ubuntu 20.04

danish-anwar-butt opened this issue · 7 comments

Hi,
I'm using mspdebugg to program my MSP430G2553 in Ubuntu 20.04 with FT232RL USB-UART bridge. My connection between MSP430G2553 and FTDI bridge are given below :
FT232RL -> MSP430G2553 Pin
RXD-> 03
TXD-> 07
DTR-> 16
RTS-> 17
3.3V-> 01
GND -> 20.
The program was uploaded (as shown in the screenshot) but not running even after resetting the device.
Screenshot from 2021-09-11 16-57-29

Regards,
Danish

Hi Daniel,
Thanks for your response.

  • Please would you guide me on how can I use the "Verify" command?
  • The device is powered and reset correctly because the same procedure is working on windows 7 OS.

I'm fear why rom-bsl giving NAK and failed on command 0x1e as shown in the screenshot.
Regards,
Danish

Hi Daniel,
I ran the verify command but it is failed to verify with following mismatch error.

sudo mspdebug rom-bsl -d /dev/ttyUSB0 "verify blinky.txt"
MSPDebug version 0.25 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2017 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.15.0.1 Copyright (C) 2013 TI, Inc.
rom_bsl: received NAK
rom_bsl: failed on command 0x1e (addr = 0x0000, len = 0x0000)
warning: rom_bsl: failed to read version
Performing mass erase...
Sending password...
Chip ID data:
ver_id: 5325
ver_sub_id: 0000
revision: 00
fab: 60
self: 0000
config: 00
fuses: 00
Device: MSP430G2xx3
Verifying 78 bytes at c000...
ERROR: mismatch at c000 (read ff, expected 21)
titext: data error on line 8

Hi Daniel,
Sorry for being late, How can I run verify immediately after the program?
Thanks