DLL translation library

All about Sub-20 Multi Interface USB Adapter USB to I2C, SPI, GPIO, RS232, RS485, Ir, LCD

Moderator: serg

Post Reply
xol
Site Admin
Posts: 241
Joined: Sat Aug 29, 2009 8:04 am

DLL translation library

Post by xol »

Here are the steps to setup SUB-20 as a replacement for obsolete U2C-12 boards

1) Install latest SUB-20 software package (see viewtopic.php?f=2&t=3)
2) Update the SUB-20 firmware to the latest one(viewtopic.php?f=2&t=31#p69 )
3) Verify that everything works properly i.e. launch subtool and try to communicate with SUB-20 board
4) Rename and unzip the attached i2cbrdg.zip.
5) Rename the original i2cbrdg.dll to i2cbrdg_orig.dll in the system32 folder
6) Copy the attached i2cbrdg.dll to the system32 folder

Run your U2C application. If during U2C_OpenDevice no SUB-20 units can be found this dll will load original i2cbrdg_orig.dll and use it for any future calls.
Attachments
i2cbrdg.zip
Translation library
(33.06 KiB) Downloaded 1564 times

xol
Site Admin
Posts: 241
Joined: Sat Aug 29, 2009 8:04 am

Re: DLL translation library

Post by xol »

This is an INF file and DLLs for native U2C Devices based on WinUSB and running on 32 and 64 bit platforms
Attachments
i2cbrdg_winusb.zip
(14.51 KiB) Downloaded 1687 times

xol
Site Admin
Posts: 241
Joined: Sat Aug 29, 2009 8:04 am

Re: DLL translation library

Post by xol »

Below is a correspondence between U2C Ports and SUB-20 GPIO:

Code: Select all

| U2C Port    |  A  |  B   |   C   |  N/A  |
| SUB-20 GPIO | 0-7 | 8-15 | 16-23 | 24-32 | 
For instance: U2C Port B0 - SUB-20 GPIO8

Post Reply