pine 140 Posted September 10, 2012 Share Posted September 10, 2012 There is a menu item "Serial Port" under the tool menu. I suppose it is for selecting which LP / com Port to program? For example: LaunchPad A is connected as COM24. LaunchPad B is connected as COM44. LaunchPad A is running an LCD program, nothing goes to the COM port. LaunchPad B running an internal temp reading program, output at COM44 the temperature. Now I wanted to run the Fade example on LaunchPad B. I am pretty sure I have selected LaunchPad B, COM44 in the "Serial Port", and checked the serial monitor that it is in fact getting Temp data from LaunchPad B, and also on the lower right hand corner it reads "LaunchPad w/ msp430g2553 (16MHz) on COM44". However, pressing the "Upload" button will program the 430 on LunchPad A (COM24)... Quote Link to post Share on other sites
RobG 1,892 Posted September 10, 2012 Share Posted September 10, 2012 LaunchPad is a composite device, one device for Virtual Com Port and one for debugging. Serial setting selects com port, not the debugging one. pine 1 Quote Link to post Share on other sites
energia 485 Posted September 10, 2012 Share Posted September 10, 2012 The LaunchPad uses the onboard JTAG to program the MSP430 rather than the Serial port. Hence the selection of the Serial port does not have an effect on which LP is getting programmed. When you hit "Upload" it will most likely upload to the LP that you first connected. Being able to select which LP gets programmed through the menu's would be a nice enhancement. Would you be so kind to file an enhancement request on https://github.com/energia/Energia/issues and I'll see what I can do. pine 1 Quote Link to post Share on other sites
pine 140 Posted September 10, 2012 Author Share Posted September 10, 2012 Thanks Rob and Robert! I have always thought the COM port and composite device are referring the same thing. No wonder the serial monitor still spitting out values until the very last moment the LP is done with being programmed, everything make sense now. Pic from my PC.. i used to check the COM port only, neglecting the existence of the other composite device Texas Instruments MSP-FET430UIF for the programming. (sorry for the Chinese characters but I don't have an English Windows at home) Quote Link to post Share on other sites
RobG 1,892 Posted September 13, 2012 Share Posted September 13, 2012 BTW, in CCS, you can switch which LaunchPad to connect to when you create a new project or later on in project properties. pine 1 Quote Link to post Share on other sites
energia 485 Posted September 13, 2012 Share Posted September 13, 2012 I was thinking of putting a similar option in. Still hard for a user to figure out which one is which though. Quote Link to post Share on other sites
gordon 229 Posted September 13, 2012 Share Posted September 13, 2012 You could have a simple firmware that just blinks a LED and hide it behind an "Identify device" button. If you can read the USB descriptors off the device, the serial number is a unambiguous and unique identification of a LaunchPad (mspdebug -s). Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.