Machxo3d™ Dual Boot Demo

Machxo3d™ Dual Boot Demo

MachXO3D™ Dual Boot Demo User Guide FPGA-UG-02068-1.0 October 2018 MachXO3D™ Dual Boot Demo User Guide Contents Acronyms in This Document ................................................................................................................................................. 4 Introduction .................................................................................................................................................................. 5 1.1. Demo Overview ................................................................................................................................................... 5 1.2. MachXO3D Development Board and Resources ................................................................................................. 6 1.3. MachXO3D Devices Boot Mode Options ............................................................................................................. 7 Demo Package .............................................................................................................................................................. 8 2.1. Hardware Requirements ..................................................................................................................................... 8 2.2. Software Requirements ...................................................................................................................................... 8 Demo Package Directory Structure ............................................................................................................................... 9 Prepare the Demo....................................................................................................................................................... 10 4.1. Prepare the Hardware and Software for the Demo .......................................................................................... 10 4.2. Program the Image to Internal Flash A ............................................................................................................. 10 4.3. Program the Image to Internal Flash B .............................................................................................................. 11 4.4. Create Dual Boot File for External SPI Flash ...................................................................................................... 12 4.5. Program the Bitstream to External SPI Flash .................................................................................................... 16 Run the Demo ............................................................................................................................................................. 18 5.1. EXT-CFG0 Dual Boot Demo ................................................................................................................................ 18 5.2. CFG0-EXT Dual Boot Demo ................................................................................................................................ 20 5.3. CFG0-CFG1 Dual Boot Demo ............................................................................................................................. 21 5.4. EXT-CFG1 Dual Boot Demo ................................................................................................................................ 21 5.5. CFG1-EXT Dual Boot Demo ................................................................................................................................ 22 5.6. CFG1-CFG0 Dual Boot Demo ............................................................................................................................. 22 5.7. Ping-pong Dual Boot Demo - Check Version and Boot from the Former Version ............................................. 23 5.8. Ping-pong Dual Boot Demo - Check Version and Boot from the Latter Version ............................................... 24 5.9. EXT-EXT Dual Boot Demo .................................................................................................................................. 24 References .......................................................................................................................................................................... 26 Lattice Semiconductor Documents ................................................................................................................................. 26 Technical Support ............................................................................................................................................................... 27 Revision History .................................................................................................................................................................. 28 © 2018 Lattice Semiconductor Corp. All Lattice trademarks, registered trademarks, patents, and disclaimers are as listed at www.latticesemi.com/legal. All other brand or product names are trademarks or registered trademarks of their respective holders. The specifications and information herein are subject to change without notice. 2 FPGA-UG-02068-1.0 MachXO3D™ Dual Boot Demo User Guide Figures Figure 1.1. Boot Image Locations for the MachXO3D Development Board ......................................................................... 6 Figure 1.2. MachXO3D Development Board ......................................................................................................................... 6 Figure 3.1. Demo Package Directory Structure .................................................................................................................... 9 Figure 4.1. Load Configuration File for Programming Internal Flash A ............................................................................... 10 Figure 4.2. Set Device Properties for Programming Internal Flash A ................................................................................. 11 Figure 4.3. Load Configuration File for Programming Internal Flash B ............................................................................... 11 Figure 4.4. Set Device Properties for Programming Internal Flash B ................................................................................. 12 Figure 4.5. Generate Dual Boot File for External Memory ................................................................................................. 13 Figure 4.6. Select Input Files (1).......................................................................................................................................... 13 Figure 4.7. Select Input Files (2).......................................................................................................................................... 14 Figure 4.8. Dual Boot Options ............................................................................................................................................. 15 Figure 4.9. Define Output File............................................................................................................................................. 15 Figure 4.10. Generate Deployment .................................................................................................................................... 16 Figure 4.11. Loading Configuration File for Programming External SPI Flash..................................................................... 16 Figure 4.12. Setting Device Properties for External SPI Flash ............................................................................................. 17 Figure 5.1. Load Configuration File for Feature Row Update ............................................................................................. 18 Figure 5.2. Feature Row Update ......................................................................................................................................... 19 Figure 5.3. Feature Row Settings for EXT-CFG0 Dual Boot Mode....................................................................................... 19 Figure 5.4. Confirm Overwrite Register .............................................................................................................................. 20 Figure 5.5. Feature Row Settings for CFG0-EXT Dual Boot Mode....................................................................................... 20 Figure 5.6. Feature Row Settings for CFG0-CFG1 Dual Boot Mode .................................................................................... 21 Figure 5.7. Feature Row Settings for EXT-CFG1 Dual Boot Mode....................................................................................... 21 Figure 5.8. Feature Row Settings for CFG1-EXT Dual Boot Mode....................................................................................... 22 Figure 5.9. Feature Row Settings for CFG1-CFG0 Dual Boot Mode .................................................................................... 23 Figure 5.10. Feature Row Settings for Former Version as Primary Dual Boot Mode ......................................................... 23 Figure 5.11. Feature Row Settings for Latter Version as Primary Dual Boot Mode............................................................ 24 Figure 5.12. Feature Row Settings for EXT-EXT Dual Boot Mode ....................................................................................... 24 Figure 5.13. Set Device Properties for External SPI Flash to Disrupt Primary Pattern........................................................ 25 Tables

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    29 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us