Skip to content

Instantly share code, notes, and snippets.

@TCWORLD
Last active April 30, 2024 18:04
Show Gist options
  • Save TCWORLD/6fa3ab7cf97a63db882845c53dd6e195 to your computer and use it in GitHub Desktop.
Save TCWORLD/6fa3ab7cf97a63db882845c53dd6e195 to your computer and use it in GitHub Desktop.
PIC18F14K50 Cheap Altera JTAG USB Blaster Firmware (Schematic in Comments)
:020000040000FA
:0600000014EF18F01200DD
:0600080004EF08F01200F5
:060018000CEF08F01200DD
:0608000014EF18F01200D5
:060808000FEF08F01200E2
:0608180012EF08F01200CF
:0610000014EF18F01200CD
:021006000000E8
:061008000FEF08F01200DA
:02100E001200CE
:0610180012EF08F01200C7
:02101E00EEECF6
:101020000EF01100D8CFE4FFE0CFE4FFE46EEEEC69
:101030000EF0E550E5CFE0FFE5CFD8FF1000D9CFA7
:10104000E6FFE1CFD9FF020EE126400E136E0B6AD8
:101050000C6A530E0D6EC950F76A680FF66E2D0EAE
:10106000F7220800F5500E6E0B50EA6A000FE96E89
:10107000010EEA220DC0EFFF0B2A0B50EA6A000FA7
:10108000E96E010EEA220EC0EFFF0B2A0DB08B882D
:101090000DA08B988B8000008B900DB28B880DA2D9
:1010A0008B988B8000008B900DB48B880DA48B984F
:1010B0008B8000008B900DB68B880DA68B988B8053
:1010C00000008B900DB88B880DA88B988B8000004A
:1010D0008B900DBA8B880DAA8B988B8000008B901B
:1010E0000DBC8B880DAC8B988B8000008B900DBE57
:1010F0008B880DAE8B988B8000008B900E6A0DB0A4
:101100008B880DA08B9881B80E808B8000008B900F
:101110000DB28B880DA28B9881B80E828B80000057
:101120008B900DB48B880DA48B9881B80E848B8026
:1011300000008B900DB68B880DA68B9881B80E861B
:101140008B8000008B900DB88B880DA88B9881B890
:101150000E888B8000008B900DBA8B880DAA8B981F
:1011600081B80E8A8B8000008B900DBC8B880DACF3
:101170008B9881B80E8C8B8000008B900DBE8B8875
:101180000DAE8B9881B80E8E8B8000008B900E6A0E
:101190000DB08B880DA08B9881BA0E808B800000DB
:1011A0008B900DB28B880DA28B9881BA0E828B80AA
:1011B00000008B900DB48B880DA48B9881BA0E849F
:1011C0008B8000008B900DB68B880DA68B9881BA12
:1011D0000E868B8000008B900DB88B880DA88B98A5
:1011E00081BA0E888B8000008B900DBA8B880DAA77
:1011F0008B9881BA0E8A8B8000008B900DBC8B88F7
:101200000DAC8B9881BA0E8C8B8000008B900DBE3C
:101210008B880DAE8B9881BA0E8E8B8000008B90E0
:101220000C50146E156A0C500B5C166E176AFF0E8C
:10123000D8801656000E1756010E1626000E1722DD
:1012400017501518E8AE02D0153404D01450165CAF
:10125000155017581CE30C500B5CE66EE66A0C50F8
:10126000156A000F146E010E152214C0E6FF15C09A
:10127000E6FFC20EE66E020EE66E83EC17F0166E07
:10128000060EE15E16500C500B5C0C263FD00C5045
:10129000146E156AFF0ED8801456000E1556010EF6
:1012A00014240E6E0E50E66EE66A0C50156A000F9E
:1012B000146E010E152214C0E6FF15C0E6FFC20E23
:1012C000E66E020EE66E83EC17F0166E060EE15E19
:1012D00016500C500B5CD8800E54E66EE66A000E79
:1012E000E66E010EE66E0E50156AC20F146E020E07
:1012F000152214C0E6FF15C0E6FF83EC17F0166E4A
:10130000060EE15E16500C500B5C0C260B6A0D6A43
:101310000B50EA6A000FE96E010EEA220DC0EFFFE2
:101320000B2A0D50146E156AFF0E141801E11550AA
:1013300001E102D00D2AECD7640E0B6EBE0E0C6ECE
:101340000C50146E156A153404E21450C208000ED5
:1013500015541AE33E0EE66EE66A0C50156A000F4D
:10136000146E010E152214C0E6FF15C0E6FFC20E72
:10137000E66E020EE66E83EC17F0166E060EE15E68
:1013800016503E0E0C263DD00C50146E156AFF0E02
:10139000D8801456000E1556010E14240E6E0E50F1
:1013A000E66EE66A0C50156A000F146E010E1522E7
:1013B00014C0E6FF15C0E6FFC20EE66E020EE66E32
:1013C00083EC17F0166E060EE15E16503E0ED880C6
:1013D0000E54E66EE66A000EE66E010EE66E0E50E4
:1013E000156AC20F146E020E152214C0E6FF15C056
:1013F000E6FF83EC17F0166E060EE15E16503E0E09
:101400000C260C50146E156A153404E21450C208F0
:10141000000E15541AE33E0EE66EE66A0C50156A8D
:10142000000F146E010E152214C0E6FF15C0E6FF72
:10143000C20EE66E020EE66E83EC17F0166E060E16
:10144000E15E16503E0E0C263DD00C50146E156A0F
:10145000FF0ED8801456000E1556010E14240E6E81
:101460000E50E66EE66A0C50156A000F146E010EFF
:10147000152214C0E6FF15C0E6FFC20EE66E020E8E
:10148000E66E83EC17F0166E060EE15E16503E0E09
:10149000D8800E54E66EE66A000EE66E010EE66E29
:1014A0000E50156AC20F146E020E152214C0E6FF0C
:1014B00015C0E6FF83EC17F0166E060EE15E1650BF
:1014C0003E0E0C261350132AEA6A400FE96E020EF4
:1014D000EA22EF50F76A680FF66E2D0EF722080029
:1014E000F5500E6EC950F76A680FF66E2D0EF72292
:1014F0000800F550E66E0B50EA6A000FE96E010E27
:10150000EA22E552E750EF6E0B2A0000020EE15C82
:1015100002E2E16AE552E16EE552E7CFD9FF12003F
:101520007E6A7F6A766A926A936A946A9388938ADB
:101530001E0E8B6E800ED56EF29A400EC76E010E97
:10154000C66E948E938CC69A949094980201310E34
:10155000C06F0201600EC16F46EC16F0F5EC0EF0A4
:1015600051EC0FF0200E0001E76EA019E8AE02D09A
:10157000E73402D0E750A05D03E36450020B03E0C0
:101580008A9E8B8A54D38B9A0001E251E31102E1C7
:10159000000E08D0E2C0E9FFE3C0EAFFEF50800B85
:1015A00001E0010E000901E068D10C500B5C0D6EEA
:1015B0003E0E146E0D50D880145401E28CD00C50A5
:1015C000146E156A153404E21450C208000E155446
:1015D0001AE33E0EE66EE66A0C50156A000F146EB2
:1015E000010E152214C0E6FF15C0E6FFC20EE66E1E
:1015F000020EE66E83EC17F0166E060EE15E1650D4
:101600003E0E0C263DD00C50146E156AFF0ED8808D
:101610001456000E1556010E14240E6E0E50E66E72
:10162000E66A0C50156A000F146E010E152214C0E4
:10163000E6FF15C0E6FFC20EE66E020EE66E83EC14
:1016400017F0166E060EE15E16503E0ED8800E5450
:10165000E66EE66A000EE66E010EE66E0E50156A44
:10166000C20F146E020E152214C0E6FF15C0E6FF6D
:1016700083EC17F0166E060EE15E16503E0E0C2639
:10168000AFC0E2F0B0C0E3F0E2C0E9FFE3C0EAFFC0
:10169000020EE926000EEA22C00EEE6E020EED6E7C
:1016A000E2C0E9FFE3C0EAFFEE52400EEF6E400EEB
:1016B000146EE2C0E9FFE3C0EAFF1450EF16880E93
:1016C000146EE2C0E9FFE3C0EAFF1450EF1200011C
:1016D000AF75F284D2D00D5001E19FD00C50146E42
:1016E000156A0D50166E176AFF0ED8801656000E3A
:1016F0001756010E1626000E172217501518E8AEC1
:1017000002D0153404D01450165C155017581AE343
:101710000D50E66EE66A0C50156A000F146E010E4D
:10172000152214C0E6FF15C0E6FFC20EE66E020EDB
:10173000E66E83EC17F0166E060EE15E16500D5045
:101740000C263CD00C50146E156AFF0ED88014562F
:10175000000E1556010E14240E6E0E50E66EE66A4B
:101760000C50156A000F146E010E152214C0E6FF0E
:1017700015C0E6FFC20EE66E020EE66E83EC17F0B1
:10178000166E060EE15E16500E500D5CE66EE66AB1
:10179000000EE66E010EE66E0E50156AC20F146E54
:1017A000020E152214C0E6FF15C0E6FF83EC17F009
:1017B000166E060EE15E16500D500C26AFC0E2F01C
:1017C000B0C0E3F0E2C0E9FFE3C0EAFF020EE926A1
:1017D000000EEA22C00EEE6E020EED6E020E0D2419
:1017E000E66EE2C0E9FFE3C0EAFFEE52E552E750E1
:1017F000EF6E400E146EE2C0E9FFE3C0EAFF145042
:10180000EF16880E146EE2C0E9FFE3C0EAFF145041
:10181000EF120001AF75F28430D0F2A42ED0150E75
:10182000D76EA00ED66EF294AFC0E2F0B0C0E3F077
:10183000E2C0E9FFE3C0EAFF020EE926000EEA2259
:10184000C00EEE6E020EED6EE2C0E9FFE3C0EAFFED
:10185000EE52020EEF6E400E146EE2C0E9FFE3C0DE
:10186000EAFF1450EF16880E146EE2C0E9FFE3C0E1
:10187000EAFF1450EF120001AF750F5036E112BEAF
:101880001AD00001DE51DF1102E1000E08D0DEC0E7
:10189000E9FFDFC0EAFFEF50800B01E0010E000915
:1018A00009E1DEC0E9FFDFC0EAFFEE52EF500F6E44
:1018B000136A12821AD00001E051E11102E1000E18
:1018C00008D0E0C0E9FFE1C0EAFFEF50800B01E083
:1018D000010E00090AE1E0C0E9FFE1C0EAFFEE52B3
:1018E000EF500F6E400E136E12820B500C5CFF0F08
:1018F000146E0F50145C01E233D60F5001E139D160
:101900008A9E105065E094889480C68A939C949E29
:101910001350132AEA6A400FE96E020EEA22EF50D2
:10192000F76A680FF66E2D0EF7220800F5500D6E5F
:1019300012B01BD00D50C96E1350132AEA6A400F23
:10194000E96E020EEA22EF50F76A680FF66E2D0E6E
:10195000F7220800F5500D6EC7A0FED710060F063F
:10196000105002E00F50E6E12CD00D50C96E13501C
:10197000132AEA6A400FE96E020EEA22EF50F76A74
:10198000680FF66E2D0EF7220800F5500D6EC7A0F9
:10199000FED7C950F76A680FF66E2D0EF7220800C1
:1019A000F5500E6E0B50EA6A000FE96E010EEA2246
:1019B0000EC0EFFF0B2A10060F06105002E00F506A
:1019C000D4E11306948E938CC69A94909498CED0BA
:1019D000115001E19AD012B036D094889480C68A12
:1019E000939C949E1350132AEA6A400FE96E020EEC
:1019F000EA22EF50F76A680FF66E2D0EF722080004
:101A0000F5500D6E0D50C96E1350132AEA6A400F3F
:101A1000E96E020EEA22EF50F76A680FF66E2D0E9D
:101A2000F7220800F5500D6EC7A0FED711060F066D
:101A3000115002E00F50E6E11306948E938CC69A83
:101A40009490949861D01350132AEA6A400FE96E7B
:101A5000020EEA22EF500D6E0E6A0DB08B880DA0BB
:101A60008B9881BA0E808B8000008B900DB28B8892
:101A70000DA28B9881BA0E828B8000008B900DB4E2
:101A80008B880DA48B9881BA0E848B8000008B907C
:101A90000DB68B880DA68B9881BA0E868B800000C0
:101AA0008B900DB88B880DA88B9881BA0E888B808F
:101AB00000008B900DBA8B880DAA8B9881BA0E8A84
:101AC0008B8000008B900DBC8B880DAC8B9881BAFD
:101AD0000E8C8B8000008B900DBE8B880DAE8B988A
:101AE00081BA0E8E8B8000008B900B50EA6A000F3B
:101AF000E96E010EEA220EC0EFFF0B2A11060F0657
:101B0000115002E00F509FE131D01350132AEA6ABE
:101B1000400FE96E020EEA22EF500D6E0DBC1280EE
:101B20000DAC12900DAE0DD08B908BA604D03F0E55
:101B30000D14106E03D03F0E0D14116E0F0616D04B
:101B400013D00D508B6E12A00ED00E6A81BA0E8289
:101B500081B80E800B50EA6A000FE96E010EEA228E
:101B60000EC0EFFF0B2A0F060F50CFE10F5001E020
:101B7000C8D61250020B5BE00F5059E18A8E12BE9C
:101B80002BD0ABC0DEF0ACC0DFF0DEC0E9FFDFC0C1
:101B9000EAFF020EE926000EEA22400EEE6E020E69
:101BA000ED6EDEC0E9FFDFC0EAFFEE52400EEF6EE1
:101BB000400E146EDEC0E9FFDFC0EAFF1450EF16DE
:101BC000880E146EDEC0E9FFDFC0EAFF1450EF128A
:101BD0000001AB75127E2AD0ABC0E0F0ACC0E1F0E2
:101BE000E0C0E9FFE1C0EAFF020EE926000EEA22AA
:101BF000800EEE6E020EED6EE0C0E9FFE1C0EAFF7E
:101C0000EE52400EEF6E400E146EE0C0E9FFE1C0F0
:101C1000EAFF1450EF16880E146EE0C0E9FFE1C031
:101C2000EAFF1450EF120001AB75127E129298D4A5
:101C300012001200120012001200D9CFE6FFE1CF0D
:101C4000D9FFE65202013051600BE842E842E84217
:101C5000E842E842020833E130BF07D00001380E05
:101C6000B56F020EB66FB86B27D0900E315D18E1DC
:101C700034C214F035C215F0D890143615367E0EE5
:101C80001414DF6EDFCFE6FF4DEC15F0E5520201D4
:101C9000386FDF28E66E4DEC15F0E552020104D0F6
:101CA0000201360E386F830E396F0001380EB56FA2
:101CB000020EB66F020EB86FB96BC10EB76FE55268
:101CC000E552E7CFD9FF120012001A0EE66E010EA0
:101CD000E66E90EC13F0E552E5521C0EE66E020E35
:101CE000E66E90EC13F0E552E5520001DE6BDF6B1F
:101CF000E06BE16BE26BE36B0B6A0C6A0F6A106AD4
:101D0000116A12000001C3051EE10001C4051BE1B8
:101D100091DF64920001C46B0001100EE46F0E0E9F
:101D2000E56FE407000EE55BE451E511FAE1648438
:101D3000080EE46F070EE56FE407000EE55BE45163
:101D4000E511FAE164941200D9CFE6FFE1CFD9FFA3
:101D5000FD0EDBCF06F0FE0EDBCF07F0050E0618FA
:101D600001E1075036E0E868061802E17F0E071827
:101D70002FE0030E061801E1075028E0020E0618B6
:101D800001E1075021E0010E061801E107501AE0B9
:101D9000740E061801E1075013E0750E061801E1F4
:101DA00007500CE0730E061801E1075005E0720EB3
:101DB00006180FE107500DD03EDF0BD03ADF09D0F7
:101DC00039DF07D082DF05D07FDF03D036DF01D0D7
:101DD00033DF010EE552E7CFD9FF1200DACFE4FF7F
:0A1DE000E652E552E5CFDAFF1200EB
:061DEA0014EC15F0A094BA
:101DF0000F015F6B626A536B62EC14F098EC14F0A5
:101E0000DF6AA0EC14F003E252EC14F0FAD7648C11
:101E10000F015C6B6498649C62A607D06296000117
:101E2000B76BBC6BBD6BBE6BF7D70001010ED06FFB
:101E3000D16FD26BD36BC46BDF6A030EDF5C1AE227
:101E4000EA6ADF3417EC15F0EA22EE6AED6AEA6A14
:101E5000DF341EEC15F0EA22EE6AED6ADF5031EC59
:101E600015F0EA22EF6ADF502CEC15F0EA22EF6A57
:101E7000DF2AE3D70001080EAD6F020EAE6F0F012F
:101E8000160E536F0201300E026F020E036F080E22
:101E9000016F840E006F0001A16BA06BE5522CEF67
:101EA00014F014EC15F00001A0510BE1646A606AB3
:101EB00098EC14F064B602D06486FCD70001010EE1
:101EC000A06FA00508E164BA06D0626A606A60800B
:101ED0006088020EA06F6250040B05E06050040B96
:101EE00002E0629499D864B245D06250010B08E0D8
:101EF0006050010B05E079DF0001040EA06F6290D5
:101F00006250100B05E06050100B02E07AD8629826
:101F100062AC0FD060AC05D0B7EC14F0730E19ECC6
:101F200014F0629C0001CE5101E0CE07CE5101E1D8
:101F30000FDA6250200B04E06050200B01E04DD816
:101F40006250020B0CE06050020B09E0B7EC14F099
:101F5000E6687F0EE66E25EC15F00F015F6B040E50
:101F60000001E76EA019E8AE02D0E73402D0E750D6
:101F7000A05D02E2A1942ED060A62BD0DF6A040EF1
:101F8000DF5C27E262A625D063CFC5F00001C55112
:101F9000780BE842E842E842C66F6296C5B504D0C5
:101FA000C6512CEC15F003D0C65131EC15F0EA22E5
:101FB000EF70C65102E13ED80AD0000EE66EE66A26
:101FC000C50EE66E000EE66E720E19EC14F0DF2AF6
:101FD000D6D7A194E5522CEF14F00F0153A10FD0E6
:101FE00038EC14F0EF50800809E122EC14F0EF50C7
:101FF000840804E138EC14F08C0EEF6E5391629A71
:1020000012006084629864820001010EC46F7EEC4D
:1020100014F0750E19EF14F00001C46B7EEC14F08F
:10202000740E19EC14F06492609462A402D062946D
:10203000FCD7120014EC15F000012D0ECE6FFD0E32
:10204000C5153EE17E0EC515E8407F0B040DF3CFAC
:10205000A3F0F4CFA4F0000EA327020EA423A3C084
:10206000A5F0A4C0A6F0A57538EC14F0EF503C0B19
:10207000E842E8420D0822E1DF6A080EDF5C19E25F
:1020800038EC14F0020EE926000E6BEC14F0EF5061
:10209000E66EDF50EA6A300FE96E020EEA22E55280
:1020A000E750EF6EE5DB44EC15F0EE2AEF22DF2A75
:1020B000E4D7DEDBE4EC14F00AD807D025D805D04D
:1020C000FD0EC515040801E12ED8E552C5D3000167
:1020D000B36BCF6BD26BD36BC76BB46BB3DBEF9EC1
:1020E000AD75B0DBEF9EAD75D3EC14F0EF9EB76B22
:1020F000B86BB96BBC6BBD6BBE6B53D87EEC14F088
:10210000030E97DB60EF12F0020E0001B45D02E1F6
:10211000CCEF12F0B46BC75104E182DB8C0EEF6E92
:102120001200C76B120014EC15F08CDBEF50400B63
:1021300001E0010EDF6E0001AD75080EA05D0BE140
:1021400032C25CFF0F015C5103E00001100E02D0AF
:102150000001040EA06FB40513E174DB8EDBDDD942
:10216000020E0001B35D03E16DDB840E07D0DF508A
:1021700003E168DBC80E02D065DB880EEF6E0FD07E
:10218000BCAF0CD0BF51C01107E005D0C0C0FAFFF2
:102190000001BF51F96EFADF0001BC9FB46BE5523C
:1021A0005BD302013051600BE842E842E842E8426A
:1021B000E842000901E0120031510C0A45E00B0A27
:1021C0003FE00C0A31E0010A22E00B0A1EE0020A9D
:1021D0001CE0030A18E0080A10E0010A0CE00F0AEC
:1021E00008E0030A01E012000001B78F080EA06F9B
:1021F0001200EAEF11F030EF13F00001A10EB56FFD
:10220000000EB66F0CD027EF12F025EF11F034510D
:102210000001B56FB66BA20EB527000EB623B781CD
:10222000010EB86FB78F12000001B78F0201345151
:10223000EA6AA20FE96E000EEA2232C2EFFF120034
:102240005DDB020E19EF14F0120001DB030EE12634
:102250000201320510E130511F0B00090CE10001B1
:10226000B78F030E0201315D04E10001010EC36F5F
:1022700002D00001C36B0201325163E130511F0BE8
:1022800002085FE134510F0B00095BE034510F0B82
:10229000020857E3200E0001A05D53E1B78F020151
:1022A00034BF04D0ACDB30DB35DB03D0ADDB2CDB63
:1022B00035DBEA22020EEFCFDBFF60DB010B03E12F
:1022C000000EDF9401D0DF8434BF02D098DB01D050
:1022D0009BDBEA22DECFEEFFDDCFEDFF030E315DAB
:1022E0000CE1C4DB07E034BF02D014DB01D016DB05
:1022F000EA22EF82840ECDDB24D0DF74B7DB06E068
:102300009CDAEF9E9ADAEF8C69DB02D096DAEF8CDA
:10231000DF7434DB020B06E1A9DB11E08EDAEF504B
:10232000040B0DE1020134BF02D0F4DA01D0F6DA79
:10233000EA22EF923B0E146E9DDB50DB02D03B0E87
:1023400099DB030EE15C02E2E16AE552E16E84D2C0
:102350000001D05121E1010ED06FD1511DE1010EDC
:10236000D16F020EB45D07E16DDAEE52EF6A6ADA00
:10237000C80EEF6E1200B4050FE1C76B79DAEE52AA
:10238000080EEF6E75DA20DB73DA840EEF6E010E45
:10239000C76F46DA800EEF6E12000001D26BD36B6E
:1023A000020EB45D04E16ADB68DAFDDA10D0B851E0
:1023B0000201365D0001B9510201375904E236C20B
:1023C000B8F037C2B9F0A9D83DDA57DA3BDAC80E0F
:1023D000EF6E1200800E0201305D38E10001C00E88
:1023E000B76F02013351030A1AE0010A09E0030A38
:1023F0002BE10001900EB56F2F0EB66F120E1ED09E
:10240000CBDAFE0EF6262F0EA3DA020E0001BDDA9D
:10241000F5CFB8F0030EB9DAF5CFB9F01200040E1B
:10242000325D0FE2B9DA000EF626300E91DAB5C051
:10243000F6FFB6C0F7FF0800F5500001B86FB96BA2
:1024400012000001B76B12000001B76B1200C2DA74
:102450000201386B396B30511F0B020A11E0030A7D
:102460000CE0010A1CE10001B78F02013881000174
:10247000C30515E10201388312D00001B78F0FD0D8
:102480000001B78F020134BF02D0B9DA01D0BCDA43
:102490003BDAD3D9EF50040B02E0010E386F000194
:1024A000B7AF07D0380EB56F020EB66FB781020E08
:1024B000B86F020EE15C02E2E16AE552E16ECCD156
:1024C00064980001B7BF0DD0BCAF09D0020EB46F45
:1024D000D35101E162DF0001D16BD06B1200F8EF44
:1024E00014F0020130AF0DD00001010EB46FD251D3
:1024F00001E153DF0001D16BD06BCF510DE1A8EFAB
:1025000011F00001020EB46F8BD9840EEF6ED16B07
:10251000D06BCF5101E11CDF120086DA080EDF6EAE
:102520000001B85D000EB9590AE2B8C0DFFFB3512F
:1025300002E1010E03D0B30502E1020EB36FDF50DA
:10254000156AE850B85DB86F1550B959B96F7AD9A6
:10255000EE52DFCFEFFF380EC16F020EC26FB7B180
:102560000DD0DF5017E0B5C0F6FFB6C0F7FFB52BB2
:10257000000EB6230800F550B4D9F3D7DF500AE0B7
:10258000B5C0E9FFB6C0EAFFB52B000EB623EF5089
:10259000A8D9F4D7E55260D11DDA6AD9EE52EFCF4F
:1025A000DFFFDFCF14F014500001BD5D000EBE59F7
:1025B00002E2BDC0DFFFDF50146E156AE850BD5D5A
:1025C000BD6F1550BE59BE6F010EDB6ADF50F36E52
:1025D000010EDBCFF4FFF350F45C16E2010EDB508A
:1025E000EA6A380FE96E020EEA22EF50E66EBAC0D0
:1025F000E9FFBBC0EAFFBA2B000EBB23E552E75050
:10260000EF6E010EDB2AE2D7000ED880BD55000E1A
:10261000BE550DE233DA31D92BD9EF50400B03E12F
:10262000C2D9C80E02D0BFD9880EEF6E12D0F8D82A
:10263000840EEF6EBF51C01107E005D0C0C0FAFF95
:102640000001BF51F96EFADF0001BC9FCF5101E1DB
:102650007FDE020EE15C02E2E16AE552E16EFCD04F
:10266000E3D90001B78F2ED9DF6A6AD902E21AD9FD
:10267000FCD7648C010EE66EE66AE66AA20EE66E90
:10268000000ECAD9649C0001080EAD6F020EAE6F39
:10269000000EA36F020EA46FA3C0A5F0A66F32C2F6
:1026A000A1F0A15102E1100E0BD0010EE66EE66A18
:1026B000A10EE66E000EE66E010EBBD80001200EE4
:1026C000A06FE552C9D086D9000EDE6E020EDD6E17
:1026D000DAD8040DF4CF15F0D9CFE9FFDACFEAFF4D
:1026E000F350EE261550ED22A8D8EF9EFD0EDB50DC
:1026F00002E1D3D801D098D8EA22DECFEEFFDDCFB9
:10270000EDFF9BD8EF9C99D8040EE926000EEA2233
:10271000EF8C020EE15C02E2E16AE552E16E9CD0D0
:1027200059D9FD0EDBA402D0E66A1AD9FD0EDBA250
:1027300003D0010EE66E14D9FE0EDB50156A530F5E
:10274000146E0F0EEFD879D8FD0EDBCFEFFF020E1F
:10275000E15C02E2E16AE552E16E7ED03BD9FE0E19
:10276000DB5002E145D905D08ED822D98CD8010F93
:102770001FD9020EE15C02E2E16AE552E16E6CD023
:1027800029D9FD0EDB5002E04FD801D086D8BCD845
:10279000D9CFE9FFDACFEAFFEE50ED1003E1F36A9B
:1027A000F46A21D04AD870D9FB0EDBCFEEFFFC0EC5
:1027B000DBCFEDFF42D8EE52FA0EDBCFEFFF400E3B
:1027C00059D9880E66D9FD0EDB5002E02DD801D014
:1027D00064D8EA22EF74DECF14F0DDCF15F014C018
:1027E000F3FF15C0F4FF020EE15C02E2E16AE5527C
:1027F000E16E32D02CD864A812D00BD9400EEE1660
:10280000EE6AEE6AEE6A05D9EE7C0ED8EA22EF7423
:10281000400E146EFED81450EF16FBD8EF7C1CD07F
:102820002DD9D2D8D3EF14F0FE0EEA6ADB3417EFBD
:1028300015F0E66EE66A25EF15F0DECFE9FFDDCF95
:10284000EAFF1200ADC0E9FFAEC0EAFF1200D9CF27
:10285000E6FFE1CFD9FF1200E552E7CFD9FF120022
:1028600034510F0BE96EEA6AD890E936EA36120065
:10287000A3C0E9FFA4C0EAFF120006D9380EEE6E2D
:10288000020EED6E1200FD0EDB50E824166EFE0EF9
:10289000DB50040DF35016241200FE0EEA6ADB34FE
:1028A0001EEF15F0DF50040DF3CFE9FFF4CFEAFF80
:1028B000000EE926020EEA22EE6AEE6AEE6AEE6A7F
:1028C000DF2A1200020EE66EE66AE66A540EE66E33
:1028D0000F0E0CEF15F0EA22EE50EFCFEAFFE96E93
:1028E0001200E66EC1C0E9FFC2C0EAFFC12B000EB4
:1028F000C223E552E750EF6EDF061200000EE66ECF
:10290000E66AE66EE66A1200EA22EECFDEFFEDCF5F
:10291000DDFF120034510F0B2CEF15F034510F0B6B
:1029200031EF15F0152214C0DEFF15C0DDFF1200D7
:10293000160E616E0F019F0E5B6F7B0E606E1200B4
:10294000DF50146E156A0C0E145C000E1558120040
:10295000F7220900F5CFB5F00A00F5CFB6F0120066
:10296000FE0EDBCFE6FFAFDEE552E5521200010EB0
:10297000E66EE66A000EE66EE66A1200D950020FB5
:10298000E96EDACFEAFFEF501200F76AB525F66E6E
:10299000B651F722080012003251F66EF76AD8904D
:1029A000F636F7361200A5C0E9FFA6C0EAFF12000E
:1029B000040DF3CF14F0F4CF15F0000E1426020E20
:1029C000B1DF840E49EF15F05FD8300EEE6E020EC7
:1029D000ED6E12003CDF020EE1261200020EE66EE2
:1029E000E66ADECFE6FFDDCFE6FF050E19EF14F055
:1029F00017DF8C0EEF6E26DF840EEF6E120030DFD5
:102A0000A70EE926000E12002BDFAD0EE926000E00
:102A100012000ADF6BEF14F0E66EAEEC17F0146EE6
:102A2000050EE15E1450120012DFE6521200FE0B9A
:102A3000EA36E96EAD0EE926000E1200FE0BEA360C
:102A4000E96EA70EE926000E1200A4EC0EF0146E3B
:102A5000060EE15E14501200EA6ACB0FE96E000E1A
:102A60001200EA6AC80FE96E000E1200E6DEEF50AF
:102A7000800B1200E2DEE850EF16120094DFEE52F7
:102A8000080EEF6ED3EF14F0020EE926000EEA22D4
:0A2A90001200D3DEE850EF1212002E
:062A9A00D9CFE6FFE1CFF9
:102AA000D9FFFE0EDB50020804E1980EF66E2F0EE1
:102AB000B3D0FE0EDB50030804E1990EF66E2F0E24
:102AC000ABD0FE0EDB50040804E19A0EF66E2F0E1A
:102AD000A3D0FE0EDB50050804E19B0EF66E2F0E10
:102AE0009BD0FE0EDB50060804E19C0EF66E2F0E06
:102AF00093D0FE0EDB50070804E19D0EF66E2F0EFC
:102B00008BD0FE0EDB50080804E1A90EF66E2F0EE6
:102B100083D0FE0EDB50090804E1AA0EF66E2F0EDC
:102B20007BD0FE0EDB500A0802E11C0EABD0FE0E7D
:102B3000DB500C0804E1920EF66E2F0E6DD0FE0EE7
:102B4000DB500D0804E1930EF66E2F0E65D0FE0EDD
:102B5000DB500E0802E1940E95D0FE0EDB500F08FC
:102B600002E1C6D81AD0FE0EDB50100802E1D5D81B
:102B70000BD0FE0EDB50110802E1CBD80ED0FE0EBA
:102B8000DB50120803E1E4D8800F7CD0FE0EDB504E
:102B9000130805E1060EF66E300ECCD861D0140E87
:102BA000B2D80AE3BAD8A8D807E2FE0EDB50EC0F81
:102BB000146E156A9DD825D0B0D8A5D80DE3C2D81B
:102BC0009BD80AE2FE0EDBCFE6FFA7D8E552E75C12
:102BD000146E156A9ED815D0B5D895D81FE3A5D820
:102BE000F5CF17F0BBD8172487D818E2FE0EDBCF3D
:102BF000E6FFB4D8E552E75C146E156A060EF66E71
:102C0000300EF76E0900F5501424F36E0900F550EC
:102C10001520F46EF3CFF6FFF76E22D086D8F5CFED
:102C200016F090D816246FD81EE37FD8F5CF18F091
:102C300079D8F5CF17F071D817241824040F5CD871
:102C400012E2FE0EDBCFE6FF70D8F5CF15F080D88C
:102C50001524E552E75CF76A9E0FF66E2F0EF722F9
:102C60000800F5500FD0FE0EDB507E0803E1000196
:102C7000E65108D0FE0EDB507F0803E10001E7516A
:102C800001D0000EE552E7CFD9FF1200D9CFE6FF01
:102C9000E1CFD9FFE6520001AA0EE66FE76FDF6AC7
:102CA0007E0EDF5C1DE2DFCFE6FFF7DEE5520001BE
:102CB000E61BDF28E66EF1DEE5520001E71BE75177
:102CC000800B08E0D890E637E737010EE613000ED8
:102CD000E71303D0D890E637E737020EDF26E0D7B8
:102CE000E552E552E7CFD9FF120024D808001200C0
:102CF000020EF66E300E1200F36EFE0EDBCFF4FF06
:102D0000F350F45C1200146EFE0EDB50D8801454A5
:102D10001200040EF66E300E1200EADFE6DFF55008
:102D2000140F1200F6DF75EF16F0060EF66E300E79
:102D300075EF16F0F76E0900F5500800F5CFF7FFB4
:102D4000F66E1200EFDFF5CF15F0E7DF1524120065
:102D5000E9DFF5CF14F0E1DF14241200E3DFF5CF53
:082D600016F0DBDF162412005F
:082D6800008040C020A060E0E3
:102D7000109050D030B070F0088848C828A868E893
:102D8000189858D838B878F8048444C424A464E463
:102D9000149454D434B474F40C8C4CCC2CAC6CEC33
:102DA0001C9C5CDC3CBC7CFC028242C222A262E233
:102DB000129252D232B272F20A8A4ACA2AAA6AEA33
:102DC0001A9A5ADA3ABA7AFA068646C626A666E603
:102DD000169656D636B676F60E8E4ECE2EAE6EEED3
:102DE0001E9E5EDE3EBE7EFE018141C121A161E1EB
:102DF000119151D131B171F1098949C929A969E903
:102E0000199959D939B979F9058545C525A565E5D2
:102E1000159555D535B575F50D8D4DCD2DAD6DEDA2
:102E20001D9D5DDD3DBD7DFD038343C323A363E3A2
:102E3000139353D333B373F30B8B4BCB2BAB6BEBA2
:102E40001B9B5BDB3BBB7BFB078747C727A767E772
:102E5000179757D737B777F70F8F4FCF2FAF6FEF42
:082E60001F9F5FDF3FBF7FFFF2
:082E6800060EF66E100EF76E67
:102E7000000EF86E00010900F550D96F0900F550F9
:102E8000DA6F03E1D96701D03DD00900F550D46F66
:102E90000900F550D56F0900F550D66F09000900FB
:102EA000F550E96E0900F550EA6E090009000900C5
:102EB000F550D76F0900F550D86F09000900F6CF1B
:102EC000DBF0F7CFDCF0F8CFDDF0D4C0F6FFD5C0F3
:102ED000F7FFD6C0F8FF0001D75302E1D85307E04F
:102EE0000900F550EE6ED707F8E2D807F9D7DBC036
:102EF000F6FFDCC0F7FFDDC0F8FF0001D907000EC8
:062F0000DA5BBFD71200EE
:0A2F0600D9CFE6FFDACFE6FFFA0E9E
:102F1000E3CFD9FFFB0EE3CFDAFFFC0EE3CFE9FFEF
:102F2000FD0EE3CFEAFFE9CFF3FFEACFF4FFF80E9F
:102F3000E35003E1F90EE35008E0F80EE30602E285
:102F4000F90EE306DECFEEFFF2D7FF0EE3CFDAFF96
:102F5000E552FF0EE3CFD9FFE5521200FE0EE3CF9C
:102F6000E9FFFF0EE3CFEAFFE9CFF3FFEACFF4FF7B
:102F7000FB0EE35003E1FC0EE35009E0FB0EE30619
:102F800002E2FC0EE306FD0EE350EE6EF1D71200F6
:102F90001201100100000008FB0901600004010299
:102FA00003010902200001010080FA090400000267
:102FB000FFFFFF00070581024000010705020240F4
:102FC0000001040309040E0341006C007400650055
:102FD0007200610018035500530042002D004200AA
:102FE0006C00610073007400650072001203300011
:102FF0003000300030003000300030003000A22FB0
:08300000C22FC62FD42FEC2FC4
:08300800000EF36E00EE00F073
:10301000030E01D81200EA6002D0EE6AFCD7F3502A
:08302000E9601200EE6AFCD722
:0830280010EE60F020EE60F0F4
:10303000F86A0A9C34EC17F007EC08F090EC0AF000
:04304000FBD71200A8
:020000040030CA
:0100000000FF
:0100010032CC
:0100020001FC
:010003001EDE
:0100050000FA
:010006008178
:0100080003F4
:01000900C036
:01000A0003F2
:01000B00E014
:01000C0003F0
:01000D0040B2
:00000001FF
@TCWORLD
Copy link
Author

TCWORLD commented Aug 13, 2021

Schematic for JTAG USB Blaster

CheapUSBBlaster

IC4 and IC5 can optionally be removed from the circuit. These were designed to allow a USB blaster to be connected to the JTAG header for programming the board when the USB cable is disconnected.

A 3.3V supply is required. This can be sourced from anywhere you wish.


This is based on the USB blaster design and firmware from here:
http://sa89a.net/mp.cgi/ele/ub.htm

@TCWORLD
Copy link
Author

TCWORLD commented Aug 13, 2021

This should also work with devices programmed by the Active Serial interface. In order to use AS, you will need to wire up some additional signals:

MCU pin Function Header Pin
RC3 (pin 7) nCS Pin 8
RC2 (pin 14) nCE Pin 6
RB5 (pin 12) ASDO Pin 7

@avics1967
Copy link

avics1967 commented Sep 13, 2022

Thank you for providing this!
I have a similar USB-Blaster using the same PIC. Which didn't work anymore.
With the hex file and a Dataman-48Pro2 I was able to flash the PIC and now it works again!

The one I have had already 5 pins in place for programming it using the ISP of the Dataman. The only thing I had to do is make a small cable and add a 5 pin header to the print.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment