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.

Configuring a UART driver for IPC Streams

Other Parts Discussed in Thread: SYSBIOS

Hi guys,

I would like to get an uart access on SYS/BIOS application through Streams library. I'm following chapter 2.3 on IPC documentation (http://www.ti.com/lit/ug/sprugo6d/sprugo6d.pdf) to set up UART device module and I've a technical issue here.

The documentation shows the line below for a UART driver configuration but this line cannot be compiled.

var Uart = xdc.useModule('thirdparty.drivers.Uart');

I think it's because the path of driver is not correct but just an example. So any of you guys have any idea that I can get set UART driver up correctly?

Here's system options that I'm using:

- pandaboard ES (OMAP4460: A9s and Ducati)

- xdctools 3.22.03.41

- sysbios 6.32.1.38

- ipc 1.23.1.26

- TMS 470 4.9.1

- C6000 7.3.4

Thanks,

Jaeyeon

  • Hi Jaeyeon:

         I think you need to provide more detailed code other wise, you let me no choice than do wild guesses which most of the time are  highly inaccurate. like this one,

    The example you mention, explains that is a hypothetical third party driver, so I really don't think it exists, if some one just paste the example's code in CCS and try to compile it, there is no way it will compile. Since to use IPC you need to be familiar with  RTSC, Sysbios, etc.

    For a person to which this is true, may want to check:

    RTSC documetation (http://rtsc.eclipse.org/docs-tip/Main_Page),

    RPMsg wiki (http://omappedia.org/wiki/Category:RPMsg) which is an implementation of IPC for OMAP4 and

    IPC examples at (<ipc_install_dir>/packages/ti/sdo/ipc/examples/multicore/omap4430).

    Sysbios  wiki (http://processors.wiki.ti.com/index.php?title=Category:SYSBIOS)

    I am probably mistaken with this guess, but I this will help some other users, please give me more details all steps you followed to compile it, code, etc.

    Regards,

    Rodrigo

  • Hi Rodrigo,

    Thanks for your comments. I guess my question is not code specific question. I just want to get uart driver for ducati in omap4 platform. And the reason why I mentioned the source code example before was to make sure the /thirdparty/drivers/uart.h is not present. You said yes so thank you. 

    For the last few days I researched to get the uart driver for ducati but what I could found was pspdrivers(http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/index.html) which is device drivers for c64 platform but not my board.

    I understand ducati on omap4 is sub-module specialized for image processing but is there really no way to communicate with uart deivce so far? If yes, where can I get it?

    Thanks,

    Jaeyeon

  • Hi Jaeyeon:

          Could you take a look at this project,

    git clone git://git.omapzoom.org/platform/hardware/ti/bios-syslink.git  -b origin/ipc-2.0m1

       And check the following files,

    ./packages/ti/omap/uart/shim/SysMinToTraceBuffer.c at line 47

    ./packages/ducati_cfg/commonM3.cfg at line 50

    ./packages/ducati_cfg/commonM3.cfg at line 51

       I spoke with a developer for this project and they route this component traces to UART and their code may help you.

    Regards,

    Rodrigo

  • Hi Rodrigo,

    I haven't found any libarary for Ducati subsystem on omap4. I guess it's becuase Ducati subsystem on omap4 is designed intentionally for image processing rather than IO.

    Because of technical problems, I decided to access register directly for uart IO. Thanks for your help though :)

    -Jaeyeon