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.

[OMAP3530] HPI access through Linux applications



Hi, I'm developping a project that have 1 OMAP 3503 and 1 DSPs C5510. The OMAP is running Linux OS and there are some applications running on that. The OMAP have to access the 5 DSPs through the Host Port Interface. I would like to know if there is any device driver I can use to interface our Linux application with the DSPs memory space through the Host Port Interface. Thanks

  • I have not isntalled the latest OMAP35x SDK yet, but this type of information is normally found in the PSP Release Notes document included with the SDK.

  • As Juan mentions for most peripherals you would want to check the PSP documentation for what is supported. In the case of a HPI implementation like this it would be so system specific that it is not a driver that would be practical to include with the PSP. The driver itself could be relatively simple, assuming the C55's HPI is hanging on the OMAP3 GPMC interface you just need to write a driver that opens up the memory space that the DSP occupies to the application of your choice, you could map that space into the application much like the display driver maps the video buffers into the application space. Another even simpler option would be to have a proc that accesses addresses over the C55 space, though this would be less efficient as it would typically be one address at a time.

  • Hi Bernie, thanks for your reply.

    I'm used to do some programs directly in the microprocessor, I've never desing a device driver, How can I start learning about this topic. There is any Texas guideline or an example how to do this?

    Just some comments: The HPI is connected in the OMAP 35xx GPMC and the HPI mode I'm using is the multiplexed mode.

    Obs. :I'm reading the Linux Device Drivers 3th edition from O'Relly, but I'm affraid that the book could not be so specific.

  • Daniboy said:
    I'm used to do some programs directly in the microprocessor, I've never desing a device driver, How can I start learning about this topic. There is any Texas guideline or an example how to do this?

    For the most part the sort of examples and documentation you are looking for are all outside of TI, as the driver software used on our devices follows the same driver standards as most any Linux running device. The LDD3 book you mention is a good reference, though it can be overwhelming at first that covers the majority of what you would need to know to write the driver, there are a lot of other resources out there as well though, using google in particular will bring up many topics on almost any aspect of it you want to know about due to the open source nature of the software. One open source resource for starting out is Free Electrons, they have open source training material that may be of help.

    If you are looking for more formal training than that is also available, Monta Vista has a course on driver devleopment that would make a great introduction to Linux driver development.