<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=59&amp;t=17810&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2017-03-19T22:42:32+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=59&amp;t=17810&amp;mode</id>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2017-03-19T22:42:32+01:00</updated>
<published>2017-03-19T22:42:32+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=185175#p185175</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=185175#p185175"/>
<title type="html"><![CDATA[Re: [C#][FT232RL] Potrzebna pomoc z myFtdiDevice.WriteEEPROM]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=185175#p185175"><![CDATA[
Mam pod reka ft232 - jak podeslesz mi projekt i powiesz dokladnie co chcialbys zmienic to sprobuje u siebie to zrobic<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 19 mar 2017, o 22:42</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[icer_cmg]]></name></author>
<updated>2017-03-19T16:53:34+01:00</updated>
<published>2017-03-19T16:53:34+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=185157#p185157</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=185157#p185157"/>
<title type="html"><![CDATA[Re: [C#][FT232RL] Potrzebna pomoc z myFtdiDevice.WriteEEPROM]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=185157#p185157"><![CDATA[
Po wielu dniach zmagania się z różnymi bibliotekami, językami i innymi chyba się poddam. Jedyne co udało mi się uruchomić i działało to d2xx_net w c#. Jak już pisałem - wszystko poza <span style="color: #008000">myFtdiDevice.WriteEEPROMLocation</span> działa idealnie. Wspomniana funkcja jako jedyna płata figle i zapisuje tylko 0xFFFF. <br /><br />Jeśli ktoś byłby w stanie mi pomóc i podpowiedzieć jak odpalić tą funkcję będę wdzięczny.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1636">icer_cmg</a> — 19 mar 2017, o 16:53</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[icer_cmg]]></name></author>
<updated>2017-03-10T20:36:35+01:00</updated>
<published>2017-03-10T20:36:35+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184569#p184569</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184569#p184569"/>
<title type="html"><![CDATA[Re: [C#][FT232RL] Potrzebna pomoc z myFtdiDevice.WriteEEPROM]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184569#p184569"><![CDATA[
W sumie to interesuje mnie każda możliwość wpisania dowolnej wartości w dowolne miejsce w ft232rl. Początkowo chodziło o to, że struktura ograniczała mnie zbytnio a obecnie to cały eeprom mam ffff i tyle. Wiem, ze jest szansa na zaprogramowanie jeszcze, ale nie wiem jak. Język dowolny, byleby dało się w sekcji produkt discripction wpisać wartość dłuższą niż 8bit.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1636">icer_cmg</a> — 10 mar 2017, o 20:36</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2017-03-08T08:35:49+01:00</updated>
<published>2017-03-08T08:35:49+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184365#p184365</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184365#p184365"/>
<title type="html"><![CDATA[Re: [C#][FT232RL] Potrzebna pomoc z myFtdiDevice.WriteEEPROM]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184365#p184365"><![CDATA[
Hey ,<br /><br />Nie prgramowalem tego w C# wiec patrzac na przyklady to co widze , to ze oni zapisuja strukture a nie bezposrednie wartosci - nie wiem czy to ma wplyw ale mozesz sprobowac ? <br /><br />[syntax=csharp]// Create our device EEPROM structure based on the type of device we have open<br />            if (ftdiDeviceList&#91;0&#93;.Type == FTDI.FT_DEVICE.FT_DEVICE_232R)<br />            {<br />                // We have an FT232R or FT245R so use FT232R EEPROM structure<br />                FTDI.FT232R_EEPROM_STRUCTURE myEEData = new FTDI.FT232R_EEPROM_STRUCTURE();<br /><br />                try<br />                {<br />                    ftStatus = myFtdiDevice.ReadFT232REEPROM(myEEData);<br />                }<br />                catch (FTDI.FT_EXCEPTION)<br />                {<br />                    Console.WriteLine(&quot;Exception thrown when calling ReadFT232REEPROM&quot;);<br />                }<br /><br />                if (ftStatus != FTDI.FT_STATUS.FT_OK)<br />                {<br />                    // Wait for a key press<br />                    Console.WriteLine(&quot;Failed to read device EEPROM (error &quot; + ftStatus.ToString() + &quot;)&quot;);<br />                    Console.ReadKey();<br />                    // Close the device<br />                    myFtdiDevice.Close();<br />                    return;<br />                }<br /><br />                try<br />                {<br />                                   // Change our serial number to write back to device<br />                // By setting to an empty string, we allow the FTD2XX DLL <br />                // to generate a serial number<br />                myEEData.SerialNumber = String.Empty;<br /><br />                    ftStatus = myFtdiDevice.WriteFT232REEPROM(myEEData);<br />                }<br />                catch (FTDI.FT_EXCEPTION)<br />                {<br />                    Console.WriteLine(&quot;Exception thrown when calling WriteFT232REEPROM&quot;);<br />                }<br /><br />                if (ftStatus != FTDI.FT_STATUS.FT_OK)<br />                {<br />                    // Wait for a key press<br />                    Console.WriteLine(&quot;Failed to write device EEPROM (error &quot; + ftStatus.ToString() + &quot;)&quot;);<br />                    Console.ReadKey();<br />                    // Close the device<br />                    myFtdiDevice.Close();<br />                    return;<br />                }<br />            }[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 8 mar 2017, o 08:35</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[icer_cmg]]></name></author>
<updated>2017-03-07T20:17:41+01:00</updated>
<published>2017-03-07T20:17:41+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184304#p184304</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184304#p184304"/>
<title type="html"><![CDATA[Re: [C#][FT232RL] Potrzebna pomoc z myFtdiDevice.WriteEEPROM]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184304#p184304"><![CDATA[
Bazowalem na przykladach lecz tam nie mam dokladnie tego, czego wymagam. <br /><br />Działa idealnie:<br />[syntax=csharp]ushort&#91;&#93; tablica = new ushort&#91;128&#93;;<br />                ftStatus = myFtdiDevice.WriteEEPROMLocation((uint)5, (ushort)8);<br /><br />                for (uint i = 0; i &lt; 128; i++)<br />                {<br />                    try<br />                    {<br />                        ftStatus = myFtdiDevice.ReadEEPROMLocation(i, ref tablica&#91;i&#93;);<br /><br /><br />                        <br />                       Console.Write( tablica&#91;i&#93;.ToString(&quot;X4&quot;) + &quot;  &quot; );<br />                        if (i % 8 == 7) { Console.WriteLine(&quot; &quot;); }<br />                    }<br />                    catch (FTDI.FT_EXCEPTION)<br />                    {<br />                        Console.WriteLine(&quot;Exception thrown when calling ReadFT232REEPROM&quot;);<br />                    }<br />                }[/syntax]<br /><br />To w żadnym miejscu nie działa:<br />[syntax=csharp]ftStatus = myFtdiDevice.WriteEEPROMLocation(0x0005, (ushort)0x0008);[/syntax]<br />[syntax=csharp]ftStatus = myFtdiDevice.WriteEEPROMLocation(0x0005, 0x0008);[/syntax]<br />[syntax=csharp]ftStatus = myFtdiDevice.WriteEEPROMLocation(5, 8);[/syntax]<br /><br /><br />Cały kod, okrojony i z dopiskami testowymi:<br />[syntax=csharp]using System;<br />using System.Collections.Generic;<br />using System.Text;<br />using System.Threading;<br /><br />using FTD2XX_NET;<br /><br /><br />namespace EEPROM<br />{<br />    class Program<br />    {<br />        /// &lt;summary&gt;<br />        /// <br />        /// &lt;/summary&gt;<br />        /// &lt;param name=&quot;args&quot;&gt;&lt;/param&gt;<br />        static void Main(string&#91;&#93; args)<br />        { <br /><br />        UInt32 ftdiDeviceCount = 0;<br />            FTDI.FT_STATUS ftStatus = FTDI.FT_STATUS.FT_OK;<br /><br /><br /><br />            // Create new instance of the FTDI device class<br />            FTDI myFtdiDevice = new FTDI();<br /><br />            // Determine the number of FTDI devices connected to the machine<br />            ftStatus = myFtdiDevice.GetNumberOfDevices(ref ftdiDeviceCount);<br />            // Check status<br />            if (ftStatus == FTDI.FT_STATUS.FT_OK)<br />            {<br />                Console.WriteLine(&quot;Number of FTDI devices: &quot; + ftdiDeviceCount.ToString());<br />                Console.WriteLine(&quot;&quot;);<br />            }<br />            else<br />            {<br />                // Wait for a key press<br />                Console.WriteLine(&quot;Failed to get number of devices (error &quot; + ftStatus.ToString() + &quot;)&quot;);<br />                Console.Read();<br />                return;<br />            }<br /><br />            // If no devices available, return<br />            if (ftdiDeviceCount == 0)<br />            {<br />                // Wait for a key press<br />                Console.WriteLine(&quot;Failed to get number of devices (error &quot; + ftStatus.ToString() + &quot;)&quot;);<br />                Console.Read();<br />                return;<br />            }<br /><br />            // Allocate storage for device info list<br />            FTDI.FT_DEVICE_INFO_NODE&#91;&#93; ftdiDeviceList = new FTDI.FT_DEVICE_INFO_NODE&#91;ftdiDeviceCount&#93;;<br /><br />            // Populate our device list<br />            ftStatus = myFtdiDevice.GetDeviceList(ftdiDeviceList);<br /><br />            if (ftStatus == FTDI.FT_STATUS.FT_OK)<br />            {<br />                //uint rozmiar =1;<br />                for (UInt32 i = 0; i &lt; ftdiDeviceCount; i++)<br />                {<br />                    Console.WriteLine(&quot;Device Index: &quot; + i.ToString());<br />                    Console.WriteLine(&quot;Flags: &quot; + String.Format(&quot;{0:x}&quot;, ftdiDeviceList&#91;i&#93;.Flags));<br />                    Console.WriteLine(&quot;Type: &quot; + ftdiDeviceList&#91;i&#93;.Type.ToString());<br />                    Console.WriteLine(&quot;ID: &quot; + String.Format(&quot;{0:x}&quot;, ftdiDeviceList&#91;i&#93;.ID));<br />                    Console.WriteLine(&quot;Location ID: &quot; + String.Format(&quot;{0:x}&quot;, ftdiDeviceList&#91;i&#93;.LocId));<br />                    Console.WriteLine(&quot;Serial Number: &quot; + ftdiDeviceList&#91;i&#93;.SerialNumber.ToString());<br />                    Console.WriteLine(&quot;Description: &quot; + ftdiDeviceList&#91;i&#93;.Description.ToString());<br />                    Console.WriteLine(&quot;&quot;);<br />                   <br />                }<br />                <br />            }<br />            <br />            // Open first device in our list by serial number<br />            ftStatus = myFtdiDevice.OpenBySerialNumber(ftdiDeviceList&#91;0&#93;.SerialNumber);<br />            if (ftStatus != FTDI.FT_STATUS.FT_OK)<br />            {<br />                // Wait for a key press<br />                Console.WriteLine(&quot;Failed to open device (error &quot; + ftStatus.ToString() + &quot;)&quot;);<br />              <br />                return;<br />            }<br /><br /><br />            // Create our device EEPROM structure based on the type of device we have open<br />            if (ftdiDeviceList&#91;0&#93;.Type == FTDI.FT_DEVICE.FT_DEVICE_232R)<br />            {<br />                // We have an FT232R or FT245R so use FT232R EEPROM structure<br />                FTDI.FT232R_EEPROM_STRUCTURE myEEData = new FTDI.FT232R_EEPROM_STRUCTURE();<br />                //ushort valueee=0;<br />                // Read the device EEPROM<br />                // This can throw an exception if trying to read a device type that does not <br />                // match the EEPROM structure being used, so should always use a <br />                // try - catch block when calling<br /><br />                //ftStatus = myFtdiDevice.EEUserAreaSize(ref rozmiar);<br />                ushort&#91;&#93; tablica = new ushort&#91;128&#93;;<br />                ftStatus = myFtdiDevice.WriteEEPROMLocation((uint)5, (ushort)8);<br /><br />                for (uint i = 0; i &lt; 128; i++)<br />                {<br />                    try<br />                    {<br />                        ftStatus = myFtdiDevice.ReadEEPROMLocation(i, ref tablica&#91;i&#93;);<br /><br /><br />                        <br />                       Console.Write( tablica&#91;i&#93;.ToString(&quot;X4&quot;) + &quot;  &quot; );<br />                        if (i % 8 == 7) { Console.WriteLine(&quot; &quot;); }<br />                    }<br />                    catch (FTDI.FT_EXCEPTION)<br />                    {<br />                        Console.WriteLine(&quot;Exception thrown when calling ReadFT232REEPROM&quot;);<br />                    }<br />                }<br />               // ftStatus = myFtdiDevice.EEWriteUserArea(tablica);<br />                if (ftStatus != FTDI.FT_STATUS.FT_OK)<br />                {<br />                    // Wait for a key press<br />                    Console.WriteLine(&quot;Failed to read device EEPROM (error &quot; + ftStatus.ToString() + &quot;)&quot;);<br />                    Console.ReadKey();<br />                    // Close the device<br />                    myFtdiDevice.Close();<br />                    return;<br />                }<br /><br />                // Write common EEPROM elements to our console<br />                Console.WriteLine(&quot;EEPROM Contents for device at index 0:&quot;);<br />                Console.WriteLine(&quot;Vendor ID: &quot; + String.Format(&quot;{0:x}&quot;, myEEData.VendorID));<br />                Console.WriteLine(&quot;Product ID: &quot; + String.Format(&quot;{0:x}&quot;, myEEData.ProductID));<br />                Console.WriteLine(&quot;Manufacturer: &quot; + myEEData.Manufacturer.ToString());<br />                Console.WriteLine(&quot;Manufacturer ID: &quot; + myEEData.ManufacturerID.ToString());<br />                Console.WriteLine(&quot;Description: &quot; + myEEData.Description.ToString());<br />                Console.WriteLine(&quot;Serial Number: &quot; + myEEData.SerialNumber.ToString());<br />                Console.WriteLine(&quot;Max Power: &quot; + myEEData.MaxPower.ToString() + &quot;mA&quot;);<br />                Console.WriteLine(&quot;Self Powered: &quot; + myEEData.SelfPowered.ToString());<br />                Console.WriteLine(&quot;Remote Wakeup Enabled: &quot; + myEEData.RemoteWakeup.ToString());<br />               <br />                Console.WriteLine(&quot;&quot;);<br /><br />                // Change our serial number to write back to device<br />                // By setting to an empty string, we allow the FTD2XX DLL <br />                // to generate a serial number<br />                myEEData.SerialNumber = String.Empty;<br /><br />                // Write our modified data structure back to the device EEPROM<br />                // This can throw an exception if trying to write a device type that does not <br />                // match the EEPROM structure being used, so should always use a <br />                // try - catch block when calling<br />                <br />            }<br />            else if (ftdiDeviceList&#91;0&#93;.Type == FTDI.FT_DEVICE.FT_DEVICE_2232)<br />            {<br />                // We have an FT2232 so use FT2232 EEPROM structure<br />                FTDI.FT2232_EEPROM_STRUCTURE myEEData = new FTDI.FT2232_EEPROM_STRUCTURE();<br />                // Read the device EEPROM<br />                ftStatus = myFtdiDevice.ReadFT2232EEPROM(myEEData);<br />                // This can throw an exception if trying to read a device type that does not <br />                // match the EEPROM structure being used, so should always use a <br />                // try - catch block when calling<br />                try<br />                {<br />                    ftStatus = myFtdiDevice.ReadFT2232EEPROM(myEEData);<br />                }<br />                catch (FTDI.FT_EXCEPTION)<br />                {<br />                    Console.WriteLine(&quot;Exception thrown when calling ReadFT2232EEPROM&quot;);<br />                }<br /><br />                if (ftStatus != FTDI.FT_STATUS.FT_OK)<br />                {<br />                    // Wait for a key press<br />                    Console.WriteLine(&quot;Failed to read device EEPROM (error &quot; + ftStatus.ToString() + &quot;)&quot;);<br />                    Console.ReadKey();<br />                    // Close the device<br />                    myFtdiDevice.Close();<br />                    return;<br />                }<br /><br />                // Write common EEPROM elements to our console<br />                Console.WriteLine(&quot;EEPROM Contents for device at index 0:&quot;);<br />                Console.WriteLine(&quot;Vendor ID: &quot; + String.Format(&quot;{0:x}&quot;, myEEData.VendorID));<br />                Console.WriteLine(&quot;Product ID: &quot; + String.Format(&quot;{0:x}&quot;, myEEData.ProductID));<br />                Console.WriteLine(&quot;Manufacturer: &quot; + myEEData.Manufacturer.ToString());<br />                Console.WriteLine(&quot;Manufacturer ID: &quot; + myEEData.ManufacturerID.ToString());<br />                Console.WriteLine(&quot;Description: &quot; + myEEData.Description.ToString());<br />                Console.WriteLine(&quot;Serial Number: &quot; + myEEData.SerialNumber.ToString());<br />                Console.WriteLine(&quot;Max Power: &quot; + myEEData.MaxPower.ToString() + &quot;mA&quot;);<br />                Console.WriteLine(&quot;Self Powered: &quot; + myEEData.SelfPowered.ToString());<br />                Console.WriteLine(&quot;Remote Wakeup Enabled: &quot; + myEEData.RemoteWakeup.ToString());<br />                Console.WriteLine(&quot;&quot;);<br /><br />                // Change our serial number to write back to device<br />                // By setting to an empty string, we allow the FTD2XX DLL <br />                // to generate a serial number<br />                myEEData.SerialNumber = String.Empty;<br /><br />                // Write our modified data structure back to the device EEPROM<br />                // This can throw an exception if trying to write a device type that does not <br />                // match the EEPROM structure being used, so should always use a <br />                // try - catch block when calling<br />                <br />            }<br />            else if (ftdiDeviceList&#91;0&#93;.Type == FTDI.FT_DEVICE.FT_DEVICE_BM)<br />            {<br />                // We have an FT232B or FT245B so use FT232B EEPROM structure<br />                FTDI.FT232B_EEPROM_STRUCTURE myEEData = new FTDI.FT232B_EEPROM_STRUCTURE();<br />                // Read the device EEPROM<br />                ftStatus = myFtdiDevice.ReadFT232BEEPROM(myEEData);<br />                // This can throw an exception if trying to read a device type that does not <br />                // match the EEPROM structure being used, so should always use a <br />                // try - catch block when calling<br />                try<br />                {<br />                    ftStatus = myFtdiDevice.ReadFT232BEEPROM(myEEData);<br />                }<br />                catch (FTDI.FT_EXCEPTION)<br />                {<br />                    Console.WriteLine(&quot;Exception thrown when calling ReadFT232BEEPROM&quot;);<br />                }<br /><br />                if (ftStatus != FTDI.FT_STATUS.FT_OK)<br />                {<br />                    // Wait for a key press<br />                    Console.WriteLine(&quot;Failed to read device EEPROM (error &quot; + ftStatus.ToString() + &quot;)&quot;);<br />                    Console.ReadKey();<br />                    // Close the device<br />                    myFtdiDevice.Close();<br />                    return;<br />                }<br /><br />                // Write common EEPROM elements to our console<br />                Console.WriteLine(&quot;EEPROM Contents for device at index 0:&quot;);<br />                Console.WriteLine(&quot;Vendor ID: &quot; + String.Format(&quot;{0:x}&quot;, myEEData.VendorID));<br />                Console.WriteLine(&quot;Product ID: &quot; + String.Format(&quot;{0:x}&quot;, myEEData.ProductID));<br />                Console.WriteLine(&quot;Manufacturer: &quot; + myEEData.Manufacturer.ToString());<br />                Console.WriteLine(&quot;Manufacturer ID: &quot; + myEEData.ManufacturerID.ToString());<br />                Console.WriteLine(&quot;Description: &quot; + myEEData.Description.ToString());<br />                Console.WriteLine(&quot;Serial Number: &quot; + myEEData.SerialNumber.ToString());<br />                Console.WriteLine(&quot;Max Power: &quot; + myEEData.MaxPower.ToString() + &quot;mA&quot;);<br />                Console.WriteLine(&quot;Self Powered: &quot; + myEEData.SelfPowered.ToString());<br />                Console.WriteLine(&quot;Remote Wakeup Enabled: &quot; + myEEData.RemoteWakeup.ToString());<br />                Console.WriteLine(&quot;&quot;);<br /><br />                // Change our serial number to write back to device<br />                // By setting to an empty string, we allow the FTD2XX DLL <br />                // to generate a serial number<br />                myEEData.SerialNumber = String.Empty;<br /><br />                // Write our modified data structure back to the device EEPROM<br />                // This can throw an exception if trying to write a device type that does not <br />                // match the EEPROM structure being used, so should always use a <br />                // try - catch block when calling<br />                <br />            }<br />           // ftStatus = myFtdiDevice.WriteEEPROMLocation(0x0005, (ushort)0x0008);<br /><br /><br /><br />            // Use cycle port to force a re-enumeration of the device.  <br />            // In the FTD2XX_NET class library, the cycle port method also <br />            // closes the open handle so no need to call the Close method separately.<br />            ftStatus = myFtdiDevice.CyclePort();<br /><br />            UInt32 newFtdiDeviceCount = 0;<br />            do<br />            {<br />                // Wait for device to be re-enumerated<br />                // The device will have the same location since it has not been <br />                // physically unplugged, so we will keep trying to open it until it succeeds<br />                ftStatus = myFtdiDevice.OpenByLocation(ftdiDeviceList&#91;0&#93;.LocId);<br />                Thread.Sleep(1000);<br />            } while (ftStatus != FTDI.FT_STATUS.FT_OK);<br /><br />            <br />                   <br />            // Close the device<br />            myFtdiDevice.Close();<br /><br />            // Re-create our device list<br />            ftStatus = myFtdiDevice.GetNumberOfDevices(ref newFtdiDeviceCount);<br />            if (ftStatus != FTDI.FT_STATUS.FT_OK)<br />            {<br />                // Wait for a key press<br />                Console.WriteLine(&quot;Failed to get number of devices (error &quot; + ftStatus.ToString() + &quot;)&quot;);<br />                Console.ReadKey();<br />                return;<br />            }<br /><br />            // Re-populate our device list<br />            ftStatus = myFtdiDevice.GetDeviceList(ftdiDeviceList);<br /><br />            if (ftStatus == FTDI.FT_STATUS.FT_OK)<br />            {<br />                for (UInt32 i = 0; i &lt; ftdiDeviceCount; i++)<br />                {<br />                    Console.WriteLine(&quot;Device Index: &quot; + i.ToString());<br />                    Console.WriteLine(&quot;Flags: &quot; + String.Format(&quot;{0:x}&quot;, ftdiDeviceList&#91;i&#93;.Flags));<br />                    Console.WriteLine(&quot;Type: &quot; + ftdiDeviceList&#91;i&#93;.Type.ToString());<br />                    Console.WriteLine(&quot;ID: &quot; + String.Format(&quot;{0:x}&quot;, ftdiDeviceList&#91;i&#93;.ID));<br />                    Console.WriteLine(&quot;Location ID: &quot; + String.Format(&quot;{0:x}&quot;, ftdiDeviceList&#91;i&#93;.LocId));<br />                    Console.WriteLine(&quot;Serial Number: &quot; + ftdiDeviceList&#91;i&#93;.SerialNumber.ToString());<br />                    Console.WriteLine(&quot;Description: &quot; + ftdiDeviceList&#91;i&#93;.Description.ToString());<br /><br />                    StringBuilder sb = new StringBuilder();<br />                    foreach (char t in ftdiDeviceList&#91;i&#93;.Description)<br />                    {<br />                        sb.Append(Convert.ToInt32(t).ToString(&quot;X4&quot;) + &quot; &quot;); //Note: X for upper, x for lower<br />                    }<br />                    Console.WriteLine(&quot;Description hex: &quot; + sb.ToString());<br /><br /><br />                    Console.WriteLine(&quot;&quot;);<br />                }<br />            }<br /><br />            // Wait for a key press<br />            Console.WriteLine(&quot;Press any key to continue.&quot;);<br />            Console.ReadKey();<br />            return;<br /><br />        }<br />    }<br />    <br />}[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1636">icer_cmg</a> — 7 mar 2017, o 20:17</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2017-03-07T17:20:10+01:00</updated>
<published>2017-03-07T17:20:10+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184274#p184274</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184274#p184274"/>
<title type="html"><![CDATA[Re: [C#][FT232RL] Potrzebna pomoc z myFtdiDevice.WriteEEPROM]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184274#p184274"><![CDATA[
Uzywales przykladow ze strony FTDI ? Czy sam budowales ?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 7 mar 2017, o 17:20</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[icer_cmg]]></name></author>
<updated>2017-03-06T20:49:16+01:00</updated>
<published>2017-03-06T20:49:16+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184198#p184198</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184198#p184198"/>
<title type="html"><![CDATA[[C#][FT232RL] Potrzebna pomoc z myFtdiDevice.WriteEEPROMLoca]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=17810&amp;p=184198#p184198"><![CDATA[
Mam mały problemik z ft232 i c#. Chciałem zrobić programik do małej automatyzacji i o ile funkcja myFtdiDevice.ReadEEPROMLocation puszczona od 0 do 120 idealnie odczytuje zawartość pamięci eeprom, to już myFtdiDevice.WriteEEPROMLoca niezależnie od tego jaką wartość chcę wpisać, zawsze wpisuje FFFF i tyle. Czy ktoś może zajmował się podobnym problemem lub tematem?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1636">icer_cmg</a> — 6 mar 2017, o 20:49</p><hr />
]]></content>
</entry>
</feed>