Hello,
With the Arduino IDE, I am able to upload my sketch with Bluetooth (see
this)
Here is the output in the Arduino IDE's console:
Quote: C:\Program Files (x86)\Arduino/hardware/tools/avr/bin/avrdude -CC:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega2560 -cwiring -PCOM13 -b115200 -D ial.cpp.hex:i
avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf"
Using Port : COM13
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: wiring_open(): releasing DTR/RTS
avrdude: wiring_open(): asserting DTR/RTS
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv: . [1b]
avrdude: Recv: . [01]
avrdude: Recv: . [00]
avrdude: Recv: . [0b]
...
avrdude done. Thank you.
But with Visual Micro, I get this error:
Quote: Uploading to I/O board using 'COM13'
Uploader started for board Arduino Mega w/ ATmega2560 (Mega 2560)
Upload method will be: bootloader
Uploading via Bootloader
Flushing the serial port
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avrdude "-CC:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf" -v -v -v -v -patmega2560 -cwiring -PCOM13 -b115200 -D mega2560/multiserial.hex:i"
avrdude: Version 5.11, compiled on Sep 2 2011 at 19:38:36
Copyright (c) 2000-2005 Brian Dean,
http://www.bdmicro.com/ Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\Program Files (x86)\Arduino/hardware/tools/avr/etc/avrdude.conf"
Using Port : COM13
Using Programmer : wiring
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "\\.\COM13": Élément introuvable.
avrdude: wiring_open(): releasing DTR/RTS
avrdude: wiring_open(): asserting DTR/RTS
avrdude: ser_drain(): read error: Descripteur non valide
It looks like it can connect to the Bluetooth for like half a second, I see a led of my arduino blink 2-3 times, then Bluetooth disconnects and this error message appear.
Any idea why?