¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

how to get rid of all protect msg in pickit3


 

i am trying to program my atu-100,ir has the 16e 1938,in pickit3 it says in red all rotect so i cant write to it,how do i fix it so i can write too the pcb onboard pic with the pickit3 programmer,73.


 

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
?


 

i can only turn off all rotect after dlicking the check comunication on the tools menu,if i dont do that first the data and code protect are greyed out,after changing it reverts to all protect againe.


 

this is what i managed to write to the pic but still no oled working.


 

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


 

great,i finaly have it working with the oled,now how do i get it working with an led peadout,i have a 2 row lcd with the i2 squared piggyback board,its the one normaly used with arduino,i cant remember its name.,what do i need to alter for that to work with this pcb?,cheers+73.


 

Hi Paul,
As stated in the manual, for the PCF8574AT and 1602 LCD, the EEPROM values should be.
EEPROM Addr 0 = 4E
EEPROM Addr 1 = 01

73, Dave


 

but i have pic 1938 tho dave not pcf8574at.


 

¿ªÔÆÌåÓý

ROFL

On 13/06/2023 11:54, Paul M3VUV wrote:

but i have pic 1938 tho dave not pcf8574at.


 

Hi Paul,
The value depends on the device on the I2C adapter board.
From the manual:
PCF8574AT, EEPROM Addr 0 = 7E
PCF8574T, EEPROM Addr = 4E
73,Dave


 

Hi Paul,
I think most i2C adapter boards with the 1602 displays have the PCF8574T, so EEPROM Addr 0 = 4E.



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,
The value depends on the device on the I2C adapter board.
From the manual:
PCF8574AT, EEPROM Addr 0 = 7E
PCF8574T, EEPROM Addr = 4E
73,Dave


 

from what i can read on my 1c2 adaptor bord chip number it looks like 87541,does that look plausable,if so what too change /program into the atu pcb pic?,thanks.


 

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.