What is the board that should be selected ...Tools\Board\ ? the board I am using is not listed. Using Modern Devices BBB Rev C
I have tried a number of selections but all with the same results.
Can compile Blink sketch/example and when I attempt to upload to the I/O Board I do see activity on the RXD pin 2 on the ATMega168 but, no response on the TXD pin 3 and no indication that the sketch ever loaded. Looked at this with an oscilloscope. Appears Arduino 0015 is sending two bytes at 19200 bps "00" . Is there a way to send something using the Serial Monitor that should give some response back?
Any suggestions?
Have programmed ATMega168s with available bootloaders:
ADABoot_168.hex and ATmegaBOOT_168.hex using an STK500 using the Fuse bits specified below. Programmed Low Fuse to BF so that I could verify the clock is running at 16MHZ. Appears the part is running. Have verified VCC and AVCC are at 5VDC and GNDs are correct.
Using Arduino - 0015
Using Windows XP SP3
PC with serial ports and RS232c to TTL level translator
Modern Devices BBB Rev C board without reset mod
ATMega168P
Fuses programmed as (Low-BF or FF), (High-DF), (Extended-F8)
Lockbits set to CF
16MHZ external crystal with two capacitors
Concluded that something must be wrong in the ATMega168 bootloader and thought about just buying one already programmed so I could find out the correct settings for the fuses and lock bits. Found a few things finally out on the net that seem similar to my problem.
Found that the problem is that the Bootloader never successfully loaded into the ATMega168 using Studio 4 and the STK500 programmer even though it "VERIFIED" correctly. Apparently, Atmel is aware of this and has a hotfix available at:
I am using AVR Studio 4 Build 628 (4.16.628 GUI Version 4,16,0,626 Major 5 Minor 1 Platform ID 2 Build 2600 Service Pack 3) and after downloading the fix and programming the bootloader with ATmegaBOOT_168_ng.hex then I could upload sketches.
The board selection that I found worked well was the Arduino Diecimilla or Duemilanove w/ ATMega168. I also changed the upload.verbose=false to upload.verbose=true in the preferences.txt file so I could see more about what was being sent serially.