...
If you write the character "a" the RAM test should start.
![](/download/attachments/10620072/DebugPerspectiveRun2.png?version=1&modificationDate=1379339564000&api=v2)
XMD procedure
In the XMD console you should write "connect mb mdm -debugdevice cpunr 1" and then click "return" on the keyboard.
Scroll Title |
---|
title | In the XMD console you should write "connect mb mdm -debugdevice cpunr 1". |
---|
|
![](/download/attachments/10620072/XMDconnect.png?version=1&modificationDate=1379342001000&api=v2) |
In the XMD console you shoud write "rst" and then click "return" on the keyboard.In the XMD console you should write " dow C:/XilinxProject/reference-TE0300/SDK/SDK_Workspace/demo/Debug/demo.elf" and then click "return" on the keyboard.
Scroll Title |
---|
title | In the XMD console you should write "dow C:/XilinxProject/reference-TE0300/SDK/SDK_Workspace/demo/Debug/demo.elf" and then click "return" on the keyboard. |
---|
|
![](/download/attachments/10620072/XMDdownload.png?version=1&modificationDate=1379342304000&api=v2) |
In the XMD console you shoud write "run" and then click "return" on the keyboard.
Scroll Title |
---|
title | In the XMD console you shoud write "run" and then click "return" on the keyboard. |
---|
|
![](/download/attachments/10620072/XMDrun.png?version=1&modificationDate=1379342410000&api=v2) |
...
console you shoud write "terminal -jtag_uart_server 4321" and then click "return" on the keyboard. |
|
Image Modified |
After this you should open some terminal emulators (because you want to input/output some characters with the XMD UART), such as
...
Scroll Title |
---|
title | If you write the character "a" the RAM test should start. |
---|
|
![](/download/attachments/10620072/XMDprocedure2.png?version=1&modificationDate=1379343464000&api=v2) |
Use the demo project without the XMD UART
To use the demo project without the XMD UART, you need to use "RS232" instead of "debug_module" as standard in/out port. Otherwise the application running on the Microblaze processor freezes if you disconnect the XMD. To accomplish that you need to set up the Microblaze "Software Platform Settings".
- In the dialog window select "OS and libraries" in the left window and pick "RS232" as a stdout and stdin interface.
- Then rebuild the software and download again the project to the FPGA.
The UART is then redirected to external pins, which are defined in the data/system.ucf file.
Tip |
---|
The UART settings are: - bits per seconds: 115,200
- data bits: 8
- parity: none
- stop bits: 1
- flow control: none (otherwise you will not be able to enter commands)
|
The following snippet shows the case of the TE0300 series modules:
Module RS232 constraints*
Net fpga_0_RS232_RX_pin LOC=B13;
Net fpga_0_RS232_TX_pin LOC=B14;
Please refer to the table below for other module series relevant to this application note.
Scroll pdf title |
---|
title | Location of UART pins examples. |
---|
|
TE series | RS232_RX FPGA ball | RS232_RX module pin | RS232_TX FPGA ball | RS232_TX module pin |
---|
TE0300 | R6 | J5-29 | P6 | J5-31 |
---|
TE0320 | V17 | J5-IO18 | W17 | J5-IO19 |
---|
TE0630 | Y7 | J5-29 | AB7 | J5-31 |
---|
TE0303 | It doesn't apply | J1-33 | It doesn't apply | J1-34 |
---|
TE0304 | It doesn't apply | J1-3 | It doesn't apply | J1-2 |
---|
TE0323 | It doesn't apply | J4-35 | It doesn't apply | J4-37 |
---|
host (PC) | TX | TX | RX | RX |
---|
|
Scroll Title |
---|
title | Sample UART to USB virtual COM port converter. |
---|
|
Image Added |
Scroll Title |
---|
title | Sample UART to USB virtual COM port converter: signal detail for TE0320 and TE0323. |
---|
|
Image Added |