• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

TashTrio: ADB Keyboard, Mouse, and Modem too!

Angelov68k

Member
Alright, it is good news then - more or less the mistery is clear now!

As this is my first ever exposure to PIC(12), I have misread the sheet that the micro *requires* LVP, so I naively went for that.
I see now what you say that MCLRE has to be OFF in order to have RA3 not be reset only... Dang.
Thank you for the generous offer to send me chip, but I am too impatient (and invested) for that 😅
Is there difference between PICkit2 and PICkit3 in relation to the HVP for this PIC12?

Would it be possible to change the PS/2 keyboard data pin with one of the UART (RA0 or RA1) pins for the keyboard input?
(So that it would not matter LVP or HVP program the chip - you will have keyboard+mouse, but maybe not modem.)
 

tashtari

PIC Whisperer
Is there difference between PICkit2 and PICkit3 in relation to the HVP for this PIC12?
I think the PICkit2 is old enough that it might not be able to put out the right voltage for high voltage programming. You might be able to use it with a circuit designed to limit the voltage, but it looks like MPLAB 8 doesn't support the PICkit2 at all, so I expect that MPLAB X doesn't either. Maybe third party software still does? Not sure.

Would it be possible to change the PS/2 keyboard data pin with one of the UART (RA0 or RA1) pins for the keyboard input?
This should work. I think the easiest way to do it would be to use RA1 as the keyboard input - it's already an input so you should only have to change PP_KPIN equ RA3 to point to RA1 instead and rebuild the code.
 

Angelov68k

Member
And of course - it works! Thanks a lot! Your support is much appreciated!
I am drafting a small KiCad file in addition for your firmware. Going to transfer the latest updates from the protoboard into it.
 

NJRoadfan

Well-known member
PICKitminus will likely be able to program the part with the PICKit2. With how cheap the knockoff PICKit3s are on ebay (under $20), might as well just get one of those.
 
Top