<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: HSS driver problem (IXP425) in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892416#M10282</link>
    <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/245860"&gt;kpal@mail.ru&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;I solved this problem for me: i changed channalized driver and made from it packetized driver.&lt;BR /&gt;In packetized mode i received and send right data.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;What kind of corruption were you experiencing?&lt;BR /&gt; &lt;BR /&gt; On my board, about every 4 seconds, I'm seeing 4 samples that should not be part of the data I'm expecting, and I'm evaluating if trying or not the packetized implementation.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Gigi&lt;BR /&gt;</description>
    <pubDate>Thu, 19 Mar 2009 14:09:25 GMT</pubDate>
    <dc:creator>pierluigi_passaro</dc:creator>
    <dc:date>2009-03-19T14:09:25Z</dc:date>
    <item>
      <title>HSS driver problem (IXP425)</title>
      <link>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892409#M10275</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;I have a problem with corrupted data, readed from /dev/hssdriver (hssdriver.ko).&lt;/P&gt;
&lt;P&gt;I don't find any information or sample code with read function from HSS driver.&lt;/P&gt;
&lt;P&gt;Please, help me.&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2008 13:23:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892409#M10275</guid>
      <dc:creator>kpal</dc:creator>
      <dc:date>2008-05-06T13:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: HSS driver problem (IXP425)</title>
      <link>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892410#M10276</link>
      <description>&lt;PRE&gt;&lt;SPAN&gt;I have a board (like IXDP425)with IXP425 and Linux.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;I needto use HSS interface to read (and write) a data from it and then send throw Ethernet (UDP).&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;I use ixp400AccessLibrary-2_4, IPL_IDS_FoundationLibrary_V1_1 and BSD_IDS_HSS_Drv_V1_1.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;Driver allows me to read/write in channilized mode from/to /dev/hssdriver.&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;I open and init (as showed in codelets) hssdev with 32 IX_DSP_TS_V64K timeslots&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; IX_DSP_CODELET_NUM_TIMESLOT 32&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;IX_HSSACC_CLK_SPEED_2048KHZ&lt;P&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;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt; (res != 0)&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;{&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt; printf(&lt;SPAN&gt;"HssPortInit: Init HSS failed .. 
"&lt;/SPAN&gt;);&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt; return&lt;/SPAN&gt;&lt;SPAN&gt; 1;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;}&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;printf(&lt;SPAN&gt;"HssPortInit: Init HSS Ok!
"&lt;/SPAN&gt;); &lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;FONT size="2"&gt;Then i read from HSS dev, sorted data (because circular buffer is PCM buff * 2) and send it to socket.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;FONT size="2"&gt;&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;BYTE pcHssReadBuffRaw[32*80*2]; &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BYTE pcHssReadBuff[32*80*2]; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;btCurCycleBuf = 0;&lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;while&lt;/SPAN&gt;&lt;SPAN&gt;(1)&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;{&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;res = read(fdDev, pcHssReadBuffRaw, &lt;SPAN&gt;sizeof&lt;/SPAN&gt;(pcHssReadBuffRaw));&lt;/SPAN&gt;&lt;SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;SPAN&gt;int&lt;/SPAN&gt; n=0; n&amp;lt;32; n++)&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;pcHssReadBuff[n*80] = pcHssReadBuffRaw[n*80*2 + btCurCycleBuf*80];&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;if&lt;/SPAN&gt;&lt;SPAN&gt;(btCurCycleBuf==0) btCurCycleBuf=1;&lt;/SPAN&gt;&lt;SPAN&gt;else&lt;/SPAN&gt;&lt;SPAN&gt; btCurCycleBuf=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;P&gt;sendto(...&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;);&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT size="2"&gt;} &lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT size="2"&gt;And i find, that data readed from hssdev is not right.&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT size="2"&gt;I find, that when i insert in while(1) cycle printf("
"), the situation is more better.&lt;/FONT&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT size="2"&gt;Also i find, that there are different situation, when i run this read programm from terminal console or from telnet 127.0.0.1.&lt;/FONT&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 May 2008 11:21:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892410#M10276</guid>
      <dc:creator>kpal</dc:creator>
      <dc:date>2008-05-07T11:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: HSS driver problem (IXP425)</title>
      <link>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892411#M10277</link>
      <description>&lt;P&gt;&lt;FONT&gt;And also one moment: on default, the parametr in HssDriverFunc.c is #define NO_RACE_CONDITION 1&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;But in this case, the read function is not blocked while data from HSS are not received.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;I change NO_RACE_CONDITION to 0.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT&gt;Is this corrected?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2008 11:24:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892411#M10277</guid>
      <dc:creator>kpal</dc:creator>
      <dc:date>2008-05-07T11:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: HSS driver problem (IXP425)</title>
      <link>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892412#M10278</link>
      <description>&lt;P&gt;We don't currently have an IXP expert that monitors this forum. For IXP support I recently added this post to the web site:&lt;BR /&gt;&lt;A href="https://community.intel.com/en-us/forums/showthread.php?t=58713"&gt;http://software.intel.com/en-us/forums/showthread.php?t=58713&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;As more information becomes available, I'll update the page at the link above.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2008 19:21:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892412#M10278</guid>
      <dc:creator>James_M_Intel1</dc:creator>
      <dc:date>2008-05-12T19:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: HSS driver problem (IXP425)</title>
      <link>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892413#M10279</link>
      <description>i have faced a similar problem beacuse i had used a channelized driver. but channalized mode has not supported this mode. i also need help, please gimme the solution&lt;BR /&gt;JWP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jul 2008 05:08:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892413#M10279</guid>
      <dc:creator>clubjwp</dc:creator>
      <dc:date>2008-07-17T05:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: HSS driver problem (IXP425)</title>
      <link>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892414#M10280</link>
      <description>&lt;DIV id="quote_reply" style="margin-top: 5px; width: 100%;"&gt;&lt;BR /&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/321253"&gt;clubjwp&lt;/A&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;i have faced a similar problem beacuse i had used a channelized driver. but channalized mode has not supported this mode. i also need help, please gimme the solution&lt;BR /&gt;
JWP&lt;BR /&gt;
&lt;BR /&gt;
&lt;/EM&gt;&lt;/DIV&gt;&lt;BR /&gt;
&lt;/DIV&gt;&lt;BR /&gt;
I also had used a channelized driver,andI found that I can't call ixHSSACCInit () function successfully when I use . I need help.</description>
      <pubDate>Fri, 26 Sep 2008 01:33:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892414#M10280</guid>
      <dc:creator>zhanghf</dc:creator>
      <dc:date>2008-09-26T01:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: HSS driver problem (IXP425)</title>
      <link>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892415#M10281</link>
      <description>&lt;P&gt;I solved this problem for me: i changed channalized driver and made from it packetized driver.&lt;BR /&gt;In packetized mode i received and send right data.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Feb 2009 14:07:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892415#M10281</guid>
      <dc:creator>kpal</dc:creator>
      <dc:date>2009-02-05T14:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: HSS driver problem (IXP425)</title>
      <link>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892416#M10282</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/245860"&gt;kpal@mail.ru&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;
&lt;P&gt;I solved this problem for me: i changed channalized driver and made from it packetized driver.&lt;BR /&gt;In packetized mode i received and send right data.&lt;/P&gt;
&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;What kind of corruption were you experiencing?&lt;BR /&gt; &lt;BR /&gt; On my board, about every 4 seconds, I'm seeing 4 samples that should not be part of the data I'm expecting, and I'm evaluating if trying or not the packetized implementation.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Gigi&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Mar 2009 14:09:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/HSS-driver-problem-IXP425/m-p/892416#M10282</guid>
      <dc:creator>pierluigi_passaro</dc:creator>
      <dc:date>2009-03-19T14:09:25Z</dc:date>
    </item>
  </channel>
</rss>

