Memo for PIC Writer : ICSP and we build one more socket
[caption id="attachment_545" align="alignnone" width="300"]
To write program in Flash Memory in PIC16F84A, we must use ICSP.
ICSP is, In Circuit Serial Programming.
Pin for ICSP PIC16F84A are;
PIC16F84A 12 RB6 CLOCK
PIC16F84A 13 RB7 DATA
PIC16F84A 4 MCLR VTEST
PIC16F84A 14 VDD Voltage
PIC16F84A 5 VSS GND
Then, we will build one more socket for ICSP.
Connection is;
Socket 1 - 12 PIC16F84A RB6 CLOCK
Socket 2 - 13 PIC16F84A RB7 DATA
Socket 3 - 4 PIC16F84A MCLR VTEST
Socket 4 - 14 PIC16F84A VDD Voltage
Socket 5 - 5 PIC16F84A VSS GND
Socket 6 - N.C.
We will use socket for flat cable, 3 lines x 2 (or 4 lines x 2, N.C. is 6, 7, 8).
Socket and IC layout will be later.
We will build one more socket for ICSP, on our PIC16F84A CPU Board.
Not switch on PIC16F84A CPU Board when PIC writing.
Not connect CPU Direct Bus to another board.
This ICSP Socket connect to PIC Writer Board.
VDD, DC power for PIC16F84A is from PIC Writer Board, not PIC CPU Board.
We will make next PIC16F84A CPU Board with PIC16F84A 5 Volts, 4 MHz.
We want to test YAMAHA YMZ294 sound IC.
We will check 4.5 Volts (1.5 Volts x 3) is O.K., or not.
We will make 5 Volts PIC16F84A CPU Board and 5 Volts PIC16F84A Writer Board first.
We will make 3.3 Volts version PIC16F84A Writer Board later.
3.3 Volts version PIC16F84A Writer Board was confusing, because we had to use RS232C level converter IC, MAX232 or MAX232 compatible.
We will insert voltage lines exchange switch between PIC16F84A and ICSP socket and PIC16F84A PIC CPU Board battery.
This switch is 2 lines exchange switch.
Circuit pattern will change.
Voltage lines exchange switch will be toggle switch, 2 switches toggle switch x 1.
PIC16F84A CPU Board Battery VDD - PIC16F84A
PIC16F84A CPU Board Battery VSS - PIC16F84A
switch to
PIC16F84A Writer Board Battery VDD - PIC16F84A
PIC16F84A Writer Board Battery VSS - PIC16F84A
Because we must stop Clock IC (Crystal Oscillator) on PIC16F84A CPU Board when PIC writing.
Clock for PIC writing is from PIC16F84A Writer Board.
O.K. ?
Please write circuit draft by you.
This circuit is not so difficult.
(Photo AFP – Toshiki Shirose)
(R.S.F. toshiki speed news press, Agence France-Presse, 22 Friday August 2014 The Roman)
We use 4ch DIP switch ?
DIP switch is On and Off circuit lines.
CPU Board Battery + - DIP switch - CPU Board PIC16F84A VDD
CPU Board Battery - - DIP switch - CPU Board PIC16F84A VSS
CPU Board Battery + - DIP switch - CPU Board Crystal Oscillator VDD
CPU Board Battery - - DIP switch - CPU Board Crystal Oscillator VSS
We do not cut PIC Writer Board 6 pin socket to PIC16F84A.
We connect PIC Writer Board only when PIC writing.
Please write this circuit draft.
This is an easy.
(R.S.F. toshiki speed news press, Agence France-Presse, 24 Sunday August 2014 The Roman)