Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems opening bluetooth COM port
#1
I'm trying to use the bootloader with a JY-MCU bluetooth adapter:
http://wiki.pinguino.cc/index.php/Interf...oth_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
Reply
#2
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.
Reply
#3
(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.
Reply
#4
Try this new package:
http://mrmackey.no-ip.org/elektronik/ds3...21#pid1321

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


Forum Jump:


Users browsing this thread: 1 Guest(s)