libftdi-git Archives

Subject: A library to talk to FTDI chips branch, master, updated. v1.2-5-g19f1452

From: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
To: libftdi-git@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 23 Jan 2015 11:38:42 +0100 (CET)
The branch, master has been updated
       via  19f1452cde9bfe9da0e2830af128fae958ae877a (commit)
      from  d160863c527c8a3fdf1e821a64c59192a2fc2150 (commit)


- Log -----------------------------------------------------------------
commit 19f1452cde9bfe9da0e2830af128fae958ae877a
Author: Robin Haberkorn <haberkorn@xxxxxxxxxxxx>
Date:   Fri Jan 23 11:37:14 2015 +0100

    fixed EEPROM user-area space checks for FT232R and FT245R chips in 
ftdi_eeprom_build()
    
    According to FTDI Application Note 121 ("Accessing the EEPROM User Area Of 
FTDI
    Devices"), the FT232R and FT245R chips have a total 48 words (96 bytes) of
    user area space available for descriptive strings.
    
    [Note from Thomas Jarosch: That has also been verified with "FT Prog" by 
Robin]

-----------------------------------------------------------------------

Summary of changes:
 src/ftdi.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 47e6959..ea487d0 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -2604,6 +2604,8 @@ int ftdi_eeprom_build(struct ftdi_context *ftdi)
             user_area_size = 90;     // two extra config bytes and 4 bytes PnP 
stuff
             break;
         case TYPE_R:
+            user_area_size = 96;
+            break;
         case TYPE_230X:
             user_area_size = 88;     // four extra config bytes + 4 bytes PnP 
stuff
             break;


hooks/post-receive
-- 
A library to talk to FTDI chips

--
libftdi-git - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi-git+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread
  • A library to talk to FTDI chips branch, master, updated. v1.2-5-g19f1452, libftdi-git <=