[an error occurred while processing this directive]
[an error occurred while processing this directive]
|
Делаю всё как написанно в руководстве по етому пику!
Write_eprom
movfw ByteWR
movwf EEDATA
movfw AddressWR
movwf EEADR ; Address to write
bsf STATUS,RP0
bcf INTCON,GIE
bsf EECON1,WREN ; Enable Write
movlw 55h ;?????????????????????
movwf EECON2 ; Write byte
movlw 0aah ;?????????????????????
movwf EECON2 ; Write byte
bsf EECON1,WR ; Set WR bit begin write
bsf INTCON,GIE
return
Читает как положено, а писать?????
Я ето всё дело смотрю в MPLAB- могет она (среда глючит)
Помогите!!!
Зараннее благодарен Сергей.
E-mail: info@telesys.ru