Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
how to get rid of all protect msg in pickit3
as an update, if i go into tools and look at code and data protect tabs they are greyed out,if i click check cominication i can then go and uncheck code and data protect,as soon as i try and read the pic the red all protect msg shows,how do i fix this?,i am trying to read the code from a new pcb to my old one that dont work with my oled display.,help someone please+73.
|
Hi Paul, After disabling the code and data protect bits you need to write to the device.
Import the reference github hex file.
? Turn off the protection settings in the tools tab.
? ? Enable Code Protect. Set to off.
? ? Enable Data Protect. Set to off.
? Write the image to the PIC. This will write the program and data values.
? Read back the PIC and the program and data values should be shown.
?
Update the EEPROM values as required.
? EEPROM Addr 0x00 - Change from 4E to 78 (SH1106 I2C address)
? EEPROM Addr 0x01 - Change from 01 to 05 (0.96 Inch OLED inverted)
? After updating the values, WRITE back to the PIC.
? Read back the values and check they are as expected.
73, Dave ? |
Hi Paul,
Looking at the screen shot, is it showing the readback values or the values you tried to write? A point to note is that the /MCLR option on the main screen should not be selected. This holds the device in reset. Unselect this option. Another valid OLED value to try in EEPROM Addr 0 is 7A instead of 78, but all OLED displays I have used work with 78. The meaning of the cells is covered in the manual on the github link that I had previous sent. 73, Dave |
¿ªÔÆÌåÓýand the address can be modified using the three links A1, A2, A3
just below the contrast pot. see the PCF8574 datasheet for details On 13/06/2023 12:02, Dave (G8PTN)
wrote:
Hi Paul, |
ok i cleaned the ic2 pcb and read it as 8574t,but the issue is the words all protect are in red,if i go into tools and look at code and data protect they are greyed out until i go tools check cominication,i can then go back and uncheck data and code protect but as soon as i try and read the ayu pic it goes to all protect in red againe,how do i fix that?.
|
well i flashed the 3.2 fw and had code and data protect turned off,it seems to have removed the all protect warning in red,i am trying to make it work with the lcd with ic2 pcb,i changed one cell to 7E,top row 2nd one from the left,is that ok?,i get a blank screen,see pic how do i fix it?,thanks+ 73.
|
to navigate to use esc to dismiss