IO Device:F75113 LPC under Windows(64bit)

From LEXWiKi

(Difference between revisions)
Jump to: navigation, search
Current revision (16:20, 19 July 2023) (edit) (undo)
 
(11 intermediate revisions not shown.)
Line 2: Line 2:
== The Sample code source you can download from ==
== The Sample code source you can download from ==
'''If you encounter the situation can not download, please replace the browser recommendations:. IE, FIREFOX'''<BR/>
'''If you encounter the situation can not download, please replace the browser recommendations:. IE, FIREFOX'''<BR/>
-
Source file: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F75113/Windows/LPC/F75113v2.5.1W_src.zip F75113v2.5.1W_src.zip]
 
-
Binary file: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F75113/Windows/LPC/F75113v2.5.1W_bin_x64.zip F75113v2.5.1W_bin_x64.zip]
+
<Google Drive>
 +
 
 +
Source file: [https://drive.google.com/file/d/1lhsnO9a8-tvux6IsewNNkbRmEXoPdji4/view?usp=sharing F75113v2.5.2W_Src]
 +
 
 +
Binary file: [https://drive.google.com/file/d/1Pu6SzWJIS2-o0Rr3aPklj-gLs5UANi1p/view?usp=sharing F75113v2.5.2W_Bin_x64]
 +
 
 +
Binary file: [https://drive.google.com/file/d/1pfd0yOhU1_TK2LKNnymKQOHDFTYsfko_/view?usp=sharing F75113v2.5.2W_Bin_x86]
 +
 
 +
SDK: [https://drive.google.com/file/d/1nuahJholXskdnbRy-AIgtiS8bmUoQucQ/view?usp=drive_link F75113_Sample]
 +
[https://drive.google.com/file/d/1y0hQbjzLzyx0t4J6ubOTnLtIo07h6xgH/view?usp=drive_link Fintek_DLL_x64]
 +
 
 +
<FTP>
 +
 
 +
Source file: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F75113/Windows/LPC/F75113v2.5.2_W_LPC_src.zip F75113v2.5.2_W_LPC_Src]
 +
 
 +
Binary file: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F75113/Windows/LPC/F75113V2.5.2_W_LPC_bin_x64.zip F75113v2.5.2_W_LPC_Bin_x64]
 +
 
 +
Binary file: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F75113/Windows/LPC/F75113V2.5.2_W_LPC_bin_x86.zip F75113v2.5.2W_LPC_Bin_x64]
 +
 
 +
SDK: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F75113/Windows/LPC/F75113_sample.zip F75113_Sample]
 +
[ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F75113/Windows/LPC/Fintek_DLL_x64.zip Fintek_DLL_x64]
 +
 
-
SDK: [ftp://ftp.lex.com.tw/Engineer/SoftSupport/AP_Module/F75113/Windows/LPC/F75113_sample.zip.zip F75113_sample.zip.zip]
 
We do the demo test with a test tool which DIx connect to DOx with Relay.
We do the demo test with a test tool which DIx connect to DOx with Relay.
Line 62: Line 81:
[[Image:t5.jpg]]
[[Image:t5.jpg]]
 +
 +
== F75113 WDT Picture ==
 +
 +
[[Image:wdt.jpg]]
== Introduction ==
== Introduction ==

Current revision

Contents

The Sample code source you can download from

If you encounter the situation can not download, please replace the browser recommendations:. IE, FIREFOX

<Google Drive>

Source file: F75113v2.5.2W_Src

Binary file: F75113v2.5.2W_Bin_x64

Binary file: F75113v2.5.2W_Bin_x86

SDK: F75113_Sample Fintek_DLL_x64

<FTP>

Source file: F75113v2.5.2_W_LPC_Src

Binary file: F75113v2.5.2_W_LPC_Bin_x64

Binary file: F75113v2.5.2W_LPC_Bin_x64

SDK: F75113_Sample Fintek_DLL_x64


We do the demo test with a test tool which DIx connect to DOx with Relay.

MB Support List

SKylake/Kab

3I610CW
3I610HW/BW
3I610NX
PM170DW

Card

M113A

edit table


How to use this Demo Application

Image:F75113picterv2.5.jpg

1. Press the "Test" button to test CIO1 function

2. Press the "C2test" button to test CIO2 function

3. Press the "C3test" button to test CIO3 function

4. Press the "C4test" button to test CIO4 function

If the next picture appears

Image:t3.jpg

MB no LPC or the drive placement is wrong

Drive the location for the next picture

Image:F75113v2.0folder.jpg

F75113 GPIO Picture

Image:t5.jpg

F75113 WDT Picture

Image:wdt.jpg

Introduction

F75113 driver connection

 hinstLib = LoadLibrary(L"Fintek.dll");
 if (hinstLib == NULL)
 {
    if(Application->MessageBoxW(L"Load fail Fintek.dll,Continued?",L"Error",16+4)==IDNO)
    {
      Application->Terminate();
    }
      return; 
 }

GPIO Status Register Write

 SETINT2PROC ProcAdd;
 char *endptr;
 char Numbers[] = "0x20";
 char Value[] =   "0xF0";
 ProcAdd = (SETINT2PROC) GetProcAddress(hinstLib, "GPIO_LPC_W");
 if (NULL != ProcAdd)
 {
   if (! (*ProcAdd)( strtol(Numbers, &endptr, 16), strtol(Value, &endptr, 16)))
   {
     ShowMessage("Write Fail");
   }
 }

GPIO Status Register Read

 GETINT2PROC ProcAdd1;
 int datatest;
 char NRtest[] = "0x22";
 ProcAdd1 = (GETINT2PROC) GetProcAddress(hinstLib, "GPIO_LPC_R");
 if (NULL != ProcAdd1)
 {
   if (! (*ProcAdd1)( strtol(NRtest, &endptr, 16), &datatest))
   {
     ShowMessage("Read Fail");
   }
 }

GPIO Comparison

 if( data == 0xF0 )
 {
  ((CStatic *)GetDlgItem(IDC_LED_DO0))->SetBitmap(::LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP_Green)));
  ((CStatic *)GetDlgItem(IDC_LED_DO1))->SetBitmap(::LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP_Green)));
  ((CStatic *)GetDlgItem(IDC_LED_DO2))->SetBitmap(::LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP_Green)));
  ((CStatic *)GetDlgItem(IDC_LED_DO3))->SetBitmap(::LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP_Green)));	
   if( data2 == 0x01 )
   {
     ((CStatic *)GetDlgItem(IDC_LED_DI0))->SetBitmap(::LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP_Green)));
     ((CStatic *)GetDlgItem(IDC_LED_DI1))->SetBitmap(::LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP_Red)));
     ((CStatic *)GetDlgItem(IDC_LED_DI2))->SetBitmap(::LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP_Red)));
     ((CStatic *)GetDlgItem(IDC_LED_DI4))->SetBitmap(::LoadBitmap(AfxGetInstanceHandle(),MAKEINTRESOURCE(IDB_BITMAP_Red)));
   }
   .....
 }

F75113 driver delete

  char N9[] = "0x10";
  char V9[] = "0x00";
  ProcAdd = (SETINT2PROC) GetProcAddress(hinstLib, "GPIO_LPC_W");
   if (NULL != ProcAdd)
    {
     if (! (*ProcAdd)( strtol(N9, &endptr, 16), strtol(V9, &endptr, 16)))
      {
       ShowMessage("Write Fail");
      }
    }
    if (hinstLib != NULL)
    {
     FreeLibrary(hinstLib);
    }

Version update details

Version 2.1 update code removes default naming change to wafer name and write comment

Personal tools