SUB-20 based Universal EEPROM Programmer

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

SUB-20 based Universal EEPROM Programmer

Post by xol »

In forthcoming release SUB-20 Tool will contain new tab - "PROGRAMMER". It will provide capability to program most popular I2C EEPROMs. In future tool will be extended to program SPI EEPROMs and other IC's like micro controllers with ISP (In-circuit programming).
clip0001.jpg
clip0001.jpg (74.35 KiB) Viewed 16611 times

serg
Posts: 143
Joined: Mon Aug 31, 2009 9:17 pm

Re: SUB-20 based Universal EEPROM Programmer

Post by serg »

subtool ver1.6.8 beta binary

You can extend the internal memory device list by
1) modifying the subtool application, i.e adding appropriate structure to the ProgDialog.cpp source file

/* i2c */

mem_dev_i2c_t def_i2c_dev[]=
{
{"AT24C01", 128, 8, 0x50},
{"AT24C01", 128, 8, 0x50},
{"AT24C02", 256, 8, 0x50},
{"AT24C04", 512, 16, 0x50},
{"AT24C08", 1024, 16, 0x50},
{"AT24C16", 2048, 16, 0x50},
{"AT24C1024", 131072, 256, 0x50},
{"24LC64", 8192, 32, 0x50},
};

2) adding I2C_DEV_XXX_Y parameters to the subtool.ini file at the end of [PROG] section. The subtool.ini file is located in the same directory i.e C:\Program Files\SUB-20\bin

For example:

[PROG]
...
...
DEVICE=6
I2C_ADDR=50
...

I2C_DEV_NAME_0=24LC64
I2C_DEV_ADDR_0=0x50
I2C_DEV_CAPACITY_0=8192
I2C_DEV_PAGE_SIZE_0=32
I2C_DEV_FLAGS_0=0

I2C_DEV_NAME_1=24LC256
I2C_DEV_ADDR_1=0x50
I2C_DEV_CAPACITY_1=32768
I2C_DEV_PAGE_SIZE_1=64
I2C_DEV_FLAGS_1=0

v1.6.9
-fixed bug related to waiting for i2c device ready during write operation
-added "verify" button
Attachments
subtool169.zip
(142.84 KiB) Downloaded 1558 times

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

Re: SUB-20 based Universal EEPROM Programmer

Post by xol »

In SUB-20 Tool 1.6.16 added support for SPI devices.

Currently supported SPI devices are:
AT25Fxxxx
NMC93xx

Currently supported I2C devices are:

AT24CXX
24LC64

Post Reply