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. Hardware
  3. Status of pins during bootloader

Status of pins during bootloader

Scheduled Pinned Locked Moved Hardware
3 Posts 2 Posters 1.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.
  • AndurilA Offline
    AndurilA Offline
    Anduril
    wrote on last edited by
    #1

    Hi @all, specially @tekka,

    I have a project including a LED dot matrix display. I use the MYSbootloader to have a convenient way of updating firmware. Now I was on a try to increase the brightness of the LEDs and go beyond the stated current maximum. During operation thats no problem as I have a row multiplexing of 1/16. Only problem I see arising is when the bootloader starts. At this moment all my multiplexing pins are low, so only one row is lit up. Having the OE pin of my driver chip (74HC595) active low, this is also active and displays something. With higher current than rated, this might burn the LEDs and the complete display would be ruined.
    I thought of adding a pullup on the OE line, but that depends on the state of the pin during bootloader. If it is configured as output at standard, this will not work. If it's configured as input this might work.
    The other way would be to add a MOSFET or anything like that to disconnect the OE pin from my driver chip and than add a pullup resistor. But that is way more effort, so any tips is welcome.

    Y 1 Reply Last reply
    0
    • AndurilA Anduril

      Hi @all, specially @tekka,

      I have a project including a LED dot matrix display. I use the MYSbootloader to have a convenient way of updating firmware. Now I was on a try to increase the brightness of the LEDs and go beyond the stated current maximum. During operation thats no problem as I have a row multiplexing of 1/16. Only problem I see arising is when the bootloader starts. At this moment all my multiplexing pins are low, so only one row is lit up. Having the OE pin of my driver chip (74HC595) active low, this is also active and displays something. With higher current than rated, this might burn the LEDs and the complete display would be ruined.
      I thought of adding a pullup on the OE line, but that depends on the state of the pin during bootloader. If it is configured as output at standard, this will not work. If it's configured as input this might work.
      The other way would be to add a MOSFET or anything like that to disconnect the OE pin from my driver chip and than add a pullup resistor. But that is way more effort, so any tips is welcome.

      Y Offline
      Y Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @Anduril IO Pins are configured as inputs after reset of the ATMega. I don't think (apart from the LED pin) the bootloader is changing any of these.
      If you want to force a pin into a certain state right after reset (when it's still configured as input) you can connect an external pull-up/pull-down resistor. This makes sure the signal on the IO pin has a defined state when not controlling it (e.g. attach a pull-up to the OE line to disable the outputs).

      http://yveaux.blogspot.nl

      1 Reply Last reply
      0
      • AndurilA Offline
        AndurilA Offline
        Anduril
        wrote on last edited by
        #3

        @Yveaux thats what I was thinking about. Thanks for confirming.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        15

        Online

        12.0k

        Users

        11.2k

        Topics

        113.4k

        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