PIC单片机芯片的解密原理介绍 (上).txt PIC单片机芯片的解密原理介绍 (上) In this file you will find out more about the theory on which my CrackPic software is based. Theory on which CrackPic is based *************************************** 1. Some of the PIC models allow scrambled data reading when they are protected, according to the formula: s = a NXOR b NXOR Table: x y |z -----0 0 |1 1 0 |0 0 1 |0 1 1 |1 2. Program is stored into EPROM. When this EPROM is erased, he has all of its bits set to 1, which means that value of all words stored into it is 3fffh. During the EPROM programming it is ONLY possible to change 1 into 0, AND NOT the other way around. Combining 1. and 2. You can conclude that to unscramble the word it is enough to erase lower 7 bits (b=0), which makes: for equation 1. if b=0 s1 = a NXOR 0 = NOT a s1 = NOT a 2.) ---------equation 1. can be written as s = (NOT a) XOR b ----------------3.) 1.) where: a = higher 7 bits from 14-bit word b = lower 7 bits from 14-bit word
Combining equations 2 and 3 s = s1 XOR b b = (s XOR s1) AND 127 ====================== a = (NOT s1) AND 127 ==================== The original word is: w = a*128 + b ******************************************************** * w = ((NOT s1) AND 127)*128 + ((s XOR s1 ) AND 127) * ******************************************************** -------------------------------------------------------------------"s" is obtained by simple reading the PIC. Obtaining "s1" is a problem. Some PIC`s (16c71,61,.) allow writing into first 64 words, so it is enough to write 3f80h (11 1111 1000 000 bin) into every of these words, thus making b=0. The rest of the memory is protected from the writing, so it is necessary to find a way to do it somehow. I accidentally discovered the way to write the following word into the 第 1 页 4.) (AND 127 extracts 7th bit)
PIC单片机芯片的解密原理介绍 (上).txt rest of the EPROM: (xx xxxx x x 00 0000 bin), thus making b=(x00 0000)bin (More about you can find in CrackPic.a32 writen in ASM). I cannot reset the highest bit in b, and from the previous equations it is obvious that it influences 14th and 7th bit in the original word. This means that for a given "s" we can calculate two pairs of different combinations for one instruction code (since bit 7 in b can be either 0 or 1): bit possible value for the bit
- pic单片机原理 > PIC单片机芯片的解密原理介绍
-
PIC单片机芯片的解密原理介绍
下载该文档 文档格式:PDF 更新时间:2008-10-02 下载次数:0 点击次数:1文档基本属性 文档语言: 文档格式: pdf 文档作者: exam 关键词: 主题: 备注: 点击这里显示更多文档属性 经理: 单位: rguhs 分类: 创建时间: 上次保存者: 修订次数: 编辑时间: 文档创建者: 修订: 加密标识: 幻灯片: 段落数: 字节数: 备注: 演示格式: 上次保存时间:
- 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
- PDF格式下载
- 更多文档...
-
上一篇:pic24f架构是在microchip现有的pic18f to pic24f migration: an ...
下一篇:8位单片机16F8X系列简介
点击查看更多关于pic单片机原理的相关文档
- 您可能感兴趣的
- pic单片机原理及应用 pic单片机烧写原理 pic单片机 pic单片机视频教程 pic单片机易学通 pic单片机选型 pic单片机教程 pic单片机c语言教程 pic单片机论坛
- 大家在找
-
- · 企业ppt模板免费下载
- · 中关村商城htcg3
- · 十字轴夹具
- · 计算机管理员密码破解
- · 正xuan交流电
- · cad快捷键怎么设置
- · 大头贴制作工具
- · 北京最好的家政公司
- · 云南二手压机
- · 居室的色彩搭配课件
- · 肉脯3d观看
- · 江西财经大学专科校址
- · 2011象甲联赛19轮湖北
- · 认真复习迎接期末考试
- · 天津经济广播电台
- · ip代理加速器
- · 北京国家图书馆
- · 优酷土豆网视频观看
- · cad制图教程视频
- · 党课背景图
- · 计算机模块考试模拟题
- · cad怎么在直线上找点
- · 步步惊心全集qvod快播
- · 英语六级词汇表
- · 工程测量ppt
- · 综合化学实验思考题
- · 宝宝吃什么消炎药好
- · 哈利波特16全集高清
- · 汽车服务工程课件
- · 英语四级常用词组
- 赞助商链接