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
FPGA
  • Technologies
  • More
FPGA
Forum Arty A7- 35T DDR3 implementation in Vivado 2020.2
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 7 replies
  • Subscribers 557 subscribers
  • Views 3085 views
  • Users 0 members are here
Related

Arty A7- 35T DDR3 implementation in Vivado 2020.2

Jonathan101
Jonathan101 over 2 years ago

Hi!

I built a design in Vivado which consists of microblaze [Arty-A7 35T] .

Due to the fact that I have very large workspace [.cpp, .h files], i also use ddr [ MIG] to the design [With configurations as default].

However, after exporting .xsa to Vitis and build my workspace, I got weird errors:

  • getchar() isn't working
  • variables that suddenly change their value without meaning
  • after main() ends, it start from the beginning

i suspect all of this is related to memory.

i configure in lscript.ld file on Vitis heap and stack to be 0x2000

Is there some microblaze or ddr configuration that need to be done in Vivado in order to make Vitis code to work smoothly?

Thanks in advance.

 My design is based on this webpage:  https://medium.com/@caglayandokme/extending-the-memory-limits-of-microblaze-with-an-external-ddr-6c896e75c218

  • Sign in to reply
  • Cancel

Top Replies

  • javagoza
    javagoza over 2 years ago +3
    A few months ago I did a tutorial using the Arty S7 50 following the advice of the Digilent tutorials. I think it can help you: Arty S7 50 First Baremetal Software Project
  • javagoza
    javagoza over 2 years ago in reply to javagoza +2
    This is one of the configurations that worked for me with the linker script generator for this other project that required large arrays Arty S7 50 VGA Thermal Imaging Camera
  • flyingbean
    flyingbean over 2 years ago +1
    You might need to optimize getchar() with Xilinx's APIs. Please check this forum from Xilinx: support.xilinx.com/.../how-to-input-characters-from-console-why-getchar-works-not-properly
Parents
  • flyingbean
    flyingbean over 2 years ago

    You might need to optimize getchar() with Xilinx's APIs. Please check this forum from Xilinx:

    support.xilinx.com/.../how-to-input-characters-from-console-why-getchar-works-not-properly

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Jonathan101
    Jonathan101 over 2 years ago in reply to flyingbean

    My friend, i ask for application note which explain how to connect microblaze and DDR. I think wrong hw connection is causing me memory problems in the code.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Jonathan101
    Jonathan101 over 2 years ago in reply to flyingbean

    My friend, i ask for application note which explain how to connect microblaze and DDR. I think wrong hw connection is causing me memory problems in the code.

    • Cancel
    • Vote Up 0 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