I feel like I am talking to myself here, it seems that there are no = MPLAB C18 users on this list, but I will give it one last chance. I have been struggling with the compiler and I have couple of questions, = please help if you know anything: 1. How do you set the configuration bits programmatically? 2. How do you write and read to eeprom (I tried "rom long eTest =3D = 0x1234;" but that does not seem to work, although I get no compiler = warnings/errors) 3. How do you define default values in the eeprom in C? In asm I just = write (org 0x2100 de "testing",0) 4. Sometimes, after I have the hex file without any compaints from the = compiler, I load it to the programmer (P16PRO, and load the hex file, = and I get "Checksum error in object file". Could this be because I = don't have the configuration bits in the hex file? If so, how come I = don't get this error all the time? The pic used is: 18F452 at 20Mhz. Please help if you know anything or at least where to get help about the = C18. Regards, Omer YALHI oyalhi@teksan.com.tr http://www.teksan.com.tr Tel : +90 212 613 22 00 Fax: +90 212 544 70 35 -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu