On 20/11/2010 19:18, KPL wrote: > Hi, > > I'm trying to learn sdcc for pic, on linux. I have almost no > experience using C at all, so probably missing something very simple. > > There must be a way to define contents of EEPROM that should be > programmed when the code is being programmed into chip. I do not see > clear description in sdcc manual, probably that's something that > should be obvious for a C user? Seems like that should be done using > preprocessor commands, but those are not clear to me yet. > Can anybody direct me to some description or example? > > Currently I'm using pic16f88 and pickit2. > I don't know if it's the same with Linux, but on Windows using the=20 PicKit2 software you can program the EEPROM directly (on it's own if you=20 want) by just typing the values required into the EEPROM data window,=20 then hitting write (untick the "enabled" box next to the program memory=20 window if you don't want to program that too) --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .