09-19-2011 04:51 AM
Hello, I'm a EDK newbie and I've been trying to run EDK (SDK) tutorial I found online. Basically it's "Hello World" that should be seen in a Terminal window in the end. To create MicroBlaze processor, I used BSB wizard in XPS and for C code I used already written software application "Hello World" example that can be found in SDK.The problem is that after doing all the required steps and programming FPGA I should see this "Hello world" written in the Terminal window, but in my case nothing happens.
The targeted board is Spartan 3E, and the ISE suite version used is 13.2. Win XP. I also have a new USB-to-RS232 cable (converter) I haven't used before (not sure about the drivers), so that might be one of the problems. I'm also not very familiar with using UART and Win Hyper Terminal (I also tried to use SDK's own terminal, but without any success).
Any ideas what could be the problem? Thanks in advance.
09-19-2011 07:15 AM
1) Make sure you noted your BAUD, stop-bits, parity in XPS for UARTLITE. If you used UART16550, make sure you declared your settings using the proper API functions; I strongly recommned using UARTLITE for simple applications
2) In SDK, make sure you generated a linker script for your code. Right click on your Hello World application, and Generate Linker Script. You can either put this into BRAM (Make sure you allocated enough in XPS), or DDR during this generation step
3) Verify you have selected the correct COM port (check under the COM/LPT port section under Device Manager in windows)
4) If you don't see any output, we can rule out the RS232-USB converter if you have an oscilliscope around. You can probe the RX pin on the RS232 on the board itself.
5) You could also simulate the system