Home    Bloggers    Messages    Webinars    Resources   
Tw  |  Fb  |  In  |  Rss
Adam Taylor

Adam Powers Up His Zynq ZedBoard, Part 2

Adam Taylor
Page 1 / 2   >   >>
Karl
Karl
3/27/2013 12:02:35 PM
User Rank
Guru
Re: First steps
@Steel:  I agree with Adam's comment.  I would like to add a thought, and that is to understand the concept of drivers, memory mapped IO and DMA so your bare metal implementation will be compatable when integrated with the RTOS.

Just something simple like some code that calls your driver code that in turn communicates with the hardware via MMIO to start and later to read status after the hardware completes and signals an interrupt.  Of course the driver can use a polling loop to read status and determine if it should interact with the hardware.

System design is fun because you have to make a lot of things work together.  Start basic and evolve and iterate to grow the system is a good approach.

50%
50%
Adam Taylor
Adam Taylor
3/27/2013 9:33:27 AM
User Rank
Blogger
Re: First steps
That is a very interesting concept.

I think a bare metal system is a good place to start and understand the flow to build up your PS and PL system.

You will eventually need a operating system once you have implemented your SoC design as you want and have proved it all functions corretly. Have you looked at the http://micrium.com/rtos/ OS it will probably be of more use than Linux for your application.

Max (the editor in Chief) has a little back log my blogs following the ADC which has two more part, parts 9 to 11 will look at creating your own perhiperal within the PL and integrating it with the Zynq and writing the code to drive it as desired. I had then planned on part 12 onward implementing this operating system hopefullythis will be of use.

 

  

50%
50%
Steel Neuron
Steel Neuron
3/27/2013 8:56:06 AM
User Rank
Beginner
Re: First steps
I have to design and implement something similar to a RCS control architecture ( http://www.nist.gov/el/isd/rcs.cfm ) making use of the hardware. It is basically a control architecture that employs several layers of nodes, the ones in the bottom serving as sensors/actuators, with high frequency, and as you go up the tree, tactical and strategical decisions are taken on a longer time scale.


My plan is to use the PS to manage the architecture, and leave the heavy lifting for the PL (nodes would be instantiated there). The test application will have to do with labyrinth navigation and routing, but anything could do. I'd love to do some partial reconfiguration if possible.


The problem is, I'm a bit lost at the moment. At uni I have worked with VHDL and FPGA design, as well as software development, but the methods to design for an AP SoC, integrating everything, are new to me. I've decided to start making small bare metal applications rather than going the embedded Linux way, under the idea that I might learn more. Do you think this is a mistake?


Thank you very much for your interest!

 

50%
50%
Adam Taylor
Adam Taylor
3/27/2013 8:31:33 AM
User Rank
Blogger
Re: First steps
Glad it is being of use, it goes all the way up to part 6 here

http://www.programmableplanet.com/author.asp?section_id=2142&doc_id=260989&

What is your project?

50%
50%
Steel Neuron
Steel Neuron
3/27/2013 8:16:36 AM
User Rank
Beginner
Re: First steps
Beautiful tutorial! It's helping me a lot with my final degree project.


One small thing: The last picture in the article seems to be linked wrongly, I assume it should be pointing at picture number 10, not 9.


Thank you!

50%
50%
William Murray
William Murray
12/20/2012 4:36:11 AM
User Rank
Blogger
Re: First steps
The real issue with anything complex, that violates KISS, is that one finds a Tool, Documentation or Silicon Errata that was a Test Escape  -- with the older Automotive Grade Xilinx Parts these are fairly well known by now -- with the 7 series and Zynq we are doing the post Beta shakedown with these designs -- In many ways we should try and press the parts to the limits and see where any aspect of them falls short so that we are able to count on them in the future.

50%
50%
hash.era
hash.era
12/20/2012 4:13:56 AM
User Rank
Clever Clogs
Re: First steps
KISS principle design is really good but Im finding some compatibility issues. Any experiances ?

50%
50%
geekyasa
geekyasa
12/17/2012 5:00:06 AM
User Rank
Beginner
Re: First steps
Very true Adam since if the design has any compatibility issues as such then the flow will get blocked and the user will find difficulties.

50%
50%
Adam Taylor
Adam Taylor
12/16/2012 5:29:51 PM
User Rank
Blogger
Re: First steps
I second this after any design changes it is well worth running the design rules checker just to ensure it is all ok. 

50%
50%
JezmoSSL
JezmoSSL
12/16/2012 12:33:11 PM
User Rank
Blogger
Re: First steps
One thing you have to be careful about is if you edit the MHS file outside EDK and it contains errors then EDK will refuse to open the project and just tell you very helpfuly that it wont open because there are errors in the MHS file.Things to look out for are you are calling the correct versions of IP cores, if you try to call an IP core version it cannot find the EDK sulks quite profoundly.

50%
50%
Page 1 / 2   >   >>
More Blogs from Adam Taylor
Here we discover how to use the XADC (Xilinx Analog-to-Digital Convertor) in the Zynq All Programmable SoC to read the chip's internal temperature and voltage parameters and output them over an RS-232 link.
Now it's time to consider how we can implement and use the Xilinx Analog to Digital Convertor (XADC) within a Zynq All Programmable SoC-based system.
The Zynq All Programmable SoC comes equipped with programmable analog capabilities that can be used in a wide variety of applications, including defense, industrial, and automotive systems.
This is the blog we've all been waiting for – the point where we finally create our very first, standalone, "bare metal" Zynq application!
In the case of a real-world use model, we want to store our software program and configuration bitstream in nonvolatile memory and configure the device after the power comes on.
flash poll
follow us on twitter
follow Xilinx on twitter
like us on facebook
like Xilinx on facebook
All Programmable Planet     About Us     Contact Us     Help     Register     Twitter     Facebook     RSS