ds30 Loader free edition forums
Problems opening bluetooth COM port - Printable Version

+- ds30 Loader free edition forums (https://picbootloader.com/forum)
+-- Forum: Support (https://picbootloader.com/forum/forumdisplay.php?fid=3)
+--- Forum: GUI (https://picbootloader.com/forum/forumdisplay.php?fid=4)
+--- Thread: Problems opening bluetooth COM port (/showthread.php?tid=620)



Problems opening bluetooth COM port - xieliwei - 2013-07-06

I'm trying to use the bootloader with a JY-MCU bluetooth adapter:
http://wiki.pinguino.cc/index.php/Interfacing_with_Bluetooth_JY-MCU

Generally, it takes a few seconds for the serial port to open (when using Tera Term for example). I think the bootloader GUI times out during this and gives me a "Failed to open port COMx" error.

Is there a way to increase the timeout for a serial port to open?

---------------------

Turning on debug only displays this (yes, the bluetooth adapter works at 921600; the bootloader also works at 921600 over wired):

Opening port Standard Serial over Bluetooth link (COM7)@921600
Failed to open port COM7


RE: Problems opening bluetooth COM port - Mikael Gustavsson - 2013-07-07

Try to set a value in "Delay after port open" under the timing tab. The value should be longer than the time it takes to open the port.


RE: Problems opening bluetooth COM port - xieliwei - 2013-07-08

(2013-07-07, 22:07:44)Mikael Gustavsson Wrote: Try to set a value in "Delay after port open" under the timing tab. The value should be longer than the time it takes to open the port.

Just gave that a try. I've set it to 10000ms (which is more than sufficient), but the "Failed to open port" error appears just a few seconds in.


RE: Problems opening bluetooth COM port - Mikael Gustavsson - 2013-07-08

Try this new package:
[broken link]

You will still need to use "Delay after port open"