element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Ultra96 Hardware Design How to power up when power applied
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 7 replies
  • Answers 1 answer
  • Subscribers 350 subscribers
  • Views 1531 views
  • Users 0 members are here
Related

How to power up when power applied

Former Member
Former Member over 7 years ago

I have an embedded application in mind for the ultra96 board that requires booting automatically when power is first applied.  I believe in the 96boards specification (consumer boards, low cost, rev 1.0 2015 pg. 10) says that that boards should either have a switch that manually control power to them or boot automatically at first application of power if they are using a soft power switch.

I tried to find a way to power up and boot automatically in the user guide and by looking in the schematics but there didn't seem to be a way to do it.

In the schematic there are two 0 ohm resistors on the power_en line going to CTL4 input of the TPS6508641: R161 and R56.  Usually 0 ohms are there for config. purposes.

There's also an I2C interface to the TPS6508641 part.  Does the part have the ability to be configured over the I2C bus through the OS ?

Board power-up/boot when power is first applied is very common and necessary for embedded applications.  Hopefully there's a way to do this on the current boards and if not this feature will be added on the next revision if not.

  • Sign in to reply
  • Cancel
Parents
  • ctammann
    0 ctammann over 7 years ago

    To my knowledge we can't support hard power up without some external modification. The reason is we use a power controller that holds the Zynq in reset during power up and also controls power down to make sure the flash doesn't get corrupted.

    That being said, the power button output is connected to J7 pin 4, which is the larger expansion header on the board. You can't simply hard wire it to GND, which I tried first, because the power controller looks for a falling edge on that input to turn on power. You could wire in an external circuit that grounds that pin after power is applied, but again with the board hardware this isn't supported without some external trickery. The reason for the soft power button on this platform is that we run things from flash (fogive me if I get some of this wrong, I'm the power guy and I'm going by memory of what my colleagues told me). If you remove power without proper shut down you can corrupt the file system. If you decide to try and mock something up using the J7 access, please be mindful of protecting the file system from hard shut down. I hope this is helpful.

    thanks

    Chris

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • ctammann
    0 ctammann over 7 years ago

    To my knowledge we can't support hard power up without some external modification. The reason is we use a power controller that holds the Zynq in reset during power up and also controls power down to make sure the flash doesn't get corrupted.

    That being said, the power button output is connected to J7 pin 4, which is the larger expansion header on the board. You can't simply hard wire it to GND, which I tried first, because the power controller looks for a falling edge on that input to turn on power. You could wire in an external circuit that grounds that pin after power is applied, but again with the board hardware this isn't supported without some external trickery. The reason for the soft power button on this platform is that we run things from flash (fogive me if I get some of this wrong, I'm the power guy and I'm going by memory of what my colleagues told me). If you remove power without proper shut down you can corrupt the file system. If you decide to try and mock something up using the J7 access, please be mindful of protecting the file system from hard shut down. I hope this is helpful.

    thanks

    Chris

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 7 years ago in reply to ctammann

    I didn't see the powerbutton connection to the J7 pin 4.  Thanks for pointing that out.  I can add a circuit to the carrier card that will toggle that pin after a delay enabling the system to boot at power up.

    The risk of SD card corruption is always possible if the power fails during a write.  In rare cases it can actually brick the card.  Some cards have an internal remap table for wear leveling.  If that table gets corrupted it can take special s/w and even a special programmer to fix the card.  Most cards are designed to finish critical internal writes if a power failure occurs, but some don't.  User data is a different stoy.  It's up to the OS to handle that properly. The embedded OS (LInux) is using Ext4 on the card for the main filesystem.  Ext4 is a journaling filesystem that handles power failures causing partial writes fairly well. 

    Part of doing and embedded design is figuring out how to let the OS know the power is failing and providng it enough time to shut down.  It's why they sell micro UPS units for things like the Raspberry PIs and other embedded systems.

    The 96boards standard requires boards to be able to boot from power applied even if they have soft power buttons.   So you may want to think about enabling this in future versions of this board.  You can still have the soft power down, but you should have a way to enable the board to boot on power application.  

    Thank you again for your comments and pointing out the J7 pin 4.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube