Jump to content
quasar5456

MSP432 no COM Port number assigned

Recommended Posts

Hi, I just got the MSP432 and am really excited to start working with this board. I'm running Windows 10 on an ACER Aspire 64 bit machine. 

Unfortunately when I go to upload a program using Energia the port menu is grayed out. I used to have this problem with the arduino on the arduino IDE until I downloaded the FTDI drivers from:

http://www.ftdichip.com/Drivers/VCP.htm

The following picture shows the IDE as I see it now:

portGray.png.4f770981cc50e03e97b8bed3e5e2b537.png

I followed the instructions for installing the XDS110 drivers according to the windows install guide for the MSP432. Checking the device manager I see the two ports that I should be seeing, but there is no COM port assigned to them. The following picture shows what I see in the device manager. I've also checked my hidden drivers to make sure that all the virtual drivers had not been taken up for some reason.

image.png.bec2c667c8bc85eedbe790561eb98dbe.png

Further more, I tried changing the com port assigned in the advanced settings. Unfortunately when I try to set the Com port to something other than COM1 the device manager crashes. It seems that windows has COM1 as the default in advanced settings. I've also checked all of the jumpers, and they seem to all be securely connected. The green light comes on, and it seems that the MSP432 is receiving power since the red LED is blinking. I'm assuming that this is the "blink" demo program that is preinstalled on the board before the board is shipped. Upon trying to upload the base code on the IDE anyway I received the following error message as expected (Since there was no COM port assigned ).  I've also checked the cable, and used it to successfully program my NodeMCU.

Energia: 1.6.10E18 (Windows 10), Board: "LaunchPad w/ msp432 EMT (48MHz)"

C:\Program Files\energia-1.6.10E18\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files\energia-1.6.10E18\hardware" -hardware "C:\Users\div54\AppData\Local\Energia15\packages" -tools "C:\Program Files\energia-1.6.10E18\tools-builder" -tools "C:\Program Files\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\div54\AppData\Local\Energia15\packages" -built-in-libraries "C:\Program Files\energia-1.6.10E18\libraries" -libraries "C:\Users\div54\OneDrive\Documents\Energia\libraries" -fqbn=energia:msp432:MSP-EXP432P401R -ide-version=10610 -build-path "C:\Users\div54\AppData\Local\Temp\build45865cb35bb0d4253bfde3365705470d.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\div54\AppData\Local\Temp\untitled310862003.tmp\sketch_may29a\sketch_may29a.ino"
C:\Program Files\energia-1.6.10E18\arduino-builder -compile -logger=machine -hardware "C:\Program Files\energia-1.6.10E18\hardware" -hardware "C:\Users\div54\AppData\Local\Energia15\packages" -tools "C:\Program Files\energia-1.6.10E18\tools-builder" -tools "C:\Program Files\energia-1.6.10E18\hardware\tools\msp430" -tools "C:\Users\div54\AppData\Local\Energia15\packages" -built-in-libraries "C:\Program Files\energia-1.6.10E18\libraries" -libraries "C:\Users\div54\OneDrive\Documents\Energia\libraries" -fqbn=energia:msp432:MSP-EXP432P401R -ide-version=10610 -build-path "C:\Users\div54\AppData\Local\Temp\build45865cb35bb0d4253bfde3365705470d.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "C:\Users\div54\AppData\Local\Temp\untitled310862003.tmp\sketch_may29a\sketch_may29a.ino"
Using board 'MSP-EXP432P401R' from platform in folder: C:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0
Using core 'msp432' from platform in folder: C:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0
Detecting libraries used...
"C:\Users\div54\AppData\Local\Energia15\packages\energia\tools\arm-none-eabi-gcc\6.3.1-20170620/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -g -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=M4F -Dxdc_cfg__xheader__="configPkg/package/cfg/energia_pm4fg.h" -DTARGET_IS_MSP432P4XX -DBOARD_MSP_EXP432P401R -Dxdc__nolocalstring=1 -D__MSP432P401R__ -DCORE_VERSION=380 -c -g -Os -w -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -mthumb -DF_CPU=48000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP_EXP432P401R -DENERGIA_ARCH_MSP432 "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/msp432" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib/MSP432P4xx" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc/CMSIS/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/msp432" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib/MSP432P4xx" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc/CMSIS/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\variants\MSP_EXP432P401R" "C:\Users\div54\AppData\Local\Temp\build45865cb35bb0d4253bfde3365705470d.tmp\sketch\sketch_may29a.ino.cpp" -o "nul"
"C:\Users\div54\AppData\Local\Energia15\packages\energia\tools\arm-none-eabi-gcc\6.3.1-20170620/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -g -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=M4F -Dxdc_cfg__xheader__="configPkg/package/cfg/energia_pm4fg.h" -DTARGET_IS_MSP432P4XX -DBOARD_MSP_EXP432P401R -Dxdc__nolocalstring=1 -D__MSP432P401R__ -DCORE_VERSION=380 -c -g -Os -w -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -mthumb -DF_CPU=48000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP_EXP432P401R -DENERGIA_ARCH_MSP432 "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/msp432" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib/MSP432P4xx" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc/CMSIS/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/msp432" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib/MSP432P4xx" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc/CMSIS/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\variants\MSP_EXP432P401R" "C:\Users\div54\AppData\Local\Temp\build45865cb35bb0d4253bfde3365705470d.tmp\sketch\sketch_may29a.ino.cpp" -o "nul"
Generating function prototypes...
"C:\Users\div54\AppData\Local\Energia15\packages\energia\tools\arm-none-eabi-gcc\6.3.1-20170620/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -g -Dxdc_target_types__=gnu/targets/arm/std.h -Dxdc_target_name__=M4F -Dxdc_cfg__xheader__="configPkg/package/cfg/energia_pm4fg.h" -DTARGET_IS_MSP432P4XX -DBOARD_MSP_EXP432P401R -Dxdc__nolocalstring=1 -D__MSP432P401R__ -DCORE_VERSION=380 -c -g -Os -w -ffunction-sections -fdata-sections -fno-threadsafe-statics -fno-rtti -fno-exceptions -w -x c++ -E -CC -mcpu=cortex-m4 -mthumb -DF_CPU=48000000L -DARDUINO=10610 -DENERGIA=10610 -DENERGIA_MSP_EXP432P401R -DENERGIA_ARCH_MSP432 "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/msp432" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib/MSP432P4xx" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc/CMSIS/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432/ti/runtime/wiring/msp432" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib/MSP432P4xx" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/driverlib" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system/inc/CMSIS/" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\system" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\cores\msp432" "-IC:\Users\div54\AppData\Local\Energia15\packages\energia\hardware\msp432\3.8.0\variants\MSP_EXP432P401R" "C:\Users\div54\AppData\Local\Temp\build45865cb35bb0d4253bfde3365705470d.tmp\sketch\sketch_may29a.ino.cpp" -o "C:\Users\div54\AppData\Local\Temp\build45865cb35bb0d4253bfde3365705470d.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
arm-none-eabi-g++: error: CreateProcess: No such file or directory

exit status 1
Error compiling for board LaunchPad w/ msp432 EMT (48MHz).

 

Share this post


Link to post
Share on other sites

As you noted, there is something going wrong with the port assignment in Windows. It could be that all comports somehow have been assigned already and Windows is not giving them up to other devices.

  • What does the Driver tab say in the device manager? Mine looks like the following.

image.png.141390e4109974f5ed9844b6298ef98d.png

  • Where did the driver you installed come from? Did you download it from energia.nu?
  • Have you tried rebooting windows?

Share this post


Link to post
Share on other sites

This is currently what mine looks like with or without the device connected.

image.png.1fae8e1d05a0008c72079639829dd0a5.png

I got the drivers from energia.nu Guide ->Windows->MSP432 tab -> instruction #2

I extracted the driver into a folder that I placed the energia program software in, and then ran the 64bit .exe file. I then started the Energia IDE. Upon noticing that the Port was still grayed out I tried restarting my computer. The Port option was still grayed out. I've also tried going to the advanced option under port settings and assigning the port number, but this crashes the Device manager for some reason. Also, any changes that I make don't seem to be saved. Maybe it's because I'm just a local user and not running as an administrator. I'm not sure how to access the device manager as administrator either. 

 image.png.24281e851ac9669a2212bab93c886019.png 

Thanks for the quick response. Was really impressed by that.

Share this post


Link to post
Share on other sites

I just now uninstalled the drivers I had and reinstalled the ones from energia.nu and the work OK.

Are you an administrator on your machine? Can you try installing the drivers as Administrator?

Right click DPInst64.exe and choose "Run as administrator".

Also, did you get any errors or permission messages when you installed the drivers the first time around.

Roberts

Share this post


Link to post
Share on other sites

I uninstalled the drivers. Deleted them. Redownload Ed the drivers, extracted as before, right clicked and ran as administrator. A yellow box popped up to confirm the installation. No permission errors similar to before. However, I'm still getting the same greyed out port menu. I also tried the same method, but with restarting the computer before opening energia. Still the same result. I think it has something to do with the COM number being assigned. When I plug in the MSP432 the device is recognized, and under (COM & LPT) the right driver is shown. The only thing that is missing is the (COMxx) next to it. I'm having a similar problem with another UART driver for my ESP32. The COMs are being assigned for an Arduino Nano, NodeMCU, and Paralax board. Is there anything that you recommend that I look at for the 3 boards that are working versus the MSP432?

Share this post


Link to post
Share on other sites

Just a wild guess. Is the port you are plugging it into a USB 3.0 port? It probably is not the issue but can you connect it to a USB 2.0 port?

A USB 3.0 has a blue lip and a USB 2.0 has a gray or black lip.

Robert

Share this post


Link to post
Share on other sites

It's connected to a USB 2.0. Unfortunately my Laptop does not have a USB 3.0 port. I tried connecting the MSP432 to my raspberry Pi, and it was detected just fine. So, this seems to be a my computer specific problem. 

NodeMCU.png.0f67c815ea0dd9efabb11aa4a2a086f4.pngNode MCU

MSP432.png.51ed363d0d8a30ce946b0ad7a7cdad5c.pngMSP432

I did notice an interesting change in the location between my NodeMCU that is working to the MSP432. Same cable and same USB port.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×