Pages: 1 [2]   Go Down
Author Topic: Atmega 328 with internal 8MHz clock  (Read 2839 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 2
Posts: 336
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just downloaded the board.txt file..No bootloader inside the breadboard.zip
Logged

Offline Offline
Sr. Member
****
Karma: 2
Posts: 336
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Anyone tried that before ?

Hope can solve this problem.

Thanks
Logged

0
Offline Offline
Edison Member
*
Karma: 7
Posts: 1235
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just went through myself..

ALTHOUGH my chips were new/blank from factory still.. nothign on them prior.. so thats your initial problem.. (no clue.. probably have to add crystal/caps to burn)



but I originally had the same problem, after buring the breadboard bootloader.. I couldnt upload using IDE 1.0.. using IDE v23 worked fine.. but not IDE 1.0  (I had to add that last line in my board.txt file

anyways..

here is my breadboard board.txt file:

Code:
##############################################################

atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)

atmega328bb.upload.protocol=stk500
atmega328bb.upload.maximum_size=30720
atmega328bb.upload.speed=57600

atmega328bb.bootloader.low_fuses=0xE2
atmega328bb.bootloader.high_fuses=0xDA
atmega328bb.bootloader.extended_fuses=0x05
atmega328bb.bootloader.path=arduino:atmega
atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex
atmega328bb.bootloader.unlock_bits=0x3F
atmega328bb.bootloader.lock_bits=0x0F

atmega328bb.build.mcu=atmega328p
atmega328bb.build.f_cpu=8000000L
atmega328bb.build.core=arduino:arduino

atmega328bb.build.variant=arduino:standard


I have this  in my "Arduino 1.0 >> hardware >> breadboard  >> board.txt  directory"


I used my Arduino Duemilanove 2009 board to flash my bootloader, here are my steps:

1.) hook up my Arduino Duemilanove 2009 board to USB
2.) Open IDE (I used v.23)
3.) Tools >>> Board >> (Duemilanove 2009)
4.) Tools >>> Serial Port  (select port your above Arduino is connected to)
5.) File >>> Examples >>> ArduinoISP..  (upload this sketch to your Arduino board.
6.) Disconnect.. from USB
7.) Connect a 100-120 ohm resistor between RESET & +5v (to disable auto-reset on the MAIN board)
8.) Connect your target board (minimal +3.3v/8Mhz internal clock) to the MAIN Arduino above.

Wiring Pnout:
Arduino board pin   >>>  Target board pin
               D10       >>>>           RESET
               D11       >>>>           D11
               D12       >>>>           D12
               D13       >>>>           D13
               GND      >>>>           GND
               +3.3v     >>>>           VIN on breadboard...

9.) Reconnect MAIN Arduino board to USB.
10.) Open IDE (I used v.23)
11.) Tools >>> Board >> (Breadboard 3.3v with Internal 8MHz clock)
12.) Tools >>> Serial Port  (select port your above Arduino is connected to)
13.) Tools >>> Burn Bootloader >> w/Arduino as ISP



Should burn fine.... when I want to UPLOAD sketches.. I needed to go back and make sure I had the Arduino breadboard 3.3v and Internal 8MHz clock chosen as my board type in

Tools >>  Board >>


(and of course the right com port chosen again)


Logged


Pages: 1 [2]   Go Up
Jump to: