Hi,
I am using CC3200-LAUNCHXL, acting as an MQTT client, to send messages received from the cloud via UART to another MCU. In order to accomplish this, I simply expanded upon the mqtt_client project found in the examples folder of the SDK. I am using CCS 6.1.1.
However, I ran into problems with “Debug Port Error” messages. The errors seem random so they’re a tad hard to describe. Most of the time, the project loads onto the device fine. The problems occur when the project is ran. The debugger sometimes pauses the execution of the code and the console will display some cortex error. The confusing part is that the error messages that are displayed are often different. The screenshots below display some of the different messages I’ve encountered. Furthermore, sometimes the errors don’t occur at all. I’ll terminate the debug session, rebuild and reload (and also hit the reset button on the device), and the code will run, seemingly forever, just fine. I’ll repeat the same process again, but this time the errors will halt the execution of the code as described. I’ll hit run again to resume the execution, but shortly after another debug port error occurs.
I thought perhaps I did something wrong, so I reverted back to the original mqtt_client, but the problems persisted. I tried other simpler projects such as blinky, and still ran into the same issues. At times, the project executes without any halts, other times it is stopped multiple times as I attempt to resume. I am not sure why the behavior is different as I am changing nothing in between these attempts. I literally just build, reset the device, and load again. The project that I am running seems to have no effect on the behavior.
One thing I have noticed, is that these errors seem to happen a lot more frequently and quicker when I have the other MCU also connected to my machine. I am aware that only one FTDI device can be connected to the PC when loading. What I do is first load the CC3200 code, and begin running, then connect the other MCU, load its code, and run it. The errors seem to happen very frequently when in this configuration. On the other hand, when only the CC3200 is connected, the debug port errors typically occur less frequently, and sometimes they don’t occur at all.
I have the jumpers connected as shown in the Getting Started guide, including the SOP2 jumper. I did change the UART jumpers to the BP configuration when I was trying to communicate with the other MCU. I’ve read through some of the posts on E2E, and haven’t really found a solution that has worked as of yet. Perhaps, I haven’t found the right post yet.
Any help would be greatly appreciated, thanks.
Kevin