Rainbowduino Firmware update problem

hey i use the Arduino Mega to upgrade my new Rainbowduino, but it doesn´t work.
The Programm also say “Problem uploading to board”.
I don´t know what i can do, i have tried everything but nothing helped.
I heared that it is difficulty to uprade with the Arduino Mega, is there a easier way to upgrade?
Arduino Duemilanove?
I have the possibility to use a usb Comport (MysmartUsb).

You may refer to the tutorial in the garden page for Rainbowduino.

http://garden.seeedstudio.com/index.php?title=Rainbowduino_LED_driver_platform_-_Atmega_328#Upload_Firmware

Yes I know but whenever i trie to upload the firmware i became the error message “Problem uploading to board”
The Arduino Mega is right connected and settings are also correct : Tools–>board–> Arduino Duemilanove or Nano w/ ATmega328
What is wrong?
I use the Firmware v3 to upload…

please check if your rainbowduino has an ATmega328 or ATmega168!
did u wire everything correctly and put a BareMinimum sketch on your Arduino?

I have the ATmega328 Rainbowduino

Wire-connection:
9V pin to Rainbowduino Vcc
GND pin to Rainbowduino GND
Arduino RX (pin 0) to Rainbowduino TX
Arduino TX (pin 1) to Rainbowduino RX
Arduino RESET to Rainbowduino DTR

What is a BareMinimum sketch ? it is an empty sketch like this:

[code]void setup() {}

void loop() {}[/code]
Then i have all right done or?

where are those 9V from? the Arduino Mega doesn’t provide 9V, only 3.3 and 5V! did u connect a power supply? if so, did u also connect GND from the Mega?

yes, it’s an ‘empty’ sketch!

yes gnd are smoothed and i use a 9v battery.

Wire-connection:
9V pin to Rainbowduino Vcc
GND pin to Rainbowduino GND
Arduino GND pin to Rainbowduino GND
Arduino RX (pin 0) to Rainbowduino TX
Arduino TX (pin 1) to Rainbowduino RX
Arduino RESET to Rainbowduino DTR

smoothed? so u connected gnd of the battery AND the mega AND the rainbowduino?
is there any error code given?

No i connected the power supply 9v and gnd and
i connected the programming gnd from arduino to the rainbowduino.
like this:

hm wiring looks good! does the PWR led on the rainbowduino light up? and led L flash once during reset??

hmm
yes thr PWR led lights up and L too.
What is wrong?

@jmr
Du kannst ja deutsch von daher ist es einfacher dir es eben so zu erklären :wink:
Ich habe alles richtig verbunden und beim upload erhalte ich immer Fehlermeldungen konnte nicht übertragen werden.
Dieser Fehler soll generell bei vielen mit dem Mega auftreten.
Ich habe mir ein Arduino Duemilanove geordert vllt bringt es was.

hm könnte möglicherweise mit zusammenhängen, dass der mehrere serielle schnittstellen hat…
uah kannst du die order noch canceln? duemilanove is alt, besser Uno oder einen billigen UART Adapter, bspw USB-BUB von Modern Device oÄ!

Ja ich kann ihn zurück schicken :wink:
Em ich habe ein MySmartUSB hier müsste eigendlich auch klappen…
Ich hatte es mit ihm via RX TX versucht jedoch ohne Erfolg.

is das nich ein ISP Programmierer? per ISP wäre auch ein versuch wert!

ja der ist beides.
Sofern ich per ISP programmiere bräuchte ich eine gute hex file

generiert die arduino ide, da die intern auch nur gcc und avrdude benutzt! schau mal temp ordner

Alles klar so einfach kann es sein jedoch wo befindet sich der temp ordner? Im Arduino Programmordner? (Mac)

siehe http://www.arduino.cc/en/Hacking/BuildProcess :slight_smile:

Alles klar beim mac ist es nicht ganz im /tmp ordner sondern man erfährt es genau wenn man shift und verify drückt :wink:
Ich probiere es eben mal mit der isp variante.

Juhu es hat geklappt, nach 2 wochen :slight_smile:
Danke jmr

Wie werden jetzt sketch übertragen?
per I2C ?
und hast du zufällig ein beispiel sketch welches ohne processing arbeitet