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.
Hi,
Just today, I have observed my COM Port for Tiva Connected Launchpad to be always disconnecting and then reconnecting. So, during CCS debug I get this error message below. Even if I stop debugging, I observed at Tera Term to always disconnecting and then reconnecting at the COM Port for Tiva Connected Launchpad. I have set all needs to be set at Windows 10 for the USB to be not suspended or powered off. What could be causing this and how do I solve this problem?
Device Setup: Tiva Connected Launchpad + CC3100 BP + Sensor Hub BP powered using USB
Program: Send BMP180 Sensor Data to Samsung Artik Cloud, uart_echo
OS: Windows 10
CCS Version: Version: 6.2.0.00050
CCS Error Message:
CORTEX_M4_0: Error: Connection with the target was unexpectedly lost.
CORTEX_M4_0: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging.
Further troubleshooting steps:
Using LM Flash Programmer I erase entire flash contents, and with just the Tiva Connected Launchpad + Sensor Hub BP, I debug run the BMP180 Example Program, and it worked for a long time.
But, why above setup causes the COM port for Tiva Connected Launchpad to always disconnecting and reconnecting? The program did not go to FaultISR().
Is it possible that the cause is lacking of memory caused by some operation in the program?
- kel
Amit Ashara said:1. The CCS Error message is not COM port but DEBUG port.
Yes, you are right.
Amit Ashara said:2. Is the current requirement for the entire setup been calculated and seen to meet the USB bus power? Did you try using an external power source?
I have not done any current requirement calculations, but have used the same setup, Tiva Connected Launchpad + CC3100 BP + Sensor Hub BP to send data to Exosite, and it worked without problems for an entire day.
I will try an external power source.
- kel
Hi,
Look for Microsoft's USBView.exe utility, to tell you: a) your USB port current capability and b) the current drawn.
USB ports are in versions of 100mA, 500mA.
Also, ICDI does not support too many breakpoints, Amit can tell you the latest figures about that.
Markel Robregado said:MaxPower: 0x7D (250 Ma)
I know nothing of USBView and its method of representing power - yet 0x7D is less than half of "8 bit, full scale" (255) thus (may) be suspect. In fact - 0x7D translates to 125 decimal - but again - USBView's method of representing power is unknown by this reporter...
Thanks to Petrei for the mention of USBView - it seems useful for multiple tasks...