Skip to content

MSP430 Upload fails on Mac, old MSPdebug? #16

@scandey

Description

@scandey

On Mac OSX 10.14.6, attempted to send a simple Blink file to an MSP-EXP430FR5739 (one of the supported boards) from PlatformIO IDE extension installed into VSCode as recommended.
Everything appears to go well until sending to the actual board: code builds correctly and the upload feature automatically downloads and builds MSPdebug. There then appears to be a permissions error connecting with the MSP430:
Trying to open interface 1 on 025 rf2500: can't claim interface: Permission denied rf2500: failed to open RF2500 device

While I am opening a similar ticket with MSPDebug, I note that they are a whole version ahead (0.25) of the automatically downloaded MSPDebug in PlatformIO with some suggestions in old issues that the upgrade have helped with this issue. Is it possible to update the MSPDebug version for PlatformIO or at least temporarily adjust what version is downloaded for my installation?

Thanks!

`> Executing task: platformio run --target upload <

Processing lpmsp430fr5739 (platform: timsp430; board: lpmsp430fr5739; framework: arduino)

PackageManager: Installing tool-mspdebug @ ~1.2400.0
tool-mspdebug @ 1.2400.190926 has been successfully installed!
PackageManager: Installing tool-dslite @ ~1.80200.1400
Downloading [####################################] 100%
Unpacking [####################################] 100%
tool-dslite @ 1.80200.1400 has been successfully installed!
Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/timsp430/lpmsp430fr5739.html
PLATFORM: TI MSP430 2.2.0 > TI FraunchPad MSP-EXP430FR5739LP
HARDWARE: MSP430FR5739 16MHz, 1KB RAM, 15.37KB Flash
DEBUG: Current (mspdebug) On-board (mspdebug)
PACKAGES:

  • framework-energiamsp430 1.10807.190926 (1.8.7)
  • tool-dslite 1.80200.1400 (8.2.0)
  • tool-mspdebug 1.2400.190926 (24.0)
  • toolchain-timsp430 1.40603.190926 (4.6.3)
    LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 18 compatible libraries
    Scanning dependencies...
    No dependencies
    Building in release mode
    Checking size .pio/build/lpmsp430fr5739/firmware.elf
    Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
    RAM: [ ] 0.2% (used 2 bytes from 1024 bytes)
    Flash: [ ] 1.5% (used 238 bytes from 15743 bytes)
    Configuring upload protocol...
    AVAILABLE: rf2500
    CURRENT: upload_protocol = rf2500
    Uploading .pio/build/lpmsp430fr5739/firmware.hex
    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.

Trying to open interface 1 on 025
rf2500: can't claim interface: Permission denied
rf2500: failed to open RF2500 device
*** [upload] Error 255`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions