Run the IDE as root (or with Sudo).Does the Serial Port appear then?
I think the IDE simply refuses to look for /dev/rfcomm0. I seem to recall I had to find the file where it stashes preferences and manually edit it to say /dev/rfcomm0. But I also had big problems timing the manual reset I had to do so the upload would work. See:http://home.comcast.net/~tomhorsley/hardware/arduino/ITead.htmlfor some of my experiences with the ITead bluetooth shield.
Thanks! But in which directory You ran [font=monospace]make clean build[/font] commands?
Quote from: Scratchy on Jun 19, 2012, 07:39 pmThanks! But in which directory You ran [font=monospace]make clean build[/font] commands?The makefile thing only worked after I had completely removed the IDE from my workflow. If you are lookingat my software, the directory where I run make build and make upload is the "microcode" directory, andthe current state of the software is such that I'd need to uncomment the PORT=/dev/rfcomm0 line andcomment out the PORT=/dev/ttyACM0 line. Then after doing a "make build" I type a "make upload"command in a terminal and try to hit return in the terminal at the same time I release the reset buttonon the arduino (but the timing is still tricky). I pretty much decided it was easier to change the jumpersand upload over the USB connection when I need to upload.This web page for the teensy:http://www.pjrc.com/teensy/jump_to_bootloader.htmlimplies that you can jump to the bootloader from your sketch (if you build a sketch that can take a commandto do that some way), but I haven't tried that yet with my Uno.
rfcomm bind 0 00:12:02:10:79:36 (bluetooth module address)avrdude -c arduino -p m328p -P /dev/rfcomm0 flash:w:home/tadas/Desktop/Blink_Test_Serial.cpp.hex -v -v -v -v -b 57600
avrdude: ser_recv(): programmer is not responding
What baud rate you have on your BT module ? because it has to be the same that the rate of which you're uploading with in this case 57600, and have you tried to reset the board manually just after you send that avrdude command ? Remember there is no autoreset feature when dealing with BT. I was programming my arduino via bluetooth on the windows 7, there were some issues with the timing of that reset. Haven't tried it on ubuntu yet, but I will look into it
If you want to change baud rate on your bluetooth module you need to bring it to AT mode (there should be a switch or you need to pull some pin down check some datasheets) and then you need to connect it to the PC via FTDI and chanage it with AT commands.
rfcomm bind 0 00:12:02:10:79:36
avrdude -c arduino -p m328p -P /dev/rfcomm0 -U flash:w:/home/tadas/Desktop/Blink.cpp.hex -v -v -v -v -b 57600
I'm glad it worked . To be honest for the purpose of changing baud rates and other AT commands I use PuTTY, because Arduino serial monitor doesn't work for me, so I reccomend you PuTTY, it's free, crossplatform and awesome