Other Parts Discussed in Thread: MSP-GANG, C2000-GANG
I am doing production programming using the C200gang programmer from Elpotronics and using the associated library C200gang.dll.
I never have a problem using the C2000 gang GUI. Using the DLL, I can program once. Then when I run InitCom again, I get ERROR 304: Unable to modify COM port state. I'm setting to 115200, and COM2 is the correct port. I am using ReleaseCom function once I am done calling the DLL the first time. If I ignore the error, I get error 306 which is another com port error.
I usually can unplug and and plug in the USB (Virtual Com Port) and then get it to work again but sometimes it takes a few tries.