This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

how can display the project of uartecho's output content?

Other Parts Discussed in Thread: SYSBIOS

hi

i am using the ICE board and SYS/BIOS 6_33_05_46 .and SDK is 1.0.0.07  I am implementing the example : am335x_sysbios_ind_sdk_1.0.0.7\sdk\examples\uartecho.

i have a qestion :

the ICE board use UART5. can you tell me how can display the output content? for example:UARTPutString(uartInstance,"Hello world..\n\r");  how can i contect with my PC using UART5. 

This application needs that the serial port on the EVM connected to the host serial port via a NULL modem cable. A serial terminal application (like teraterm/hyperterminal/minicom) is running on the host. the sentence is writen in SDK.

can you telll if the EVM is the ICE board and the host is my PC? 

thanks very much!

Best Regards.

  • Echo,

    not sure where you read this but it is wrong. UART5 is connected to the FTDI chip that also does the on-board JTAG emulation. You need to connect to your PC using USB cable (probably have that already if you debug the board). Now the PC should have a virtual COM port (number depends on your PC) and you can open a terminal on that one. Data should show up. If not there is something wrong with your driver on the PC. Check for XDS100v2 on the processor wiki.

    Regards

  • hi Frank,

    thanks for your help.

    can you tell me if having the web or the doucument for explaning these example?

    and the functions for example:" Bool UARTPutString(UInt instance,Char* buffer)" is definded in sys_uart.h file . how can i find the sorce code for explaining the function?

    thanks agin.

    Regards.

  • Echo,

    I don't think we have specific doc for the basic examples. All sources are included in the IA-SDK, just search for the implementation. There are multiple folders which contain driver code (platform, os_drivers, starterware).If you have specific questions please post here.

    Regards.

  • Hello Echo,

    The function UARTPutString can be found by following this path: am335x_sysbios_ind_sdk_1.0.0.7\sdk\os_drivers\src\sys_uart.c


    Regards Savitha