#!/usr/bin/env python # -*- coding: cp1252 -*- fEeprom=open("/sys/devices/platform/i2c_omap.2/i2c-2/2-0050/eeprom", "r+b") fEeprom.seek(4096) s_string=fEeprom.read(468) fEeprom.close() fFile=open("/opt/ti-wireless/WL6.1.6.0.3/nvs_map.bin", "w+r+b") fFile.write(s_string) fFile.close