arduino BT newbie need help!!!!

I was given a arduino BT-V06 and was asked by school supervisor to program the board for further use.
Well, i can't get any program upload into the ATmega 168.
Error msg: "programmer is not responding, press reset........"

firstly, i onli know how to use blue soleli to pair the board with the computer, even though troubleshooting section say there turn off blue soleli when uploading...
Therefore, is there any other way of pairing and uploading the program?

btw, i am using window......

I have the same problem here.

I am using Windows (Vista) and a MSI Bluetooth-Dongle.
Dongle is working finde..no problems connection to mobiles etc.

I have Arduino 0007 running, switches SerialPort to the COM Port given by the Dongle (COM4)
and also switched the MUC to ATmega168.

The Problem is, as above, that i can't upload anything to the board.

I am trying to upload the standard "Blinking LED" Sketchbook to it
but i allways get the "programmer is not responding" message.

Is there anything I can do to make it work?

hi

have you selected "atmega 168" in the Tools>Microcontroller menu?

D

I'm still waiting for clarification from Massimo on this, but the bottom
line seems to be that there may be some timing issues with some BT boards...

I've had problems with my board when trying to program
it on an Intel Macbook Pro with built-in bluetooth, and with a G4/PPC eMac
and a WinXP machine both using the same MSI BT dongle. On all these
systems the problem is that sometimes the burn process doesn't
work and I see:

Atmel AVR ATmega168 is found.
Uploading: flash
Firmware Version: 1.15
Firmware Version: 1.15

but followed immediately by

**Programmer is not responding. **

Sometimes I just get the last line. The problem comes and goes, but
programming is never 100% reliable. I tried both v0006 and v0007,
but saw the same problem.

See also this thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1172165360

If anyone can bring us up to date on the situation I'd be very grateful.
I'm wondering whether to return my board for a refund, because I can't
use it as it is.

hi

quite often people think there is something wrong with Arduino Hardware, when it is really very rarely the case...
My university was kind enough to purchase 35 BT boards for a class I am teaching. While they have worked very well for the most part, I have had some problems, including the one you mention (which was solved by re-associating the board in the preferences on Mac 10.4.9). I haven't had a problem yet that could not be solved by re-associating the board, or, in a few cases, uploading the bootlaoder again.

D

Hello.

I initially had issues with timing, but now I release my mouse pointer (on the upload button) at the same time as the reset button. Actually, starting the upload process on the pc slightly before sometimes helps on slower PC's, IME. I'm not sure if the arduino program compiles the sketch each time after clicking "upload", so this could change the window for uploading.

quite often people think there is something wrong with Arduino Hardware, when it is really very rarely the case...

FYI the last I heard from Massimo was "I'm trying to see if there is a timing issue due to the fact that the
bt module is reset when the bootloader starts".

I wanted to make sure people are aware that there may be a timing issue.

When you've wasted several days on a project just trying to get basic uploading to work, it can help to know it's not necessarily your fault.

BTW Daniel I've not heard anything about this "re-associating in preferences" fix... perhaps you could share it with us? Do you mean deleting the pairing and re-pairing? I'm not optimistic given that my board exhibits the same behaviour with windows, but i'm willing to try!

BTW Daniel I've not heard anything about this "re-associating in preferences" fix... perhaps you could share it with us? Do you mean deleting the pairing and re-pairing?

yes that is exactly what I meant...

I have not had problems with the Mac platform, but my students have had lots of problems lately with the BT on a PC... in 95% of these cases I can take a module that they say is not working and make it work on my Macbook Pro (10.4.9/1.83GHZ), so I have concluded that in general the problems people are experiencing with the BT & PC is not a BT hardware issue, but an issue with how the BT associates with the Bluetooth port on the PC... In other words, the module itself is extremely rarely at fault, but rather it is the software on the host computer that is the culprit.

What we really need is a Windows guru who can write us some code ( a driver?) for the BT module, so that it works at a deeper level than the virtual serial port that we're currently using.

D

OK I tried re-pairing on my Macbook Pro (10.4.9/Intel) and tested uploading 20 times.

It failed twice.

This is a better error rate than I was getting last time, but doesn't seem conclusive.

But if it stays this way then at least the board is useable (I was seeing 80% failure rate at one point).

I have concluded that in general the problems people are experiencing with the BT & PC is not a BT hardware issue, but an issue with how the BT associates with the Bluetooth port on the PC... In other words, the module itself is extremely rarely at fault, but rather it is the software on the host computer that is the culprit.

Well, given that I've seen the exact same problem with my board on a windows XP machine and 2 different kinds of Mac (PPC/Intel), I think it's hard to be so certain.

I'm also wondering how the pairing could make a difference. I have seven bluetooth ports on this machine - since pairing again the Arduino is now the last one. On the other hand, on the PC I tried, I installed an MSI dongle just for testing, and this was the only bluetooth port in the system. But I still had very high upload-failure rates on that PC.

UISP is the only common bit of software on the host side as far as I can see, in terms of bluetooth uploading. I wonder if it would help if we had an alternative to UISP -- it seems pretty old and unfortunately stagnant for the last 2 years according to AVR In-System Programmer - Summary [Savannah]

chris

I tried to upload the exact code from this location:

http://www.arduino.cc/playground/Learning/ChangeBtName

This is the Error-Message i get if i want to upload a Sketchbook to the Arduino BT:

6 [main] ? (1572) D:\A\Downloads\Programme\Arduino Software\arduino-0007-win\arduino-0007\tools\avr\bin\avr-g++.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096

3 [main] avr-g++ 5200 child_copy: stack write copy failed, 0x22E980..0x230000, done 0, windows pid 2287796, Win32 error 5

6 [main] ? (2432) D:\A\Downloads\Programme\Arduino Software\arduino-0007-win\arduino-0007\tools\avr\bin\avr-g++.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0x7C0000, top 0x7D0000, reserve_size 61440, allocsize 65536, page_const 4096

3244810 [main] avr-g++ 5200 child_copy: stack write copy failed, 0x22E980..0x230000, done 0, windows pid 2287796, Win32 error 5

6 [main] ? (3008) D:\A\Downloads\Programme\Arduino Software\arduino-0007-win\arduino-0007\tools\avr\bin\avr-g++.exe: *** fatal error - couldn't allocate heap, Win32 error 0, base 0xA00000, top 0xA10000, reserve_size 61440, allocsize 65536, page_const 4096

4 [main] avr-g++ 3896 child_copy: stack write copy failed, 0x22E990..0x230000, done 0, windows pid 2287812, Win32 error 5

Binary sketch size: 4460 bytes (of a 14336 byte maximum)

Programmer is not responding.

Does anybody know where the problem might be?

Well, given that I've seen the exact same problem with my board on a windows XP machine and 2 different kinds of Mac (PPC/Intel), I think it's hard to be so certain.

Hi

I just co-taught a class using 36 BT modules. What I meant is that while watching 50 students use these boards over the last three months, Idid not see any siginificant hardware problems (other than a few DC power connectors coming loose, but this was due to the new ROHS Solder). My students used Linux, OSX, and windows on PC, PowerPC and MacIntel platforms... you name it, they used it.

BY an extremely wide margin, all of the problems my students, and mostly overcame, were attributable to the Bluetooth set-up or the use of the Arduino IDE on the host-computer side.

The boards are remarkably robust... but as a technology in development, as all of the Arduino project is, there are definitely some software problems (to define, overcome and share the solution to) on the host side.

D