Pages: [1]   Go Down
Author Topic: Serial Single Sided Bootloader problems  (Read 716 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I am new to Arduino. I have a Duemilanove with ATmega 328p and a selfmade Serial Single Sided v3. The Duemilanove is used as the programmer. Uploading a Bootloader ("ATmegaBOOT_168_diecimila.hex") using cmd has already worked, but it seems like the ATmega 168 is using its internal crystal (Hope the right word, am from Germany and 14).
The Led lights 2s then it is out for 20s and then it lights again...
When I manually (using Arduino as ISP) upload the Blink sketch. The LED blinks 4x quicker than it says in the sketch, when I use the Serial connection in my sketch I only receive spaces.

Do I have to change fuses, how do i do this?
I can't upload sketches via my USB to Serial Converter.

Thank you
« Last Edit: January 05, 2013, 07:45:45 am by elektroniker494 » Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 210
Posts: 13039
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The easiest solution is to use the Arduino IDE to burn the bootloader.  In addition to uploading the bootloader, the IDE sets the fuses.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 210
Posts: 13039
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It works!

Excellent.

Quote
Can I directly burn the hex via Arduino ISP

Yes.

Quote
when I use classes like Wire?

The libraries you use make no difference when it comes to uploading.
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 210
Posts: 13039
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
these boards will be used for my own model railway control

Nice.

Quote
Because I²C is not bidirectional

I believe I²C can be "multi-master".  If I remember correctly, the Wire library supports multi-master after a modification.  Unfortunately, I don't have the experience to help any more than that.

Quote
So, how quick is the I²C on the Arduino?

I can't help with that question either.  I suspect you'll find more help here...
http://arduino.cc/forum/index.php?board=11.0
Logged

Pages: [1]   Go Up
Jump to: