10-27-2009 09:15 AM - edited 10-27-2009 09:19 AM
I am testing some simple examples within Plataform Studio, but xps_uartlite is printing unexpected characters (unreadable).
I have already tried every baud_rate that is possible, between HyperTerminal and uartlite (Spartan3E - MicroBlaze).
There are some interesting posts in the forum about the same problem, but none of them were useful.
In the Xilinx answer database there is a similar problem, but the provided solution is also a dead end: http//www.xilinx.com/support/answers/16632.htm
Could someone help me?
Solved! Go to Solution.
10-27-2009 09:35 AM
Are you downloading an existing demo design for a demo pcb (eg ML505, XUP V5 LX110T)?
If so, the settings are described in the user's guide, and they do work (at least, whenever I try them, they work just fine).
I suggest if you are not downloading an existing demo design, that you do so. If it doesn't work, then you should start to check your wiring, and power supplies.
If this is your own pcb (not a demo board) then I suggest you start with a simpler design to check out the wiring, voltage levels, etc.
Xilinx San Jose
10-28-2009 03:59 PM
I have just downloaded and tested a xilinx demo for Spartan3E, which outputs some characters through rs232.
The same problem occured.
I guess I will have to check the wiring and power supplies, as you mentioned.
Sorry, I don't have much experencie, yet.
Thank you for your reply.
10-28-2009 10:12 PM
Test your RS232 cable first.
Which version of the tool are you using.
If you are using a version below 10.1 then you should specify correct frequency in the software platform settings as well.
While compiling your software project do you get any warning.
Also check your hardware for any warning after compilation. Not every warning can be ignored. Some warnings are critical.
Keep your reference clock and processor bus clock frequency same. Also provide the same in the software platform settings tab.
Kepp your baud rate for hyperterminal and UART same.
In your hyperterminal go to properties and settings and enable echo by clicking the box.
This will tell you what you are sending and what you are receiving.
Unlimited in my Limits.
10-29-2009 07:42 AM
He downloaded the demo, so he had no choices, other than to connect it properly, and setup Hyperterminal properly.
Oh, and set any jumpers properly on the demo board: he should make sure none have fallen off, or were set to a wrong (different) setting.
He should concentrate on making sure his cables are good (he hasa a valid ground connection is a common error: a missing ground could do what he is seeing).
Number of stop bits (1), baud rate (9600), are the only things needed in the hyperterminal program, perhaps also with "no flow control" and ignoring DTR, CTS, etc. (no hardware flow control, either).
Xilinx San Jose
10-29-2009 03:14 PM
Austin and pb,
Thank you very much for replying!
I bought another cable and it worked just fine!
Sorry for the trouble, but I had a similar problem in the past and it wasn't the cable fault.
Once again, thanks a lot!