is there a way to program an artduino pro mini using only both the tx- and the rx- pin on the ardunino?
Background:
I've established connection between a blue smirf and my arduino. The arduino is sending an recieving serial data using only the tx-/rx-pins on both boards. The smirf is connected to a pc via bluetooth as a bluetooth serial port. I can read data from the arduino on the pc and send data form the pc to the arduino (both tested).
What I can't do but like to is program the arduino via the blue smirf. In the arduino software I only get the following when I try:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
Used the "LilyPad" and the "Decimalia or Duemilanove..." options under Tools->Board with no difference.
The arduino must be reset just before uploading the program. You need to get the bluesmirf's DTR or RTS signal connected to the arduino RESET. I believe that Lady Ada has some info on doing this. Not sure if it was for bluetooth or an XBee.
and I see: 19200 baud for most boards... it seems as if the new chips use 57600 baud for the bootloader... so: did you connect the blue smirf using the correct baud rate?
Can one change the baud-rate in the software by editing this file or does the ardunio require this disticnt baud-rate to be programmed? It would be a bit tricky to change it in the smirf.
Just to make things a little bit clearer: this changes the baudrate of the bootloader on your Arduino Pro Mini if you upload it to the board. Then you must also change the baud rate (speed) setting in the boards.txt to the same value.
And don't get confused by the ISPSPEED key in the Makefile, this is the baudrate for the ISP interface (e.g. stk500v2) and has nothing to do with the baudrate setting of the bootloader that you want to change.
It's a shame that it still doen't work. I changed the arduino bootloader and software. That had no result so I changed it back an set the smirf's baudrate. No result with or without reset-pin connected. Don't know what's the problem.
you have to disconnect digital pins 0 and 1 while uploading (they can connected and used after the code has been uploaded).
arduino.cc/en/Guide/Troubleshooting