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
pickit2 questions
I just built an ATU-100 and it powered up fine.? I wound the transformer for 5:1 to use it for QRP.
?
I am struggling to edit the EEPROM settings with a pickit2.? I am using pickitminus software (the only software that could see the pickit2).
When I read from the ATU I get all zeroes in both the Program Memory and EEPROM Data sections.? If I edit and write to the ATU it appears to work, but when I reread from the ATU it is still all zeroes.
?
Do I need to do something with the software to get the pickit2 to read/write properly?? Would I be better off with a pickit3?
?
Thanks.
?
Mike, KL7MJ |
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 |
Hi Mike,
It¡¯s a couple of years since I last programmed my ATU-100. Does the device show as expected when connected to the programmer? I have attached a screenshot when I was programming the PIC. ?
?
Are all connections okay between the programmer and ATU-100 connector?
?
?
Are you powering the board from the programmer or via the ATU-100 power input?
?
If you are reading back 0xFF in all locations, it seems like the device has been erased, but it is not being programmed.
73, Dave |
Dave -
Thanks for the pictures.? I used external power the first time I tried (and failed) to program the ATU, but just used the programmer's power when I was able to write to the ATU.
I may have been using an incomplete hex file.? I'll try again tomorrow and hopefully it'll work!
?
73,
Mike, KL7MJ
? |
to navigate to use esc to dismiss