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. General Discussion
  3. ICSP programmer

ICSP programmer

Scheduled Pinned Locked Moved General Discussion
7 Posts 3 Posters 1.3k 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.
  • dbemowskD Offline
    dbemowskD Offline
    dbemowsk
    wrote on last edited by
    #1

    So working with Arduino for the time that I have, all the programming of my MCUs that I have ever done has either been through a USB cable with my Uno, and with FTDI adapters with my pro minis. I have never actually done anything through an ICSP header. I have some questions on ICSP programming.

    First, is there a special ICSP programming adapter that is used, or can this be done using an FTDI adapter?

    Second, which I would guess is somewhat related to the first question, can I use the arduino IDE for ICSP programming? If this can be done with an FTDI adapter, do I select the board in the same way I do for uploading sketches?

    Third, I am assuming that this is the only way to set fuses and things. Do I just use the Arduino IDE for this, and if so, where do I find, or how do I define these settings to change them.

    Fourth, can I upload sketches through the ICSP header?

    And the last question, what are the big advantages if any to programming using the ICSP header?

    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

      Hi.

      1. yes you need a special adapter for ICSP. like usbasp. you can also use another arduino as programmer
        https://www.gammon.com.au/bootloader
      2. I think you can, but never tried. you need to change the programmer maybe. Else, in arduino ide, you can upload the bootloader using ICSP.
      3. yes fuses by ICSP. If you need to change fuses, you can do it in boards.txt in arduino core packages folder.
        you can also do it with avrdudess (fuses, or uploading compiled .hex), atmel studio etc.
        https://github.com/zkemble/AVRDUDESS
        and for fuses settings : http://www.engbedded.com/fusecalc/
      4. see 2 and 3
      5. ICSP is faster. ICSP is used:
      • for uploading a bootloader
      • for uploading sketches/fw if no bootloader required (so it saves the flash used by a bootloader)

      If you google, i think you'll find lot of infos ;)

      dbemowskD 1 Reply Last reply
      1
      • scalzS scalz

        Hi.

        1. yes you need a special adapter for ICSP. like usbasp. you can also use another arduino as programmer
          https://www.gammon.com.au/bootloader
        2. I think you can, but never tried. you need to change the programmer maybe. Else, in arduino ide, you can upload the bootloader using ICSP.
        3. yes fuses by ICSP. If you need to change fuses, you can do it in boards.txt in arduino core packages folder.
          you can also do it with avrdudess (fuses, or uploading compiled .hex), atmel studio etc.
          https://github.com/zkemble/AVRDUDESS
          and for fuses settings : http://www.engbedded.com/fusecalc/
        4. see 2 and 3
        5. ICSP is faster. ICSP is used:
        • for uploading a bootloader
        • for uploading sketches/fw if no bootloader required (so it saves the flash used by a bootloader)

        If you google, i think you'll find lot of infos ;)

        dbemowskD Offline
        dbemowskD Offline
        dbemowsk
        wrote on last edited by
        #3

        @scalz Thanks for the feedback. I knew I could google most all of this, but I figured that I probably wouldn't find the answers all in one place.

        Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
        Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

        1 Reply Last reply
        0
        • Nca78N Offline
          Nca78N Offline
          Nca78
          Hardware Contributor
          wrote on last edited by
          #4

          You can have a look at scalz' page about FOTA for usage of avrdudess.

          Do not worry with a specific programmer, just use a nano with the Arduino as ISP sketch.

          dbemowskD 1 Reply Last reply
          0
          • Nca78N Nca78

            You can have a look at scalz' page about FOTA for usage of avrdudess.

            Do not worry with a specific programmer, just use a nano with the Arduino as ISP sketch.

            dbemowskD Offline
            dbemowskD Offline
            dbemowsk
            wrote on last edited by
            #5

            @nca78 Will that sketch work on a pro mini also? I don't have any nanos in my parts box.

            Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
            Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

            Nca78N 1 Reply Last reply
            0
            • dbemowskD dbemowsk

              @nca78 Will that sketch work on a pro mini also? I don't have any nanos in my parts box.

              Nca78N Offline
              Nca78N Offline
              Nca78
              Hardware Contributor
              wrote on last edited by
              #6

              @dbemowsk yes it will, not sure with a 8MHz version though, I have never tried.

              dbemowskD 1 Reply Last reply
              0
              • Nca78N Nca78

                @dbemowsk yes it will, not sure with a 8MHz version though, I have never tried.

                dbemowskD Offline
                dbemowskD Offline
                dbemowsk
                wrote on last edited by
                #7

                @nca78 I have 3.3 and 5 volt versions, so I should be good

                Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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


                23

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                Posts


                Copyright 2025 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