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

tutorials for Ultra96 board

Zedboard forums is currently read-only while it under goes maintenance.

Unsolved
11 posts / 0 new
oguram3
Junior(0)
tutorials for Ultra96 board

I am afraid that there are not enough information about the usage of ULTRA96 under SDSOC. Will you be hurry to prepare tutorials below?
0.exmaple for 'hello world' through UART. (Including the version of software, version of the ULTRA96board,if any, and download location.)
1.example for GPIO assembling like LED blinking.
(How to assign gpio ports in vivado and how to recognize them under SDSOC)
2.example for I2C communication under SDSOC environment.
3.example for SPI communication.
(usage of SPI interface equipped with arm core, and usage of user-configured module inside of the FPGA resources.)
4.example for USB3 upstream and down stream.
5.example for matrix calculation and acceleration with FPGA.
(There is a series of tutorials about SDSOC in yutube https://www.youtube.com/watch?v=IZ1hG-CvCaM
but for beginners it is difficult to apply them to their own platforms.
So, It is very helpful to remake the above tutorials based on Ultra96 and announce them as soon as possible.
Thank you for your kind considerations.
 

oguram3
Junior(0)
PS tutorials for Ultra96 board

Dear Moderator,
While I read through the forum for Ultra96 developing board, my naïve questions will be sorted out as follows:
 
Category1: Step by step tutorials under PetaLinux BSP for Ultra96 with the emphasis on the usage of peripherals.
Read and Write sequence of peripherals such as GPIO, I2C, SPI, USB3 upstream and downstream , HMDI and SD Memory Card.
We also need comment lines for the usage of IO functions about arguments, and location of manuals.
May I have a tutorial including IO ports such as USB3, read matrix data from USB3 memory, make some matrix calculation, and send the result to
a host computer (downstream)?
(relatead with Board Definition file bug and Ultra96 Accessories by Bran, USB 3.0 peripherals By jbattles)
 
Category2:
SDSoC Speedway for Ultra96 including the handling of IO ports such as GPIO, I2C, SPI, USB3 upstream and downstream ,
HMDI and SD Memory Card.
Tutorials of read data from GPIO and data out to SPI port, for example, will be very helpful.
As for the Speedway for miniZED, we could not find how to access IO ports under SDSOC, though, we could use them under VIVADO and SDK,
where functions with suffix .h are generated automatically.
Where are include files with suffix .h under SDSOC? Are they embedded somewhere?
(SDSoC support by bkzshabbaz, SDSoC Speedway by zedman2000)
 
Category3:
Optimization of user written source code.
Suppose a user written source program under Linux is functional, I imagine that SDSOC can optimize it further.
If so, I expect that initial code for data transfer and matrix calculation which I asked
as the category 1 will be optimized under SDSoc environment using direct memory access and parallel arithmetic modules in the FPGA resources.
Thank you very much for your kind help,
 
 
 
 

oguram3
Junior(0)
Tutorials to reproduce Ultra96 getting started

Trying to make my question as concrete as possible,
Will you prepare a step by step tutorial how to prepare boot files under petalinux for 
'10 OpenAMP Matrix Multiplication' in the 'Ultra96 Getting Started Guid ',
probably from Vivado, SDK and SDX with petalinux?
http://zedboard.org/sites/default/files/documentations/Ultra96-GSG-v1_0.pdf
It is amazing that wifi is usable to connect both through SSID and teraterm in that demonstration.
It will be best to include read/write operation through USB3 up and down streams in the coming tutorial.
So that user can develop their own application with their PL parts and peripherals such as GPIO, SDcard, USBmemory, HostPC and wifi connections based on the Ultra96 board. Unless user can include their own FPGA parts, raspberry pi will be a better choice.
Thank you very much for your support,
 

fletch
Moderator(23)
Thanks for your suggestions!

Thanks for your suggestions! We are working on some additional collateral. We are working with Xilinx to develop an SDSoC platform, so look for that in the next few months. The Matrix Multiplication will be one of the first things that we provide.

Bryan

zesmu
Junior(0)
Ultra96 & SDx

Any chance for an .dsa file so we can use SDx on the Ultra96?

zedman2000
Moderator(10)
The DSA file for the bare

The DSA file for the bare metal / stand alone design is included in the platform.  If you follow the design flow, you will see that you can generate that yourself.  We do not post this file as it is a very simple exercise to create.

--Dan

JFoster
Moderator(75)
Hello zesmu,

Hello zesmu,

At this time there is no plan for a .dsa file.

--Josh

stran
Junior(0)
Sharing experiences

Yesterday I performed tutorials : 01 and 02 under Windows 10, vivado 2018.2.1 and Avnet USB-to-JTAG/UART Pod (received this week).
Everything worked fine. So all my hardware developpement is ready.
Few notes :
1) For the first time, the step 12 of the tutorial 02 (figure 22), Programing FPGA seemed not work. The JTAG link could not find the FPGA device at the hardware server 127.0.0.1 port 3221. After (re)checking everything (even through Vivado task FPGA Programm), the problem was still there. In fact, mysteriously, when I unpluged and repluged the USB male connector of the Pod from my PC, the problem was disappeared. Now it works each times.
2) Mysteriously the "hello world" is not displayed on SDK terminal but it display on Terminal 1 which could be activated by doing Window > Show View > Other > Terminal  from SDK menu.
3) Is it normal I have two available PORTsCOMs when I plug the POD to the PC?   

JFoster
Moderator(75)
Hello Stran,

Hello Stran,

The Jtag/Uart pod should only enable a single COM. However by default my PC has 2 COM ports enabled by default even without the JTAG Pod plugged in. Perhaps that is was you are seeing? Try taking a look at the COM ports in your device manager.

--Josh

stran
Junior(0)
Hello Josh,

Hello Josh,
yes I checked the two portsComs available from device manager. When the Pod is unplugged there is no PortCom in the list of device manager and when plugged there are two PortComs in that. That is strange ... maybe a bug with Windows 10 with ftdi drivers. Thank for your answer.

zedman2000
Moderator(10)
Sorry for posting a second

Sorry for posting a second time, I neglected a link to the tutorial:

http://ultra96.org/support/design/24166/156

Search for: "SDSoC Platform Support Packages"

--Dan