I've upgraded my compiler to support a new PICMicro, but the part doesn't appear in the dropdown list when I try to select it in CDLite.
CDLite has its own list of parts that must be updated separately. Since CodeDesigner is no longer supported by its author, you must edit this list manually to add the parts you need. If you don't feel comfortable with this procedure, we recommend you switch to MicroCode Studio, which automatically reads the supported parts from your compiler installation.
In the CDLite install directory (C:\CDLite), edit the file "device.ide". You can add parts to this list using the existing format. It's easiest to copy a line from a part that is similar to the new one (same number of pins), then just change the part number.
Here are a couple of examples of common parts in the list. Each entry in the files tells CodeDesigner what part number to use, whether to list it for the standard compiler (it always lists the part if you use PICBASIC PRO), and what ports and pins need to be color coded.
PIC16F877A:PBC:PORTA=6:PORTB=8:PORTC=8:PORTD=8:PORTE=3
part number: "PIC16F877A"
compatible with both PICBASIC and PICBASIC PRO: "PBC"
PORTA has 6 pins: "PORTA=6"
PORTB has 8 pins: "PORTB=8"
PORTC has 8 pins: "PORTC=8"
PORTD has 8 pins: "PORTD=8"
PORTE has 3 pins: "PORTE=3"
PIC18F252:PORTA=7:PORTB=8:PORTC=8
part number: "PIC18F452"
PICBASIC PRO only (not PBC)
PORTA has 7 pins: "PORTA=7"
PORTB has 8 pins: "PORTB=8"
PORTC has 8 pins: "PORTC=8"
Top