AT28C-EEPROM-Programmer-Arduino icon indicating copy to clipboard operation
AT28C-EEPROM-Programmer-Arduino copied to clipboard

Not using -l and -o in the python tool throws TypeError: 'NoneType' object is not subscriptable

Open esalgado opened this issue 1 year ago • 1 comments

Hello!

Those -l and -o options, are not optional!

File "/home/esalgado/Downloads/AT28C-EEPROM-Programmer-Arduino/at28c_programmer.py", line 84, in main str(addr - args.offset[0]) + " / " + str(len(contents))) TypeError: 'NoneType' object is not subscriptable

I needed to add the -l with the file size (-l 6374 ) and -o 0 for it to write data. It wrote the data perfectly.

Otherwise, excellent tool! I wanted to extend this to program AT29 chips, maybe it is as easy as adding some extra pins!! :)

esalgado avatar Nov 04 '22 20:11 esalgado