¿ªÔÆÌåÓý

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

Re: pickit2 questions


 

Hi Mike,
Most of the ATU-100's are shipped with the protection bits set, so you can¡¯t read or write to the EEPROM.
If you want to modify the EEPROM values, you will need to reprogram the PIC. There are several threads that cover this.
Example: /g/ATU100/message/2111
?
The hex file and User Manual are available from the GitHub site.

In brief, the steps I did using a PICkit were as follows.
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.
?
I had to update a few of the EEPROM address (cell) values, since the defaults were not set up for an OLED display.
Addr 0x00 - Changed from 4E to 78 (SH1106 I2C address)
Addr 0x01 - Changed from 01 to 05 (0.96 Inch OLED inverted)
Addr 0x07 - Changed from 01 to 00 (Offset down = 0)
Addr 0x08 - Changed from 02 to 00 (Offset from left = 0)
After updating the values, WRITE back to the PIC.
Read back the values and check they are as expected.
?
Other EEPROM values can be changed as required (refer to the User Manual).
Addr 0x05 - Minimum power. Default value 05 (5W). Change to 01 for 1W.? ?
Addr 0x31 - Tandem match turns ratio. Default value 10 (10:1). Change to 05 for 5:1 ratio.
?
I hope the information helps.
73, Dave

Join [email protected] to automatically receive all group messages.