Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Optiboot to Arduino UNO R3 via USBTinyISP

Optiboot to Arduino UNO R3 via USBTinyISP

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 4 Posters 4.0k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dakkyD Offline
    dakkyD Offline
    dakky
    wrote on last edited by dakky
    #1

    Greeting

    another noobish question :D
    i need some more space for my sketch (trying to push the MQTTClientGateway sketch),
    So i thought trying optiboot is a good idea.
    BUT: after some hours of searching I have the usbtinyisp connected with the uno, finally found the right location where to boot the optiboot files for the arduino IDE and ... a breaker:

    I don't have the choise to select a optiboot arduino uno board:
    screenie.png

    What do I have to do now in order to flash the new bootloader?

    Thx
    Dakky

    Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
    Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

    Software: MySensors 2.0development

    1 Reply Last reply
    0
    • FotoFieberF Offline
      FotoFieberF Offline
      FotoFieber
      Hardware Contributor
      wrote on last edited by
      #2

      The easiest way for me as to use an ArduinoISP with http://www.gammon.com.au/bootloader

      Then I choose Arduino Uno or Lillypad in the ArduinoIDE.

      If you have built an ArduinoISP, you can program your sketch without a bootloader (Datei -> Hochladen mit Programmer) and use the space of the bootloader for your sketch.

      1 Reply Last reply
      0
      • dakkyD Offline
        dakkyD Offline
        dakky
        wrote on last edited by
        #3

        hmm i don't have another arduino to program my gateway :(
        Can't imagine, that it it that hard, to burn a new bootloader with the usbtiny, which is a very common piece of hardware :S

        Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
        Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

        Software: MySensors 2.0development

        blaceyB 1 Reply Last reply
        0
        • dakkyD dakky

          hmm i don't have another arduino to program my gateway :(
          Can't imagine, that it it that hard, to burn a new bootloader with the usbtiny, which is a very common piece of hardware :S

          blaceyB Offline
          blaceyB Offline
          blacey
          Admin
          wrote on last edited by
          #4

          @dakky You either need to change the boards.txt file to point to the optiboot bootloader for the Uno so the IDE "Burn Bootloader" will flash with optiboot or you can burn it using avrdude from the command-line using Terminal. Google avrdude burn optiboot and you should find plenty of information.

          1 Reply Last reply
          0
          • C4VetteC Offline
            C4VetteC Offline
            C4Vette
            wrote on last edited by
            #5

            Doesn't the UNO already has the optiboot loader standard?
            See: https://github.com/Optiboot/optiboot

            1 Reply Last reply
            0
            • dakkyD Offline
              dakkyD Offline
              dakky
              wrote on last edited by
              #6

              Mine is about 2 years old. So im not sure about this. If this is the case, i habe another problem. I cant upload the mqqtclientgatway sketch with debug on.

              Controller: Raspberry Pi 2 :: Openhab2 :: with @TimO MySensors Binding
              Gateway: Arduino MEGA 2560 R3 :: W5100 :: Ethernet GW

              Software: MySensors 2.0development

              blaceyB 1 Reply Last reply
              0
              • dakkyD dakky

                Mine is about 2 years old. So im not sure about this. If this is the case, i habe another problem. I cant upload the mqqtclientgatway sketch with debug on.

                blaceyB Offline
                blaceyB Offline
                blacey
                Admin
                wrote on last edited by
                #7

                @dakky The following posts should provide enough guidance and examples for flashing your UNO with optiboot. You will need to specify -c usbtiny to avrdude to use your USBTinyISP3.

                http://www.instructables.com/id/Flashing-bootloader-into-Arduino-UNO-R3/

                http://forum.arduino.cc/index.php?topic=57795.msg415941#msg415941

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                12

                Online

                11.7k

                Users

                11.2k

                Topics

                113.0k

                Posts


                Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • MySensors
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular