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
Using Xilinx Tools Forum Debugging a Linux Application on microZed using TCF
  • 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 Not Answered
  • Replies 6 replies
  • Subscribers 336 subscribers
  • Views 649 views
  • Users 0 members are here
Related

Debugging a Linux Application on microZed using TCF

Former Member
Former Member over 10 years ago

Hello,

Has anyone gotten TCF working to debug a Linux application on the microZed?  I am using the Xilinx OSL version that is available off of the microZed.org website ( http://microzed.org/sites/default/files/documentations/MicroZed_Linux_sd_image_v1_1_131212.zip ).  It does ship with the gdbserver, however does not appear to have the tcf-agent application ( not surprising, since it appears that that archive is from December 2013, and Xilinx didn't fully embrace TCF until after that ).

I have come across this howto:

http://www.xilinx.com/support/documentation/sw_manuals/xilinx14_7/SDK_Doc/tasks/sdk_t_linux_application_debugging_system_debugger.htm

... which appears to be exactly what I want.  However i do not have the tcf-agent application, thus SDK can not connect to anything.

I am using Vivado 2014.4.

Any insight is much appreciated.

Thanks,

-TD

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 10 years ago

    Hi Tim,

    You are right, that MicroZed image is older and does not have tcf-agent running.

    My recommendation is to use the 2014.4 Linux release from Xilinx:

    http://www.wiki.xilinx.com/Zynq+2014.4+Release

    That OSL archive contains a target for ZedBoard which can be modified for MicroZed by bringing your own hardware platform definition, FSBL, and bitstream.  Then if you modify the devicetree to match MicroZed hardware you should be able to reuse the same rootfs and kernel.

    I tried that 2014.4 OSL release on ZedBoard just now and I was able to confirm connection to the TCF agent from 2014.4 SDK by running the hello_linux template application.

    The howto that you reference for 14.7 is pretty close to the steps needed to get this working.  I set my ZedBoard to 192.168.2.10 and my PC to 192.168.2.100 and connected using the connection setting "TCP:192.168.2.10:1534" from the SDK application Debug Configuration window.

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to zedhed

    Awesome!  Thanks Kevin.  A bit more work than I was thinking I was going to be getting into, but shouldn't be too bad.

    The last time I built up a full systme was in 2013.3 ... any chance you could point me to the updated docs for the flow from Vivado -> SDK?

    Thanks!

    -TD

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zedhed
    0 zedhed over 10 years ago

    Hi Tim,

    You SHOULD be able to use your old FSBL and bistream and simply tie them to the U-boot included in that Xilinx OSL archive to create the new BOOT.BIN boot image file.

    If you want to go all the way and build the new hardware platform, we have an updated version of the Zynq Hardware and Software SpeedWays in the training section of this site.  Those trainings have hands-on lab documents which cover the entire 2014.4 design flow.

    If you want something more brief, you can use the latest Xilinx Zynq Concepts, Tools, and Techniques document for reference but the latest version of that is Vivado 2014.2.

    http://zedboard.org/support/design/1521/11

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to zedhed

    Kevin,

    This is great to hear.  Could you help me find the updated 2014.4 version of the speedway I'm looking for?  I only see speedways for 2013.4 and 2014.1.

    Preferably I would like to build the system up myself so I know whats going on, but I suppose I could make some short-cuts to demonstrate POC.

    Thanks,

    -TD

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to zedhed

    Never mind, I believe I found there here:

    http://zedboard.org/course/developing-zynq%C2%AE-7000-all-programmable-soc-software-vivado-20133-and-201441

    Is that correct?

    Thanks,

    -TD

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zedhed
    0 zedhed over 10 years ago

    Hi Tim,

    Yes those files on the page you linked to are the ones you want.  There is a 2013.3 version and a 2014.4.1 version which is for the Vivado 2014.4 with the .1 update of the Vivado tools in place.

    Regards,

    -Kevin

    • 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