I recently built this programmer (v0.11.2) and compiled the op.exe (MinGW on Windows 7 64bit) with updates to enable LVP on the 12F1572 and 16F18446:
(deviceRW.c)
I was able to confirm read/writes work with LVP on 12F1572 but can't seem to get LVP on 16F18446 to read at all. The device ID, config words, etc.. all read as 0x0000. I confirmed the 16F18446 chip is functional with LVP enabled by borrowing a PICKit3 Programmer. Ideally I'd like to use the Open Programmer as the command line interface is much faster and customizable! Any ideas on what to check for? Have any 16F18xxx micros been confirmed to work with LVP?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess you're the first one to use LVP.
I only tried it long time ago and never bothered to keep it up to date.
So thanks for trying and sharing, I will modify the code as you suggested.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2021-02-09
Sounds good! I tested LVP writes also and they work with the same modification to Write16F18xxx(). Haven't tested the -ee option yet
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I recently built this programmer (v0.11.2) and compiled the op.exe (MinGW on Windows 7 64bit) with updates to enable LVP on the 12F1572 and 16F18446:
(deviceRW.c)
I was able to confirm read/writes work with LVP on 12F1572 but can't seem to get LVP on 16F18446 to read at all. The device ID, config words, etc.. all read as 0x0000. I confirmed the 16F18446 chip is functional with LVP enabled by borrowing a PICKit3 Programmer. Ideally I'd like to use the Open Programmer as the command line interface is much faster and customizable! Any ideas on what to check for? Have any 16F18xxx micros been confirmed to work with LVP?
I think I found the issue! The 16F184xx family requires the LVP entry code to be MSb -> LSb and 32 clocks not 33:
progP16.c --Read16F18xxx()
So far reads are working on the 16F18446 with LVP! Will check on the writes and report back...
I guess you're the first one to use LVP.
I only tried it long time ago and never bothered to keep it up to date.
So thanks for trying and sharing, I will modify the code as you suggested.
Sounds good! I tested LVP writes also and they work with the same modification to Write16F18xxx(). Haven't tested the -ee option yet