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

Upload Error MSP-TI LaunchPad MSP-EXP430G2553LP #24

Open
DoImant opened this issue Dec 10, 2021 · 3 comments
Open

Upload Error MSP-TI LaunchPad MSP-EXP430G2553LP #24

DoImant opened this issue Dec 10, 2021 · 3 comments

Comments

@DoImant
Copy link

DoImant commented Dec 10, 2021

The same problem as with the issue "lpmsp5969 Upload Error # 4" also occurs when an upload is to be made to the "MSP430G2553".
Error message:

----------------- GRADE ------------------
Modified version of mspdebug for Energia
Do not use standalone

Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.

Using new (SLAC460L +) API
MSP430_GetNumberOfUsbIfs
MSP430_GetNameOfUsbIf
Found FET: COM12
MSP430_Initialize: COM12
Firmware version is 31000003tilib: MSP430_VCC: Could not set device Vcc (error = 10)

MSP430_VCC: 3000 mV
tilib: device initialization failed
*** [upload] Error -1

Workarround: Downloaded and installed the MSP flasher 1.3.20 software and copied the msp430.dll into the .platformio\packages\tool-mspdebug
folder.

@Tzelal
Copy link

Tzelal commented Jan 25, 2022

Now the board recognizes vscode but it doesn't upload the code properly. How you have the platformio.ini ? (msp430g2553)

@Tzelal
Copy link

Tzelal commented Jan 25, 2022

l used these settings and it started to work:

[env:lpmsp430g2553]
platform = timsp430
board = lpmsp430g2553

board_build.mcu = msp430g2553

board_build.f_cpu = 16000000L

@DoImant
Copy link
Author

DoImant commented Jan 25, 2022

That should actually work.

An example that works for me:
------- snip ------------
[platformio]
description = Beispielprogramm I2C
default_envs = MSP430F2013
;default_envs = MSP430G2553

[env]
platform = timsp430
board = lpmsp430g2553
monitor_speed = 115200

[env:MSP430F2013]
board_build.mcu = msp430F2013
board_build.f_cpu = 16000000L
board_upload.maximum_size = 2048
board_upload.maximum_ram_size = 128
build_type = release
build_flags = -Os

[env:MSP430G2553]
;board_build.f_cpu = 16000000L

[env:MSP430G2553-Debug]
debug_tool = mspdebug
debug_build_flags = -O0 -ggdb3 -g3
-------- snap ------

The USB driver for the Launchpad creates two com ports. You may have to specify the correct COM port like "monitor_port = COM12" in the ini file.

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