Art
- 4th June 2005, 10:05
Hi Guys,
I'm having a little trouble with the initial setup of a 12c serial eeprom
in MPLAB. I've tried this:
org (1 *256) ; block = 1
;---------------------------------------------------
DT b'00101100' ; 2c
DT b'10101010' ; aa
DT b'00000100' ; 04
DT b'11001100' ; cc
DT b'00011101' ; 1d
DT b'01010010' ; 52
DT b'10011000' ; 98
DT b'01010011' ; 53 ..... and so on
But when compiling it, I get
"Undefined processor type" messages for every line.
I could enter these values manualy into the pic programmer window,
but I'm sure MPLAB can do it since there is provision to select eeproms
as a processor type when creating new projects.
Any ideas??
Cheers, Art.
I'm having a little trouble with the initial setup of a 12c serial eeprom
in MPLAB. I've tried this:
org (1 *256) ; block = 1
;---------------------------------------------------
DT b'00101100' ; 2c
DT b'10101010' ; aa
DT b'00000100' ; 04
DT b'11001100' ; cc
DT b'00011101' ; 1d
DT b'01010010' ; 52
DT b'10011000' ; 98
DT b'01010011' ; 53 ..... and so on
But when compiling it, I get
"Undefined processor type" messages for every line.
I could enter these values manualy into the pic programmer window,
but I'm sure MPLAB can do it since there is provision to select eeproms
as a processor type when creating new projects.
Any ideas??
Cheers, Art.