-
Notifications
You must be signed in to change notification settings - Fork 84
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
Comments
On Sat, Sep 11, 2021 at 05:00:15AM -0700, danish-anwar-butt wrote:
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.

Hi Danish,
I would check that:
* The program has been written to flash correctly (try the "verify"
command).
* The device is powered and reset correctly.
* There isn't a bug in your program. Have you had it working before?
Cheers,
Daniel
…--
Daniel Beer ***@***.***> http://dlbeer.co.nz/
PGP: BA6E 0B26 1F89 246C E3F3 C910 1E58 C43A 160A 553B
|
Hi Daniel,
I'm fear why rom-bsl giving NAK and failed on command 0x1e as shown in the screenshot. |
On Sat, Sep 11, 2021 at 10:57:58PM -0700, danish-anwar-butt wrote:
* Please would you guide me on how can I use the "Verify" command?
Use "verify" followed by the name of your file to read back and check
the regions that would have been written.
* The device is powered and reset correctly because the same procedure is working on windows 7 OS.
If it's the same program and it works when programmed on Windows 7, then
that suggests the programming procedure being used here isn't working.
See what happens when you try to verify it.
…--
Daniel Beer ***@***.***> http://dlbeer.co.nz/
PGP: BA6E 0B26 1F89 246C E3F3 C910 1E58 C43A 160A 553B
|
Hi Daniel,
|
On Sun, Sep 12, 2021 at 03:31:09AM -0700, danish-anwar-butt wrote:
I ran the verify command but it is failed to verify with following mismatch error.
Hi Danish,
You will need to verify immediately after programming. The rom-bsl
driver is using a mass erase to gain access, so the verify in this
example is running on a blank chip.
Cheers,
Daniel
…--
Daniel Beer ***@***.***> http://dlbeer.co.nz/
PGP: BA6E 0B26 1F89 246C E3F3 C910 1E58 C43A 160A 553B
|
Hi Daniel, |
On Tue, Sep 14, 2021 at 08:29:44AM -0700, danish-anwar-butt wrote:
Sorry for being late, How can I run verify immediately after the program?
Just pass both arguments:
mspdebug ... "prog ..." "verify ..."
Alternatively, you can start mspdebug in interactive mode (without
specifying the prog command on the command-line) and then enter the
commands as the mspdebug prompt.
…--
Daniel Beer ***@***.***> http://dlbeer.co.nz/
PGP: BA6E 0B26 1F89 246C E3F3 C910 1E58 C43A 160A 553B
|
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.
Regards,
Danish
The text was updated successfully, but these errors were encountered: