Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code is not running after programming in Ubuntu 20.04 #110

Open
danish-anwar-butt opened this issue Sep 11, 2021 · 7 comments
Open

Code is not running after programming in Ubuntu 20.04 #110

danish-anwar-butt opened this issue Sep 11, 2021 · 7 comments

Comments

@danish-anwar-butt
Copy link

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

@dlbeer
Copy link
Owner

dlbeer commented Sep 12, 2021 via email

@danish-anwar-butt
Copy link
Author

danish-anwar-butt commented Sep 12, 2021

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

@dlbeer
Copy link
Owner

dlbeer commented Sep 12, 2021 via email

@danish-anwar-butt
Copy link
Author

danish-anwar-butt commented Sep 12, 2021

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

@dlbeer
Copy link
Owner

dlbeer commented Sep 13, 2021 via email

@danish-anwar-butt
Copy link
Author

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

@dlbeer
Copy link
Owner

dlbeer commented Sep 14, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants