Modern Device
  • Home
  • Blog
  • Forums
  • Wiki
  • Shipping
  • Contact Us

    • Featured Products
    •  
    • Arduino/Freeduino
    • JeeLabs
    • Sensors
    • Music/Sound/Noise
    • Light Emitting Diodes
    • Displays
    • Components
    • Power Supplies
    • Breadboards & Wires
    • Merchandise
    • Closeouts
    • Promotions
    •  

    Your Cart

    Review Cart or
    Checkout Now

    Popular Products

    Freeduino USB Host Board
    Starts at $79.00
    Bare Bones Board (BBB) Kit
    Starts at $4.50
    JeeNode v6 Kit
    Starts at $7.50
    RBBB Kit
    Starts at $13.00
    Wind Sensor
    Starts at $17.00
    3-Axis Accelerometer Module
    Starts at $10.95
    TMP421 Temp Sensor
    Starts at $7.63
    Fluxamasynth Shield
    Starts at $39.95
    AMBI Light Sensor
    Starts at $4.47
    Arduino Uno Rev3
    Starts at $25.00
    Dual Axis Gyro Module
    Starts at $21.95
    SHT21 Humidity and Temp Sensor
    Starts at $4.00
    Pressure Sensor (MPXV)
    Starts at $4.95
    Theremin Merit Badge
    Starts at $4.50
    Relay Plug
    Starts at $4.00
    LEDs (Super-Bright)
    Starts at $2.50
    LCD Character Displays
    Starts at $7.00
    RGB LED
    Starts at $0.50
    Arduino Leonardo
    Starts at $25.00
    Arduino WiFi Shield
    Starts at $90.00
    Arduino Wireless SD Shield
    Starts at $30.00
    Arduino Mega 2560
    Starts at $55.00

    Recently Viewed

    Recent News & Updates

    • Maker Faire San Mateo 2012
    • New Fluxamasynth Library
    • PIR sensors and LEDs galore
    • HMC5883 3-Axis Compass launched.
    • 2 Second Arduino Bootloader
    Home / News / 2 Second Arduino Bootloader

    2 Second Arduino Bootloader

    The Arduino "write bootloader" option is slow. Why?
    When writing the fuses to the AVR for the first time, the bitclock needs to be at ~200KHz. 

    After that, you can crank the speed all the way up to 4MHz.

    The option for this is -B, and it's not particularly well documented; lfmorrison on the AVRdude forums says:
    "note that the feature of setting SCK duration is only available in avrdude if you're using an AVRISP with 2.xx firmware. In that case, the SCK duration, in microseconds, is specified after the parameter -B. (eg. -B 1000 would be a request for a bit clock of 1000 microseconds, or 1 millisecond, or a SCK frequency of 1 kHz. The parameter closest to the desired frequency, without exceeding it, will be chosen.) 

    If you're using version 1.xx firmware, avrdude doesn't know about setting the bitrate. You'd have to either:
    1) Use different programming software that does support setting the ISP SCK Duration parameter in version 1.xx of the firmware, or
    2) Upgrade the AVRISP firmware to version 2.xx inside AVR Studio first, or
    3) Modify the avrdude source code to attempt to adjust the STK500 ISP SCK Duration parameter using the -B command-line option, using the implementation from STK500v2 as a guide. (keeping in mind that the translation from SCK parameter to physical SCK frequency is probably different in the two firmware versions...)"

    So we run:

    Written by Noah Bedford on October 07, 2010

     

    Shipping Info Distributors Thanks for visiting Modern Device! Your questions and feedback are welcome: support@moderndevice.com

    © 2013 Modern Device.