>> There must be a way to define contents of EEPROM that should be >> programmed when the code is being programmed into chip. Ive used sdcc for a while , as far as I know they do not exist. you best be= t in my mind would be to paste in whatever data you need in the eeprom into piklab (The only linux microcontroller IDE I know of), after reading the chip all data fields are editable so you could paste whatever you want into the data EEPROM field and hit "program" and that generally will cover most eeprom needs. Ive got no idea how to program eeprom if your just using the command line or running a wine emulation of mplab. anyways it sounds like a good opportunity to suggest some decent improvements for sdcc (though, sdcc is a c compiler, not a eeprom programmer) On Sat, Nov 20, 2010 at 2:18 PM, 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. > > -- > KPL > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 Jason White - Python & C++ Programmer and Electronics Hobbyist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .