Thank you so much sir for uploading such videos.....very informative.....havestruggled two years back as no information ws provided on youtube much about zynq....this channel is just the one stop solution
@TheVipinkmenon I am a complete beginner on FPGA Can you please clarify where is micro USB cable connected for receiving and transmitting data? Is micro usb connected to laptop?
Can you please tell that if the zedboard is getting is getting automatically shutdown once the programming cable is connected then what could be the possible reason. On searching I found that replacing the cable could be a solution but I tried that and no progress.
Hi Vipin. Nice video. Thank you for sharing. I bought zedboard a week ago. I got a problem in the startup phase, when I connected zedboard with my pc. when both are connected, and the usb driver has been installed, the zedboard lcd should be on and some leds should be on as well. It did not happen to me. do you know what is probably wrong in my case here? thx
Dear Vipin, Thank you for the course. I am following the course. I have a question. I am using the xilinx ISE 14.7 software which works on oracle VB. I could not program the FPGA as I cannot detect any port of Xilinx SDK terminal. I have tried the following. 1. Installing cable drivers. (C:\Xilinx\Vivado\2022.2\data\xicom\cable_drivers t64) -> Install_drivers as admin. 2. Tries to uninstall exiting drivers and reinstall them. 3. Tried to add myself to dialout group In the process, of installing cable drivers, I received following message. (INFO: InstallPath="C:\Xilinx\Vivado\2022.2\data\xicom\cable_drivers t64\" windrvr6 is not installed (this is expected for Windows 10 and later)) I am sure the windows 10 does have that driver. Do you have any idea about the issue? Please let me know. Thanks!
sir can you give an introduction to the zynq ZC702 evaluation board? since I'm new to that FPGA, I dunno how to use it, it will be helpful if I get any sources related to the zc702 board
Error while launching program: Could not find ARM device on the board for connection 'Local'. Check if the target is in: 1. Split JTAG - No operations are possible with ARM DAP. 2. Non JTAG bootmode - Bootrom may need time to enable DAP. Please try again. Troubleshooting hints: 1. Check whether board is connected to system properly. 1. In case of zynq board, check whether Digilent/Xilinx cable switch settings are correct. 1. If you are using Xilinx Platform Cable USB, ensure that status LED is green. Could not find ARM device on the board for connection 'Local'. Check if the target is in: 1. Split JTAG - No operations are possible with ARM DAP. 2. Non JTAG bootmode - Bootrom may need time to enable DAP. Please try again
Hi, vipin. I'm a complete beginner to Zynq 7000 and FPGAs in general and have come across an issue i cannot seem to fix. I can get my Zedboard to be recognized and programmed by the new Vitis software, but i cannot get the board to output anything, not even Hello world to Teraterm. I've checked all possible settings in teraterm and the BSP (stdin and stdout are both set to uart1) and still can not get any output. Your help would be appreciated. Thanks.
I can think of only the following reasons 1. Cables are not connected to proper connectors. Make sure you are connecting to JTAG and UART and not the USB OTG 2. Make sure when you plug in USB/UART cable, in Teraterm a new COM port is listed. Otherwise will have to install the cable driver for it 3. When you create run configurations, under applications, the elf file is chosen There is a very remote possibility that board has some real hardware issue. But it is really really rare.
@@Vipinkmenon It turns out, there was a manufacturing error. Some Rev E boards (my board is Rev E) were assembled with the wrong DDR modules. Instead of 512MB, it has 1024MB (lucky me) so I had to change my DDR configuration in Vivado and select the correct memory modules. Everything is working great now and I look forward to learning from your other videos. I really appreciate your willingness to help me!
helloWorld should add a to the end of the string to complete the full description given in the K&R book :) Of course I'll not require you to redo the full video for this small issue, but think it twice next time :)
Hi Vipin. I have an issue getting started with my zed board and was hoping you might have some insight of the source of the problem. I have been getting the following 'Memory read error at 0xF8007080. AHB AP transaction error, DAP status f0000021' whenever i try to load the '.elf' file to the board. Have you ever encounter this problem with you zedboard? Any help will be appreciated - thank you.
Just to clarify did you follow the same project discussed in this tutorial? Also make sure "Run ps7_post_config" option is also checked in configuration
Yes for jtag mode is 000. Seems similar to this issue. Try issueing reset before launching forum.digilentinc.com/topic/12952-ap-transaction-error-dap-status-f0000021/
Hi Vipin. I am trying to multiply two numbers together to get the results and also measure how much time it has taken for this code to execute. However, when I try to write in standard C, it just gives me a lot of errors. Is there a different way to write C on the Xilinx SDK? Could you help me with an example code in Xilinx SDK to multiply two numbers and get the result and also measure the time it takes??
I guess the best option will be to use the Timer/Counter present in PS to do it. Try this code #include #include "xil_io.h" #include #include "xparameters.h" int main(){ int a,b,c; s32 status; u16 counterValue; XTtcPs_Config *myTimerConfig; XTtcPs myTimer;//Timer/Counter structure pointer myTimerConfig = XTtcPs_LookupConfig(XPAR_PS7_TTC_0_DEVICE_ID);//get the configuration status = XTtcPs_CfgInitialize(&myTimer,myTimerConfig, myTimerConfig->BaseAddress);//initialize counter if(status == XST_SUCCESS) print("Timer successfully initialized
"); print("Enter the first number:");//Get the numbers through serial terminal scanf("%d",&a); xil_printf("%d
",a); print("Enter the second number:"); scanf("%d",&b); xil_printf("%d
",b); XTtcPs_ResetCounterValue(&myTimer); //reset the counter to 0 XTtcPs_Start(&myTimer);//start the counter c = a*b; XTtcPs_Stop(&myTimer);//stop the counter counterValue=XTtcPs_GetCounterValue(&myTimer);//get the current value xil_printf("Product of %d and %d is %d
",a,b,c); printf("Execution time %d clock cycles and %0.5f us ",counterValue,(counterValue*1000000.0/XPAR_PS7_CORTEXA9_0_CPU_CLK_FREQ_HZ)); return 0; } It is a 16 bit timer/counter. So if the execution time is too long, it may overflow. In that case you will have to use the scaling feature to scale the clock used by the counter. For a single multiplication, there won't be any issue. I am getting 27 clock cycles for integer multiplication
Hi Vipin, I'm getting this error while building: undefined reference to `main' xil-crt0.S /helloWorld_bsp/ps7_cortexa9_0/libsrc/standalone_v3_11_a/src Could you please help me with this?
He is saying he cannot find the main function in your code. Make sure all your .c files are in the src folder. Within SDK itself you can drag and drop them to .src folder. If still problem persists, start a new project and make sure .c file is added to .src folder
@@Vipinkmenon thank you. The solution which worked me was that I went to the xil-crt0.S file, commented out the line "bl main", and wrote the same thing in the next line "bl main"
Thank you so much sir for uploading such videos.....very informative.....havestruggled two years back as no information ws provided on youtube much about zynq....this channel is just the one stop solution
Very Nice Video
Nice explanation
I have a zybo board with Zynq processor, does this course turotial run on zybo ? given that SoC is same for zedboard and zybo.
@TheVipinkmenon
I am a complete beginner on FPGA
Can you please clarify where is micro USB cable connected for receiving and transmitting data?
Is micro usb connected to laptop?
Can you please tell that if the zedboard is getting is getting automatically shutdown once the programming cable is connected then what could be the possible reason. On searching I found that replacing the cable could be a solution but I tried that and no progress.
Hi Vipin. Nice video. Thank you for sharing. I bought zedboard a week ago. I got a problem in the startup phase, when I connected zedboard with my pc. when both are connected, and the usb driver has been installed, the zedboard lcd should be on and some leds should be on as well. It did not happen to me. do you know what is probably wrong in my case here? thx
Hi Vipin
In the video, you kept saying that the details are in the lecture. Are there any separate lecture videos? Thanks.
Dear Vipin, Thank you for the course. I am following the course. I have a question. I am using the xilinx ISE 14.7 software which works on oracle VB. I could not program the FPGA as I cannot detect any port of Xilinx SDK terminal. I have tried the following. 1. Installing cable drivers. (C:\Xilinx\Vivado\2022.2\data\xicom\cable_drivers
t64) -> Install_drivers as admin.
2. Tries to uninstall exiting drivers and reinstall them.
3. Tried to add myself to dialout group
In the process, of installing cable drivers, I received following message. (INFO: InstallPath="C:\Xilinx\Vivado\2022.2\data\xicom\cable_drivers
t64\"
windrvr6 is not installed (this is expected for Windows 10 and later))
I am sure the windows 10 does have that driver. Do you have any idea about the issue? Please let me know. Thanks!
Can't we use the inbuilt terminal in SDK, instead of tera terminal?
sir can you give an introduction to the zynq ZC702 evaluation board? since I'm new to that FPGA, I dunno how to use it, it will be helpful if I get any sources related to the zc702 board
sir is it necessary to use vivado hls
Can I buy zybo z20 fpga board instead of Zedboard to perform the video at my place?
Yes
@@Vipinkmenon thanks 🙏. I was thinking to buy Zedboard but it is expensive. Zybo I can afford.
Error while launching program:
Could not find ARM device on the board for connection 'Local'.
Check if the target is in:
1. Split JTAG - No operations are possible with ARM DAP.
2. Non JTAG bootmode - Bootrom may need time to enable DAP.
Please try again.
Troubleshooting hints:
1. Check whether board is connected to system properly.
1. In case of zynq board, check whether Digilent/Xilinx cable switch settings are correct.
1. If you are using Xilinx Platform Cable USB, ensure that status LED is green.
Could not find ARM device on the board for connection 'Local'.
Check if the target is in:
1. Split JTAG - No operations are possible with ARM DAP.
2. Non JTAG bootmode - Bootrom may need time to enable DAP.
Please try again
Hi
How you find solution of this issue
As I am also stuck in same situation
Hello Sir, What do we have instead of sdk in vivado 2023. How to open SDK in vivado 2023
Use VITIS
Hi, vipin. I'm a complete beginner to Zynq 7000 and FPGAs in general and have come across an issue i cannot seem to fix. I can get my Zedboard to be recognized and programmed by the new Vitis software, but i cannot get the board to output anything, not even Hello world to Teraterm. I've checked all possible settings in teraterm and the BSP (stdin and stdout are both set to uart1) and still can not get any output. Your help would be appreciated. Thanks.
To isolate the problem, can you try to program from SDK instead of Vitis?
@@Vipinkmenon Yes I tried it using the same version of Vivado/Xilinx SDK as in the video and I still cannot get an output
I can think of only the following reasons
1. Cables are not connected to proper connectors. Make sure you are connecting to JTAG and UART and not the USB OTG
2. Make sure when you plug in USB/UART cable, in Teraterm a new COM port is listed. Otherwise will have to install the cable driver for it
3. When you create run configurations, under applications, the elf file is chosen
There is a very remote possibility that board has some real hardware issue. But it is really really rare.
@@Vipinkmenon It turns out, there was a manufacturing error. Some Rev E boards (my board is Rev E) were assembled with the wrong DDR modules. Instead of 512MB, it has 1024MB (lucky me) so I had to change my DDR configuration in Vivado and select the correct memory modules. Everything is working great now and I look forward to learning from your other videos. I really appreciate your willingness to help me!
Ah that is great..
helloWorld should add a
to the end of the string to complete the full description given in the K&R book :) Of course I'll not require you to redo the full video for this small issue, but think it twice next time :)
nice video! its good for kick starting. Could you please explain about memory mappings and how to use DDR or block RAM for our own IPs
This is part of a University lab series. So by May you will get complete idea
@@Vipinkmenon oh!! I am gonna use that for my project, currently I couldn't find sources for learning those. Could you point some source if possible
@@amud234 This is a very useful book www.zynqbook.com/download-book.php
Hi Vipin. I have an issue getting started with my zed board and was hoping you might have some insight of the source of the problem. I have been getting the following 'Memory read error at 0xF8007080. AHB AP transaction error, DAP status f0000021' whenever i try to load the '.elf' file to the board. Have you ever encounter this problem with you zedboard? Any help will be appreciated - thank you.
Just to clarify did you follow the same project discussed in this tutorial? Also make sure "Run ps7_post_config" option is also checked in configuration
@@Vipinkmenon Yes - and I have selected "Run ps7_post_config". For jtab mode all headers are connected between SIG and GND, correct?
Yes for jtag mode is 000. Seems similar to this issue. Try issueing reset before launching forum.digilentinc.com/topic/12952-ap-transaction-error-dap-status-f0000021/
Hi Vipin. I am trying to multiply two numbers together to get the results and also measure how much time it has taken for this code to execute. However, when I try to write in standard C, it just gives me a lot of errors. Is there a different way to write C on the Xilinx SDK? Could you help me with an example code in Xilinx SDK to multiply two numbers and get the result and also measure the time it takes??
I guess the best option will be to use the Timer/Counter present in PS to do it. Try this code
#include
#include "xil_io.h"
#include
#include "xparameters.h"
int main(){
int a,b,c;
s32 status;
u16 counterValue;
XTtcPs_Config *myTimerConfig;
XTtcPs myTimer;//Timer/Counter structure pointer
myTimerConfig = XTtcPs_LookupConfig(XPAR_PS7_TTC_0_DEVICE_ID);//get the configuration
status = XTtcPs_CfgInitialize(&myTimer,myTimerConfig, myTimerConfig->BaseAddress);//initialize counter
if(status == XST_SUCCESS)
print("Timer successfully initialized
");
print("Enter the first number:");//Get the numbers through serial terminal
scanf("%d",&a);
xil_printf("%d
",a);
print("Enter the second number:");
scanf("%d",&b);
xil_printf("%d
",b);
XTtcPs_ResetCounterValue(&myTimer); //reset the counter to 0
XTtcPs_Start(&myTimer);//start the counter
c = a*b;
XTtcPs_Stop(&myTimer);//stop the counter
counterValue=XTtcPs_GetCounterValue(&myTimer);//get the current value
xil_printf("Product of %d and %d is %d
",a,b,c);
printf("Execution time %d clock cycles and %0.5f us
",counterValue,(counterValue*1000000.0/XPAR_PS7_CORTEXA9_0_CPU_CLK_FREQ_HZ));
return 0;
}
It is a 16 bit timer/counter. So if the execution time is too long, it may overflow. In that case you will have to use the scaling feature to scale the clock used by the counter. For a single multiplication, there won't be any issue. I am getting 27 clock cycles for integer multiplication
Hi Vipin, I'm getting this error while building:
undefined reference to `main' xil-crt0.S /helloWorld_bsp/ps7_cortexa9_0/libsrc/standalone_v3_11_a/src
Could you please help me with this?
He is saying he cannot find the main function in your code. Make sure all your .c files are in the src folder. Within SDK itself you can drag and drop them to .src folder. If still problem persists, start a new project and make sure .c file is added to .src folder
@@Vipinkmenon thank you. The solution which worked me was that I went to the xil-crt0.S file, commented out the line "bl main", and wrote the same thing in the next line "bl main"
Thanks Mate
Hello, can you help me to find drivers for zedboard in windows 10. thank you
JTAG driver should be installed when Vivado is installed. USB to Uart driver is here
www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers
Thank you.