This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: MSP432P401R
Tool/software: Code Composer Studio
Dear Fourms,
I am sure this question has been answered. However I cannot find it on the net after an extensive- and many days of search. Moreover I have done myself many tests.
The problem is as follows: displaying data using PUTTY or CCS serial terminal of the following program: “adcsinglechannel_MSP_EXP432P4111_freertos_gcc”.
As it is explained in “Resource Explorer”:
http://dev.ti.com/tirex/explore/node?node=AK1Qf-VoKZjCW.TRlGaPrg__z-lQYNj__1.40.01.00
The set up is very easy. However the problem is the COM port in which in both cases: PUTTY and CCS says that cannot open the port in case of PUTTY and closed in case of CCS. I assume when I am running the program, the CCS keep the PORT occupied thenit cannot display the data coming from MSP432.
Could you explain how then they have done this measurement as it is stated in the link above?
Thank you in advance.
Regards
Mostafa
Hello Mostafa,
Mostafa Hajian said:. However the problem is the COM port in which in both cases: PUTTY and CCS says that cannot open the port in case of PUTTY and closed in case of CCS.
It sounds like you are not specifying the correct COM port. Double-check in device manager that you have correct COM port specified.
Mostafa Hajian said:“adcsinglechannel_MSP_EXP432P4111_freertos_gcc”.
Are you using the MSP432P401? Or MSP432P4111? If it is the former, then you have the wrong project imported.
Also, the link provided is for a very old version of the SDK. I would recommend using a newer version of the SDK
Thanks
ki
Thank you Ki. I would like to go thorugh your remakes. My responses are in blue.
1. It sounds like you are not specifying the correct COM port. Double-check in device manager that you have correct COM port specified.
You are really under estimating my intelligence. Are you kidding me?
2. Are you using the MSP432P401? Or MSP432P4111? If it is the former, then you have the wrong project imported.
It does not make difference. It does not work.
3.Also, the link provided is for a very old version of the SDK. I would recommend using a newer version of the SDK.
Does not make difference. Programs is not old and setup still has to work.
The MSP432P401 uses *2* com ports and you have to have the correct one selected for the back channel UART.
We have no idea what your intelligence is, but anyone can make a mistake.
Dear Keith,
Which port to choose; is clearly documented and explained in the link that I sent. And it is not rock science. So. I think the problem is originated and related to something else.
Cheers,
Mostafa
Do you have the com terminal open in CCS?
Since the ports are exposed without CCS running have you tried running it without CCS open?
Have you put a scope on it to make sure you are getting traffic on the UART bus?
Dear Keith,
Thanks. My answers in blue.
Do you have the com terminal open in CCS? Yes. I have tried all the combinations. First run the program then open the COM terminal. Or open the COM terminal then run the program. The message is always the same, see the added image.
Since the ports are exposed without CCS running have you tried running it without CCS open? I do not know how to do that. We thought perhaps the solution is like Arduino, that we could upload the program on MSP432 and then run it on another LapTop or computer. However in the link they do not talk about this matter at all.
Have you put a scope on it to make sure you are getting traffic on the UART bus? How is it possible? I assume that my UART bus is connected to my LapTop via USB. That is what is stated in the Device manager. Moreover I do not know how and where to connect my scope channels. Do I have to connect my scope to MSP432 Pins. On that case they measure 3.3[V] or 0.0[V].
I do not know what is COM46 for and when to use it? Anyhow I have tried both of them and it always give the message that the COM port is closed or unable to open for CCS and Putty respectively
Mostafa,
Thanks for the screenshots. I can clearly see that you are using the correct COM port (COM45). Thank you for confirming. You would be surprised how many people get confused by the multiple XDS110 entries under the list of Ports and end up choosing the wrong COM port. Hence why I had to ask.
I also see that you are using the project for the MSP432R401R. Thanks for trying it out. While it may not have a direct impact on the COM port issue, they R4111 and R401 have quite a different memory map and it is recommended to make sure you are using the correct project type.
I tried the same example on my MSP432R401R LaunchPad (CCSv9.3, SDK version 3.40). I didn't have an issue (in my case, the correct port was COM3):
I'm not sure why you are having issue connecting to the terminal on your environment. I will move this to the device forum where the device experts can guide you further.
Thanks
ki
Simply plug the MSP432 into the computer and do not start CCS. Any serial communication will still flow and you should be able to use Putty to see it. I do it all the time. I have found that once CCS gets its teeth onto the COM port, it won't let go until you quit CCS.
You can access the serial stream via the TXD and RXD jumpers.
Dear Keith & Ki,
Thank you all. It works. Problem was drivers. I went to FDti Drivers website and update my drivers and it seems that now it works. My TexasAnalyzer also works accoring to:
https://training.ti.com/ti-rslk-max-module-1-lab-video-4-running-texas-oscilloscope
I am really sorry for wasting everybodys time. Added the screen short of both programs.
Cheers,
Mostafa
**Attention** This is a public forum