element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Software Application Development Application fails to run due to the buffer size
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 175 subscribers
  • Views 80 views
  • Users 0 members are here
Related

Application fails to run due to the buffer size

Former Member
Former Member over 9 years ago

Hi guys: 
  I'm testing the power consumption of the processor running a program written by a friend on zedboard. In my hardware design (vivado), I only add the PS core so that I can get a good measurement from J21 and also I unchecked almost everything except the UART 0 in MIO configuration.
  I export the hardware to SDK, and add the source file. However, but I found out that the program would not run due to the large buffer size (he has buffer size as big as 11520). Is there anything I need to adjust in my hardware setting to fix this ? Any hints ?

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Please do not make duplicate posts with the same question. I have deleted the duplicate post.

     

    How have you determined that program will not run due to the large buffer size? Are you getting any output on your terminal? UART1, not UART0 is the one connected to the USB to UART device.

     

    You will need to provide a little more information for any useful response.

    What version of the Xilinx tools are you using?

    What is your host OS?

    Where in memory have you located the buffer at issue and how does your program access or use the buffer?

     

    -Gary

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

    Hi Gary
    Sorry about the re-post. After numerous rechecks, the large buffer size is actually not the problem. Instead, it's because that I turned off the DDR and it would only allow me to run an application not bigger 128k.
        What I'm trying to do right now is to run this application without OS so that I can measure the voltage change from the current sensor.I've tried just by enabling the DDR again, but apparently, there are other configurations need to be done in order to do this. Pls, help me out here.
      Host OS: Windows 7
      Xilinx tool: vivado 2014.2 and SDK 2014.2 

    Thanks
    JJ

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

    There are Vivado 2014.2 versions of the tutorials for the MicroZed boards. While they target the MicroZed board you should be able to run them by just selecting the ZedBoard instead of the MicroZed at that step in the tutorial. Tutorials 01 and 02 should get you the configured Zynq Processing System you need. Once you have tested your setup with the Hello World application you can import your application into your SDK project.

     

    -Gary

    • 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 © 2023 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