energia / Energia

Fork of Arduino for the Texas Instruments LaunchPad's
http://energia.nu
Other
793 stars 673 forks source link

For multiple LaunchPad connected simultaneously, add an option to select target to program #111

Closed pinehk closed 10 years ago

pinehk commented 11 years ago

Currently when multiple LP connected to a PC, there is no way to select which one to program. It would be favorable to have an option to select which one to program. The current mechanism seems to be program the first LP connected regardless of the COM port selection.

redFrik commented 11 years ago

i have a similar issue here. multiple launchpads (r1.5) connected, osx 10.8.3, energia built from master branch. i'm running two copies of energia ide at the same time. when i try to program two different launchpads the ides both upload to the same board even though i've set them to target different serial ports in the tools menu.

measley commented 10 years ago

Agree this is needed, as well as a way to more easily identify which type of LaunchPad is associated with what COM port.

haneefmubarak commented 10 years ago

Actually, this might be a bug... @measley do you verify?

Luis-R-A commented 10 years ago

The selected port is only for serialprint. You don't select the port you program to. If you notice you don't need to instal any drivers to program de launchpad, only to comunicate by serial

haneefmubarak commented 10 years ago

@teixense which would then make it a bug.

rei-vilo commented 10 years ago

The ports aren't managed by OS X but by the uploader.

Usage: /Applications/Energia.app/Contents/Resources/Java/hardware/tools/msp430/mspdebug/mspdebug [options] <driver> [command ...]

    -d device
        Connect via the given tty device, rather than USB.
    -U bus:dev
        Specify a particular USB device to connect to.
    -s serial
        Specify a particular device serial number to connect to.