Upload sketch Arduino Due with HC-05 bluetooth

Dear forum members,

I tried to use a HC-05 bluetooth module with an Arduino Due through TX0/RX0 (Serial 1) but i doesnt seem to work. I can upload sketches to Arduino Mega but not to an Arduino Due. Arduino IDE doesnt find the Arduino, but I can open the COM port through serial monitor of the bluetooth module. But nothing is showing up in the Serial Monitor.

Any idea?

The Arduino Due doesn't use the serial inteface for sketch upload as the Mega does but has a direct USB connection to the main processor. You'll need a different boot loader if you want to upload sketches using the serial interface.

Thanks for your reply.

What kind of boot loader should I use? I can connect with BOSSAC through the Native USB port.

Thanks.

Please excuse, my answer was not completely correct. The Due uses the first serial interface to upload sketches if the programming USB port is used. But to program the Due that way you have to erase it's flash first by setting a specific pin and resetting it. The ROM then activates the boot loader. I don't see a possibility to activate these two pins using the HC-05, it may be possible by changing the firmware of the HC-05 and soldering some wires to the daughter board but I guess that using better fitting hardware is the better choice.

Hi,

What kind of fitting hardware would you advise?

I tried to manually push the Reset and Erase Buttons but that doesnt work either.

What kind of fitting hardware would you advise?

I don't know your project. By better fitting hardware I didn't meant just the HC-05 :-), but the whole combo.

I tried to manually push the Reset and Erase Buttons but that doesnt work either.

No, that doesn't work as the timing has to fit, the Due doesn't wait for seconds after a reset for a sketch to arrive as the first Arduinos did.