Ralph, For a starting point on setting up a program for the 16F88 look at the template. Look in program files\MPLAB_IDE\Mchip_tools\template\code\f88.temp.asm. Copy it to your working directory and re-name it to whatever. It has the setup done waiting for you to make any needed changes and start codeing. If the board you're using supports in-system programming it's an easy way to go. See Sparkfun website for a cheap programmer for this. Rod Ralph Seguin wrote: > I can't get this simple program to program or work. > > Configuration: > PIC16F88-I/P on an Olimex PG4-D board, 20 MHz crystal (http://olimex.com/dev) > Serial port cable from IBM Thinkpad T30 (on a dock/port replicator) > running Windows 2000. > ICPROG 1.05C, configured for Windows API (as per directions for > Windows NT --> 2000) and for 16F84A (there was no 16F88 line). > MPLAB 6.60 > > Config lines in the .asm file: > __CONFIG _CONFIG1, _CP_OFF & _CCP1_RB3 & _DEBUG_OFF & > _CPD_OFF & _LVP_OFF & _BODEN_ON & _MCLR_OFF & _PWRTE_ON & _WDT_OFF & > _HS_OSC > __CONFIG _CONFIG2, _IESO_OFF & _FCMEN_OFF > > Firstly, a number of constants don't seem to be defined > (_WRT_ENABLE_OFF is not defined, so I removed it from the _config > line) in the include file. > When I used ICPROG to write it, it failed on the readback/compare. > > Anybody have a reasonable config value or list for this MCU? > Anybody have a working program and/or MPLAB project to blink the LED > (connected to RA2 on the Olimex PG4-D board) for the 16F88-I/P? > Set of sample programs for the 16F88? 16F877A (which I'm going to > stick on an Olimex P40-B)? > > Thanks. > -Ralph > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist