Arduino programming over BTM-182 Bluetooth

Hi,

I have successfully managed to communicate with my Arduino Pro Mini 3.3V (Atmega328) over a Rayson BTM-182 Bluetooth module. I connected the UART pins the following way:

  • Aruduino TX - Bluetooth RX
  • Aruduino RX - Bluetooth TX
  • Aruduino DTR - Bluetooth RTS

Also, I have set the baudrate of the Bluetooth module to 57600, which corresponds to the programming baudrate of my Arduino.

The problem I have now, is that I haven't been able to program my Arduino over the serial Bluetooth connection (I selected the Bluetooth as serial port in my Arduino IDE). The error message I get is the following:

avrdude: stk500_getsync(): not in sync: resp=0x52
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x52

I assumed this had to do with the software reset of the Arduino before programming, but this should now be working over the RTS pin.

Does anyone have an idea on what I am doing wrong?

Thanks

any suggestions? :-/

still lost... any ideas?

try manually resetting the arduino before uploading a program to see if you can isolate the serial connection as the problem.

i tried that already, but unfortunately that doesn't help. I can, however, program the Arduino over my FTDI breakout board. No problem there

any other ideas? :-/

Is there any way you can test the DTR/RST signal to verify that it's working? Do you have a logic probe? that will tell you in a second.

Another way may be to set the LED on pin 13 ON (using a program uploaded normally), then try to program. If the uC gets reset the LED will go off.


Rob