On 22 November 2010 22:29, KPL wrote: > Ok, in this case there was quite specific problem in my question, but > thread went a bit off-topic. > Sdcc itself was not the root of a problem, code itself works fine. I > do not think I will anytime soon get to the limitations of sdcc. > > My aims? Probably a bit of all mentioned - spend my free time using > things I already have or can use for free, and learning things along > the way. Much better than watching TV, even if nothing particularily > usefull comes out. If you want to program the EEPROM from Linux, you can use pk2cmd - I've done it before. 'All' you need to do is create a hex file for the EEPROM data, and find the correct address for the EEPROM data in the hex file. (Also, I think you need to pad the EEPROM data in the hex file to 16 bits?) If you need more info, I'll see if I can find the old Makefile I used for t= his. Matt --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .