element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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 Community
  • Products
  • Dev Tools
  • Avnet Boards Community
  • More
  • Cancel
Avnet Boards Community
Avnet Boards Blog Updating PMIC on UltraZed EV through the 2020.1 BSP!
  • Avnet Boards Blog
  • Forums
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Community to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: ctammann
  • Date Created: 4 Feb 2021 8:24 PM Date Created
  • Views 1305 views
  • Likes 2 likes
  • Comments 3 comments
  • infineon
  • ultrazed
  • avnet
  • ultrascale
  • xilinx
  • pmic
Related
Recommended

Updating PMIC on UltraZed EV through the 2020.1 BSP!

ctammann
ctammann
4 Feb 2021

We have now released the 2020.1 BSP for both Ultra96-V2 and UltraZed EV with the PMIC programming utility built in! For the purposes of this blog, I am going to provide instruction on how to simply download the 2020.1 BSP as an SDcard image. You will then need to use a program such as Etcher to create the SDcard from the image.

 

First download the appropriate image here - http://avnet.me/zedsupport

Click on the 2020.1 folder, then go to the Vitis_PreBuilt_Example folder. From here select the proper zip file for your platform

 

UltraZed EV - 2020p1_UZ7EV_EVCC_vadd.tar.gz

 

Note that for UltraZed EV this file assumes you are working with an Avnet UltraZed EV carrier board.

 

This news is exciting for me (and anyone who needs to update their boards) as you can now perform the update without a dongle, GUI software, config files or anything else! Also included in this BSP is the ability to issue a "sensors" command at the prompt that will return the status of all the supplies on the bus, returning info like voltage, current, temp, etc.

 

Below I will outline how to run the update. This example is running the update on the UltraZed EV platform:

 

root@uz7ev-evcc-2020-1:~# cd pmic-prog/
root@uz7ev-evcc-2020-1:~/pmic-prog# cd pmic-configs/
root@uz7ev-evcc-2020-1:~/pmic-prog/pmic-configs# ls
uz7ev-evcc_38060_0x18_171116.txt  uz7ev-evcc_5401_0x16_171116.txt  uz7ev-evcc_5401_0x19_171116.txt
uz7ev-evcc_38060_0x1B_171116.txt  uz7ev-evcc_5401_0x17_171116.txt  uz7ev-evcc_5401_0x1A_171116.txt
uz7ev-evcc_38060_0x1C_171116.txt  uz7ev-evcc_5401_0x17_190326.txt
root@uz7ev-evcc-2020-1:~/pmic-prog/pmic-configs#

image

 

root@uz7ev-evcc-2020-1:~/pmic-prog/pmic-configs# cd ..
root@uz7ev-evcc-2020-1:~/pmic-prog# ./pmic_prog detect 3
Version: 1.0

WARNING! Issuing a wrong command can damage your system!
You are about to detect available PMICs on bus 3.
Continue? [y/N] y

i2c devices: 0x16 0x17 0x18 0x19 0x1A 0x1B 0x1C 0x20 0x30 0x46 0x47 0x48 0x49 0x4A 0x4B 0x4C

Found IRPS5401 at address 0x16 (PMBus address = 0x46)
Found IRPS5401 at address 0x17 (PMBus address = 0x47)
Found IR38063 at address 0x18 (PMBus address = 0x48)
Found IRPS5401 at address 0x19 (PMBus address = 0x49)
Found IRPS5401 at address 0x1A (PMBus address = 0x4A)
Found IR38063 at address 0x1B (PMBus address = 0x4B)
Found IR38063 at address 0x1C (PMBus address = 0x4C)
root@uz7ev-evcc-2020-1:~/pmic-prog#

image

 

root@uz7ev-evcc-2020-1:~/pmic-prog# ./pmic_prog program 3 0x17 -i ./pmic-configs/uz7ev-evcc_5401_0x17_190326.txt
Version: 1.0

WARNING! Issuing a wrong command can damage your system!
You are about to program  device 0x17 on i2c bus 3.
Continue? [y/N] y

IRPS5401 successfully detected
USER MTP LEFT:
Next USER slot to use 10 ( 16 remaining slots )    <- **Note the remaining slots section, if this is zero you can't reprogram! It should not be zero as reprogramming this part should only be done for this fix**


WARNING! Issuing a wrong command can damage your system!
You are about to program IRPS5401 with data from './pmic-configs/uz7ev-evcc_5401_0x17_190326.txt' on USER slot 10.
This operation cannot be undone!
Continue? [y/N] y

Programming SUCCEEDED
You can now reboot the board, and verify the programming with the read-registers cmd
root@uz7ev-evcc-2020-1:~/pmic-prog#

image

 

And that's it! To check that it was successful you can read the registers to see if the current config matches the file you tried to program. In this case I created a dummy txt file named "newvcu.txt" to do the comparison to. The configuration that you used to program the part is located here "./pmic-configs/uz7ev-evcc_5401_0x17_190326.txt"

 

root@uz7ev-evcc-2020-1:~/pmic-prog# ./pmic_prog read-registers 3 0x17 -o newvcu.txt -i ./pmic-configs/uz7ev-evcc_5401_0x17_190326.txt
Version: 1.0

WARNING! Issuing a wrong command can damage your system!
You are about to read all registers on device 0x17 on i2c bus 3.
Continue? [y/N] y

IRPS5401 successfully detected
Current Datecode: MAR. 26
Input file Datecode: MAR. 26
The two datecodes are equal
Number of differences between current registers and input file: 0
root@uz7ev-evcc-2020-1:~/pmic-prog#

image

You should see 0 differences reported between files.

 

 

UltraZed-EV SOM  Buy Now

 

UltraZed-EV Kit  Buy Now

 

  • Sign in to reply

Top Comments

  • ctammann
    ctammann over 4 years ago in reply to ralphjy +1
    edits made, thanks again for the suggestion Ralph!
  • ctammann
    ctammann over 4 years ago in reply to ralphjy

    edits made, thanks again for the suggestion Ralph!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ctammann
    ctammann over 4 years ago in reply to ralphjy

    Hey Ralph,

     

    Thanks for posting! That is an excellent point, yes the sensors command is baked in as well. I'll edit the blog to include these points

    Thanks

    Chris

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • ralphjy
    ralphjy over 4 years ago

    Hi Chris,

     

    Great to see that this is officially released!

     

    A couple of comments

    1. You've mentioned this before, but it would be good to point out that there is a limit to the number of times that the PMICs can be reprogrammed (not that anyone would go crazy image....)
    2. Did you include the sensors utility in this build?  If so, it would be useful to mention that.  I'm not sure everyone has read Mario's posts about using it.

     

    -Ralph

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • 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