01-05-2016 11:36 AM
I am following the example project: Running the "Hello World " Application as outlined in UG1165. Everything works as expected with building the hardware and exporting to SDK. I do all of the following as instructed in the document:
Connect the USB cable from J17 (USB UART) to my PC
Ensure SW10 settings are Bit-1 is 0 , Bit-2 is 1 (To select USB-UART).
Configuartion options swithc SW16 is set for JTAG (00000).
Power up the board and open the SDK project file I previously created.
Open the serial comm utilility and set it up for Conn Type = Serial, Port = COM3, Baud Rate = 115200, 8 Data,1 Stop, Parity = none.
Select File > New> Application Project using the Hello World Template.
Next SDK creates the application project and the bsp , and compiles and creates the ELF file.
Next...In the Project Explore Window I right click on hello_world and select Run as > Run Configurations. Right click Xilinx C/C++ application(GDB) and click New.
Now...When I click RUN in the Run Configuration window (according to the tutorial) a message should appear asking if I want to launch the application even though configuration of the FPGA is not done. BUT instead I get the ERROR shown in my screen capture below.
Note *** IF I change the Config options SW16 to QUAD SPI Mode and use TERA TERM for the serial port connection then the USB -UART Connection works fine ! So I know its not a cable problem or SW10 settings problem. ???
Would really like to know what is happening here ? Why is SDK not able to make this serial port connection using its own serial communication utility ???
01-06-2016 08:54 PM
01-05-2016 08:36 PM
01-05-2016 08:50 PM
01-05-2016 08:51 PM - edited 01-05-2016 10:30 PM
a quick typo in the question you have. SW10 is relating to usb-jtag. if you are trying to use usb-jtag you should set the SW10 to "01" and use the digilent usb cable.
once this is set,
can you simply turn-on the board
launch XMD shell
type the command "connect arm hw"
what does the xmd console say here?
01-06-2016 04:24 AM
Running as System Debugger gives me hello world on the SDK Terminal. However this requires a JTAG cable connected to the board. The tutorial I am following is to demonstrate "Hello World" with no bitstream and the board connected only using the USB-UART port (J17). I still don't understand why it did not work according to the tutorial document UG1165 ?
01-06-2016 04:37 AM
If I connect a JTAG cable and run the command in XMD It indicates the JTAG chain is detected. I am able to get hello world on the SDK terminal (with the JTAG cable connected) when I run as system debugger as suggested by Sampatd. But this was not the intent of the Tutorial I am following (UG1165 pages 26 - 29). My understanding is that I should see hello world on the SDK Terminal with just the USB-UART port cable connected to my PC. Am I missing something ?
01-06-2016 08:54 PM