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 Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MiniZed Hardware Design MiniZed SW Lab 05 produces no output
  • 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
  • Replies 1 reply
  • Subscribers 323 subscribers
  • Views 631 views
  • Users 0 members are here
Related

MiniZed SW Lab 05 produces no output

embeddeddesigner
embeddeddesigner over 5 years ago

Hello fellow miniZed users!

 

I use a Windows 10 workstation with Vivado 2017.4 and Xilinx SDK 2017.4 to  program my MiniZed.  After testing the Wifi as described in the "MiniZed Getting Started Guide":

  • http://zedboard.org/sites/default/files/documentations/MiniZed-GSG-v1_2.pdf

 

and getting "Tutorial 02 First Application - Hello World" working, I started working my way through the SW Labs at:

  • http://zedboard.org/course/developing-zynq-software-vivado-20171-and-20174

 

(I downloaded the files for SDK 2017.4).

 

In SW Lab 05, experiment 1, step 7, where you re-programmed the PL.  The blue 'Done" LED started out blue and stayed blue, and I did see the message:

  11:02:44 INFO  : FPGA configured successfully with bitstream "C:/Speedway/ZynqSW/2017_4/SDK_Workspace2/hw_platform_0/System_wrapper.bit"

 

I then plunged into experiment 2, where you download and run the Hello_Zynq application. Nothing deviates from the notes until I get to then end of step 5, where nothing appears in the Tera Term window.

 

I have gotten output on the terminal emulator in prior tests but not here. I am at a loss where to start troubleshooting this problem.

 

I will paste in that part of my SDK.log file that was written today:

 

09:03:09 INFO  : Registering command handlers for SDK TCF services

09:03:09 INFO  : Launching XSCT server: xsct.bat -interactive C:\Speedway\ZynqSW\2017_4\SDK_Workspace2\temp_xsdb_launch_script.tcl

09:03:12 INFO  : XSCT server has started successfully.

09:03:12 INFO  : Successfully done setting XSCT server connection channel 

09:03:14 INFO  : Successfully done setting SDK workspace 

11:02:41 INFO  : Connected to target on host '127.0.0.1' and port '3121'.

11:02:43 INFO  : 'targets -set -filter {jtag_cable_name =~ "Avnet MiniZed V1 1234-oj1A" && level==0} -index 1' command is executed.

11:02:44 INFO  : FPGA configured successfully with bitstream "C:/Speedway/ZynqSW/2017_4/SDK_Workspace2/hw_platform_0/System_wrapper.bit"

11:08:30 INFO  : 'targets -set -filter {jtag_cable_name =~ "Avnet MiniZed V1 1234-oj1A" && level==0} -index 1' command is executed.

11:08:30 INFO  : 'fpga -state' command is executed.

11:08:30 INFO  : Connected to target on host '127.0.0.1' and port '3121'.

11:08:30 INFO  : Jtag cable 'Avnet MiniZed V1 1234-oj1A' is selected.

11:08:30 INFO  : 'jtag frequency' command is executed.

11:08:30 INFO  : Sourcing of 'C:/Speedway/ZynqSW/2017_4/SDK_Workspace2/ZynqHW/ps7_init.tcl' is done.

11:08:30 INFO  : Context for 'APU' is selected.

11:08:30 INFO  : Hardware design information is loaded from 'C:/Speedway/ZynqSW/2017_4/SDK_Workspace2/ZynqHW/system.hdf'.

11:08:30 INFO  : 'configparams force-mem-access 1' command is executed.

11:08:30 INFO  : Context for 'APU' is selected.

11:08:30 INFO  : 'stop' command is executed.

11:08:31 INFO  : 'ps7_init' command is executed.

11:08:31 INFO  : 'ps7_post_config' command is executed.

11:08:31 INFO  : Context for processor 'ps7_cortexa9_0' is selected.

11:08:31 INFO  : Processor reset is completed for 'ps7_cortexa9_0'.

11:08:31 INFO  : Context for processor 'ps7_cortexa9_0' is selected.

11:08:31 INFO  : The application 'C:/Speedway/ZynqSW/2017_4/SDK_Workspace2/Hello_Zynq_2/Debug/Hello_Zynq_2.elf' is downloaded to processor 'ps7_cortexa9_0'.

11:08:31 INFO  : 'configparams force-mem-access 0' command is executed.

11:08:31 INFO  : ----------------XSDB Script----------------

connect -url tcp:127.0.0.1:3121

source C:/Speedway/ZynqSW/2017_4/SDK_Workspace2/ZynqHW/ps7_init.tcl

targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Avnet MiniZed V1 1234-oj1A"} -index 0

loadhw -hw C:/Speedway/ZynqSW/2017_4/SDK_Workspace2/ZynqHW/system.hdf -mem-ranges [list {0x40000000 0xbfffffff}]

configparams force-mem-access 1

targets -set -nocase -filter {name =~"APU*" && jtag_cable_name =~ "Avnet MiniZed V1 1234-oj1A"} -index 0

stop

ps7_init

ps7_post_config

targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Avnet MiniZed V1 1234-oj1A"} -index 0

rst -processor

targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Avnet MiniZed V1 1234-oj1A"} -index 0

dow C:/Speedway/ZynqSW/2017_4/SDK_Workspace2/Hello_Zynq_2/Debug/Hello_Zynq_2.elf

configparams force-mem-access 0

----------------End of Script----------------

 

11:08:31 INFO  : Memory regions updated for context APU

11:08:31 INFO  : Context for processor 'ps7_cortexa9_0' is selected.

11:08:31 INFO  : 'con' command is executed.

11:08:31 INFO  : ----------------XSDB Script (After Launch)----------------

targets -set -nocase -filter {name =~ "ARM*#0" && jtag_cable_name =~ "Avnet MiniZed V1 1234-oj1A"} -index 0

con

----------------End of Script----------------

 

11:08:31 INFO  : Launch script is exported to file 'C:\Speedway\ZynqSW\2017_4\SDK_Workspace2\.sdk\launch_scripts\xilinx_c-c++_application_(system_debugger)\system_debugger_using_debug_hello_zynq_2.elf_on_local.tcl'

 

Can anyone suggest what to test to narrow the field of culprits down?

  • Sign in to reply
  • Cancel

Top Replies

  • embeddeddesigner
    embeddeddesigner over 5 years ago +1
    I'm back with an update. While waiting on an answer, I leapfrogged this lab and started trying the others. One of them mentioned that the STDIN and STDOUT ports had to be manually assigned to ps7_uart_1…
Parents
  • embeddeddesigner
    embeddeddesigner over 5 years ago

    I'm back with an update.

     

    While waiting on an answer, I leapfrogged this lab and started trying the others.  One of them mentioned that the STDIN and STDOUT ports had to be manually assigned to ps7_uart_1 in the BSP because the wizard always defaulted them to ps7_uart_0. I then recalled that I had completed other Avnet MiniZed tutorials prior to finding the Speedway labs, and that these tutorials had directed me to create BSPs without telling me to edit them.  Both tutorials named the file standalone_bsp_0.  The uart0 BSP got this name first and the one I modified became standalone_bsp_1.  I then dug around inside and found I had created app Hello_Zynq with the wrong standalone_bsp.

     

    First I tried to modify standalone_bsp_0 to talk to the right UART but although I seemingly succeeded at changing it, the terminal remained blank. So I deleted everything and re-built both application project and BSP from scratch.  This worked.

     

    Since it came at such a high price (2 days effort), I decided to contribute this intellectual morsel to the MiniZed body of knowledge. Maybe it will help somebody else.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • embeddeddesigner
    embeddeddesigner over 5 years ago

    I'm back with an update.

     

    While waiting on an answer, I leapfrogged this lab and started trying the others.  One of them mentioned that the STDIN and STDOUT ports had to be manually assigned to ps7_uart_1 in the BSP because the wizard always defaulted them to ps7_uart_0. I then recalled that I had completed other Avnet MiniZed tutorials prior to finding the Speedway labs, and that these tutorials had directed me to create BSPs without telling me to edit them.  Both tutorials named the file standalone_bsp_0.  The uart0 BSP got this name first and the one I modified became standalone_bsp_1.  I then dug around inside and found I had created app Hello_Zynq with the wrong standalone_bsp.

     

    First I tried to modify standalone_bsp_0 to talk to the right UART but although I seemingly succeeded at changing it, the terminal remained blank. So I deleted everything and re-built both application project and BSP from scratch.  This worked.

     

    Since it came at such a high price (2 days effort), I decided to contribute this intellectual morsel to the MiniZed body of knowledge. Maybe it will help somebody else.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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