Home » Archimedes archive » Acorn User » AU 1997-09 B.adf » Regulars » RunTheRisc/!Blower/!Help
RunTheRisc/!Blower/!Help
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Archimedes archive » Acorn User » AU 1997-09 B.adf » Regulars |
Filename: | RunTheRisc/!Blower/!Help |
Read OK: | ✔ |
File size: | 085F bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
PIC 16C84 Programmer V1.1 - Using Maplin's hardware Copyright Mike Cook 1997 - Musbury Consultants - all rights reserved 01706 216701 5 Helmshore Rd, Haslingden, Rossendale, Lancs. BB4 4BG The PIC16C84 is a programmable micro controller. This application takes an object code file and programs the chip. The PIC blower was featured in The Maplin Magazine 'Electronics' September 1996. Choose the action you want to perform from:- Read, Verify, Blow, Erase. Click on the bottom right hand button to preform the task. To Blow or Verify a chip you need first to have draged a HEX file into the window. The data in the HEX file is treated in the following way:- Addresses 0 to &3FF - Program instructions Addresses &2000 to &2003 - ID bytes Address &2007 - Configuration fuse Addresses &2100 to &213F - Data Memory These addresses are also used when a PIC is read and its contents saved as a file. Addresses outside this range will be wraped round. Saving as a file dumps the whole of the address space, even blanks. Notes 1) The configuration options are taken from the window icons. 2) You only need to perform an erase when blowing a chip that has the code protection set. Otherwise the programming writes over the old data. 3) Once the code protection is set any reads to the chip produce rubbish. However, it is repeatable rubbish so you can use the information for verification. 4) If after reading a PIC the code protection icon (CP) is ticked then the resulting data should only be used for verifying code protected PICs. 5) The blower accepts assembled code in HEX DATA file, in the 16 Bit WORD format and Intel Byte order, with a file type &084. If the 'Load' menu option is active then the memory is wiped before the file is read in. Otherwise the file overwrites what is already in the memory thus allowing you to merge two data sets if the files contain different areas of memory. 6) Verify does not check the ID bytes or configuration fuse. Legal stuff. I do not accept responsibility for anything:- Bosnia, Northern Ireland, the Middle East or anything this program may or may not do.
00000000 50 49 43 20 31 36 43 38 34 20 50 72 6f 67 72 61 |PIC 16C84 Progra| 00000010 6d 6d 65 72 20 56 31 2e 31 20 2d 20 55 73 69 6e |mmer V1.1 - Usin| 00000020 67 20 4d 61 70 6c 69 6e 27 73 20 68 61 72 64 77 |g Maplin's hardw| 00000030 61 72 65 0a 43 6f 70 79 72 69 67 68 74 20 4d 69 |are.Copyright Mi| 00000040 6b 65 20 43 6f 6f 6b 20 31 39 39 37 20 20 2d 20 |ke Cook 1997 - | 00000050 4d 75 73 62 75 72 79 20 43 6f 6e 73 75 6c 74 61 |Musbury Consulta| 00000060 6e 74 73 20 2d 20 61 6c 6c 20 72 69 67 68 74 73 |nts - all rights| 00000070 20 72 65 73 65 72 76 65 64 0a 30 31 37 30 36 20 | reserved.01706 | 00000080 32 31 36 37 30 31 0a 35 20 48 65 6c 6d 73 68 6f |216701.5 Helmsho| 00000090 72 65 20 52 64 2c 0a 48 61 73 6c 69 6e 67 64 65 |re Rd,.Haslingde| 000000a0 6e 2c 0a 52 6f 73 73 65 6e 64 61 6c 65 2c 0a 4c |n,.Rossendale,.L| 000000b0 61 6e 63 73 2e 0a 42 42 34 20 34 42 47 0a 0a 54 |ancs..BB4 4BG..T| 000000c0 68 65 20 50 49 43 31 36 43 38 34 20 69 73 20 61 |he PIC16C84 is a| 000000d0 20 70 72 6f 67 72 61 6d 6d 61 62 6c 65 20 6d 69 | programmable mi| 000000e0 63 72 6f 20 63 6f 6e 74 72 6f 6c 6c 65 72 2e 0a |cro controller..| 000000f0 54 68 69 73 20 61 70 70 6c 69 63 61 74 69 6f 6e |This application| 00000100 20 74 61 6b 65 73 20 61 6e 20 6f 62 6a 65 63 74 | takes an object| 00000110 20 63 6f 64 65 20 66 69 6c 65 20 61 6e 64 20 70 | code file and p| 00000120 72 6f 67 72 61 6d 73 20 74 68 65 20 63 68 69 70 |rograms the chip| 00000130 2e 0a 54 68 65 20 50 49 43 20 62 6c 6f 77 65 72 |..The PIC blower| 00000140 20 77 61 73 20 66 65 61 74 75 72 65 64 20 69 6e | was featured in| 00000150 20 54 68 65 20 4d 61 70 6c 69 6e 20 4d 61 67 61 | The Maplin Maga| 00000160 7a 69 6e 65 20 27 45 6c 65 63 74 72 6f 6e 69 63 |zine 'Electronic| 00000170 73 27 0a 53 65 70 74 65 6d 62 65 72 20 31 39 39 |s'.September 199| 00000180 36 2e 0a 0a 43 68 6f 6f 73 65 20 74 68 65 20 61 |6...Choose the a| 00000190 63 74 69 6f 6e 20 79 6f 75 20 77 61 6e 74 20 74 |ction you want t| 000001a0 6f 20 70 65 72 66 6f 72 6d 20 66 72 6f 6d 3a 2d |o perform from:-| 000001b0 20 52 65 61 64 2c 20 56 65 72 69 66 79 2c 20 42 | Read, Verify, B| 000001c0 6c 6f 77 2c 20 45 72 61 73 65 2e 0a 43 6c 69 63 |low, Erase..Clic| 000001d0 6b 20 6f 6e 20 74 68 65 20 62 6f 74 74 6f 6d 20 |k on the bottom | 000001e0 72 69 67 68 74 20 68 61 6e 64 20 62 75 74 74 6f |right hand butto| 000001f0 6e 20 74 6f 20 70 72 65 66 6f 72 6d 20 74 68 65 |n to preform the| 00000200 20 74 61 73 6b 2e 0a 54 6f 20 42 6c 6f 77 20 6f | task..To Blow o| 00000210 72 20 56 65 72 69 66 79 20 61 20 63 68 69 70 20 |r Verify a chip | 00000220 79 6f 75 20 6e 65 65 64 20 66 69 72 73 74 20 74 |you need first t| 00000230 6f 20 68 61 76 65 20 64 72 61 67 65 64 20 61 20 |o have draged a | 00000240 48 45 58 20 66 69 6c 65 20 69 6e 74 6f 20 74 68 |HEX file into th| 00000250 65 20 77 69 6e 64 6f 77 2e 0a 54 68 65 20 64 61 |e window..The da| 00000260 74 61 20 69 6e 20 74 68 65 20 48 45 58 20 66 69 |ta in the HEX fi| 00000270 6c 65 20 69 73 20 74 72 65 61 74 65 64 20 69 6e |le is treated in| 00000280 20 74 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 77 | the following w| 00000290 61 79 3a 2d 0a 0a 41 64 64 72 65 73 73 65 73 20 |ay:-..Addresses | 000002a0 30 20 74 6f 20 26 33 46 46 20 20 20 20 20 20 2d |0 to &3FF -| 000002b0 20 50 72 6f 67 72 61 6d 20 69 6e 73 74 72 75 63 | Program instruc| 000002c0 74 69 6f 6e 73 0a 41 64 64 72 65 73 73 65 73 20 |tions.Addresses | 000002d0 26 32 30 30 30 20 74 6f 20 26 32 30 30 33 20 2d |&2000 to &2003 -| 000002e0 20 49 44 20 62 79 74 65 73 0a 41 64 64 72 65 73 | ID bytes.Addres| 000002f0 73 20 20 20 26 32 30 30 37 20 20 20 20 20 20 20 |s &2007 | 00000300 20 20 20 2d 20 43 6f 6e 66 69 67 75 72 61 74 69 | - Configurati| 00000310 6f 6e 20 66 75 73 65 0a 41 64 64 72 65 73 73 65 |on fuse.Addresse| 00000320 73 20 26 32 31 30 30 20 74 6f 20 26 32 31 33 46 |s &2100 to &213F| 00000330 20 2d 20 44 61 74 61 20 4d 65 6d 6f 72 79 0a 0a | - Data Memory..| 00000340 54 68 65 73 65 20 61 64 64 72 65 73 73 65 73 20 |These addresses | 00000350 61 72 65 20 61 6c 73 6f 20 75 73 65 64 20 77 68 |are also used wh| 00000360 65 6e 20 61 20 50 49 43 20 69 73 20 72 65 61 64 |en a PIC is read| 00000370 20 61 6e 64 20 69 74 73 20 63 6f 6e 74 65 6e 74 | and its content| 00000380 73 20 73 61 76 65 64 20 61 73 20 61 20 66 69 6c |s saved as a fil| 00000390 65 2e 0a 41 64 64 72 65 73 73 65 73 20 6f 75 74 |e..Addresses out| 000003a0 73 69 64 65 20 74 68 69 73 20 72 61 6e 67 65 20 |side this range | 000003b0 77 69 6c 6c 20 62 65 20 77 72 61 70 65 64 20 72 |will be wraped r| 000003c0 6f 75 6e 64 2e 0a 53 61 76 69 6e 67 20 61 73 20 |ound..Saving as | 000003d0 61 20 66 69 6c 65 20 64 75 6d 70 73 20 74 68 65 |a file dumps the| 000003e0 20 77 68 6f 6c 65 20 6f 66 20 74 68 65 20 61 64 | whole of the ad| 000003f0 64 72 65 73 73 20 73 70 61 63 65 2c 20 65 76 65 |dress space, eve| 00000400 6e 20 62 6c 61 6e 6b 73 2e 0a 0a 4e 6f 74 65 73 |n blanks...Notes| 00000410 0a 31 29 20 54 68 65 20 63 6f 6e 66 69 67 75 72 |.1) The configur| 00000420 61 74 69 6f 6e 20 6f 70 74 69 6f 6e 73 20 61 72 |ation options ar| 00000430 65 20 74 61 6b 65 6e 20 66 72 6f 6d 20 74 68 65 |e taken from the| 00000440 20 77 69 6e 64 6f 77 20 69 63 6f 6e 73 2e 0a 32 | window icons..2| 00000450 29 20 59 6f 75 20 6f 6e 6c 79 20 6e 65 65 64 20 |) You only need | 00000460 74 6f 20 70 65 72 66 6f 72 6d 20 61 6e 20 65 72 |to perform an er| 00000470 61 73 65 20 77 68 65 6e 20 62 6c 6f 77 69 6e 67 |ase when blowing| 00000480 20 61 20 63 68 69 70 20 74 68 61 74 20 68 61 73 | a chip that has| 00000490 20 74 68 65 20 63 6f 64 65 20 70 72 6f 74 65 63 | the code protec| 000004a0 74 69 6f 6e 20 73 65 74 2e 0a 20 20 20 4f 74 68 |tion set.. Oth| 000004b0 65 72 77 69 73 65 20 74 68 65 20 70 72 6f 67 72 |erwise the progr| 000004c0 61 6d 6d 69 6e 67 20 77 72 69 74 65 73 20 6f 76 |amming writes ov| 000004d0 65 72 20 74 68 65 20 6f 6c 64 20 64 61 74 61 2e |er the old data.| 000004e0 0a 33 29 20 4f 6e 63 65 20 74 68 65 20 63 6f 64 |.3) Once the cod| 000004f0 65 20 70 72 6f 74 65 63 74 69 6f 6e 20 69 73 20 |e protection is | 00000500 73 65 74 20 61 6e 79 20 72 65 61 64 73 20 74 6f |set any reads to| 00000510 20 74 68 65 20 63 68 69 70 20 70 72 6f 64 75 63 | the chip produc| 00000520 65 20 72 75 62 62 69 73 68 2e 0a 20 20 20 48 6f |e rubbish.. Ho| 00000530 77 65 76 65 72 2c 20 69 74 20 69 73 20 72 65 70 |wever, it is rep| 00000540 65 61 74 61 62 6c 65 20 72 75 62 62 69 73 68 20 |eatable rubbish | 00000550 73 6f 20 79 6f 75 20 63 61 6e 20 75 73 65 20 74 |so you can use t| 00000560 68 65 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 66 |he information f| 00000570 6f 72 20 76 65 72 69 66 69 63 61 74 69 6f 6e 2e |or verification.| 00000580 0a 34 29 20 49 66 20 61 66 74 65 72 20 72 65 61 |.4) If after rea| 00000590 64 69 6e 67 20 61 20 50 49 43 20 74 68 65 20 63 |ding a PIC the c| 000005a0 6f 64 65 20 70 72 6f 74 65 63 74 69 6f 6e 20 69 |ode protection i| 000005b0 63 6f 6e 20 28 43 50 29 20 69 73 20 74 69 63 6b |con (CP) is tick| 000005c0 65 64 20 74 68 65 6e 20 74 68 65 20 72 65 73 75 |ed then the resu| 000005d0 6c 74 69 6e 67 0a 20 20 20 64 61 74 61 20 73 68 |lting. data sh| 000005e0 6f 75 6c 64 20 6f 6e 6c 79 20 62 65 20 75 73 65 |ould only be use| 000005f0 64 20 66 6f 72 20 76 65 72 69 66 79 69 6e 67 20 |d for verifying | 00000600 63 6f 64 65 20 70 72 6f 74 65 63 74 65 64 20 50 |code protected P| 00000610 49 43 73 2e 0a 35 29 20 54 68 65 20 62 6c 6f 77 |ICs..5) The blow| 00000620 65 72 20 61 63 63 65 70 74 73 20 61 73 73 65 6d |er accepts assem| 00000630 62 6c 65 64 20 63 6f 64 65 20 69 6e 20 48 45 58 |bled code in HEX| 00000640 20 44 41 54 41 20 66 69 6c 65 2c 0a 20 20 20 69 | DATA file,. i| 00000650 6e 20 74 68 65 20 31 36 20 42 69 74 20 57 4f 52 |n the 16 Bit WOR| 00000660 44 20 66 6f 72 6d 61 74 20 61 6e 64 20 49 6e 74 |D format and Int| 00000670 65 6c 20 42 79 74 65 20 6f 72 64 65 72 2c 20 77 |el Byte order, w| 00000680 69 74 68 20 61 20 66 69 6c 65 20 74 79 70 65 20 |ith a file type | 00000690 26 30 38 34 2e 0a 20 20 20 49 66 20 74 68 65 20 |&084.. If the | 000006a0 27 4c 6f 61 64 27 20 6d 65 6e 75 20 6f 70 74 69 |'Load' menu opti| 000006b0 6f 6e 20 69 73 20 61 63 74 69 76 65 20 74 68 65 |on is active the| 000006c0 6e 20 74 68 65 20 6d 65 6d 6f 72 79 20 69 73 20 |n the memory is | 000006d0 77 69 70 65 64 20 62 65 66 6f 72 65 20 74 68 65 |wiped before the| 000006e0 20 66 69 6c 65 20 69 73 20 72 65 61 64 20 69 6e | file is read in| 000006f0 2e 0a 20 20 20 4f 74 68 65 72 77 69 73 65 20 74 |.. Otherwise t| 00000700 68 65 20 66 69 6c 65 20 6f 76 65 72 77 72 69 74 |he file overwrit| 00000710 65 73 20 77 68 61 74 20 69 73 20 61 6c 72 65 61 |es what is alrea| 00000720 64 79 20 69 6e 20 74 68 65 20 6d 65 6d 6f 72 79 |dy in the memory| 00000730 20 74 68 75 73 20 61 6c 6c 6f 77 69 6e 67 20 79 | thus allowing y| 00000740 6f 75 20 74 6f 20 6d 65 72 67 65 0a 20 20 20 74 |ou to merge. t| 00000750 77 6f 20 64 61 74 61 20 73 65 74 73 20 69 66 20 |wo data sets if | 00000760 74 68 65 20 66 69 6c 65 73 20 63 6f 6e 74 61 69 |the files contai| 00000770 6e 20 64 69 66 66 65 72 65 6e 74 20 61 72 65 61 |n different area| 00000780 73 20 6f 66 20 6d 65 6d 6f 72 79 2e 0a 36 29 20 |s of memory..6) | 00000790 56 65 72 69 66 79 20 64 6f 65 73 20 6e 6f 74 20 |Verify does not | 000007a0 63 68 65 63 6b 20 74 68 65 20 49 44 20 62 79 74 |check the ID byt| 000007b0 65 73 20 6f 72 20 63 6f 6e 66 69 67 75 72 61 74 |es or configurat| 000007c0 69 6f 6e 20 66 75 73 65 2e 0a 20 20 20 0a 4c 65 |ion fuse.. .Le| 000007d0 67 61 6c 20 73 74 75 66 66 2e 0a 49 20 64 6f 20 |gal stuff..I do | 000007e0 6e 6f 74 20 61 63 63 65 70 74 20 72 65 73 70 6f |not accept respo| 000007f0 6e 73 69 62 69 6c 69 74 79 20 66 6f 72 20 61 6e |nsibility for an| 00000800 79 74 68 69 6e 67 3a 2d 20 42 6f 73 6e 69 61 2c |ything:- Bosnia,| 00000810 20 4e 6f 72 74 68 65 72 6e 20 49 72 65 6c 61 6e | Northern Irelan| 00000820 64 2c 20 74 68 65 20 4d 69 64 64 6c 65 20 45 61 |d, the Middle Ea| 00000830 73 74 0a 6f 72 20 61 6e 79 74 68 69 6e 67 20 74 |st.or anything t| 00000840 68 69 73 20 70 72 6f 67 72 61 6d 20 6d 61 79 20 |his program may | 00000850 6f 72 20 6d 61 79 20 6e 6f 74 20 64 6f 2e 0a |or may not do..| 0000085f