Sorry, you need to enable JavaScript to visit this website.

Application fails to run due to the buffer size

Unsolved
4 posts / 0 new
jjlin319's picture
jjlin319
Junior(0)
Application fails to run due to the buffer size

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 ?

TroutChaser's picture
TroutChaser
Moderator(18)
Please do not make duplicate

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

jjlin319's picture
jjlin319
Junior(0)
Hi Gary

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

TroutChaser's picture
TroutChaser
Moderator(18)
There are Vivado 2014.2

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