发布时间:2016-12-05 18:26:16
意法STM32系列芯片解密,STM32芯片破解
STM32系列32位微控制器,基于ARM® Cortex®‑M处理器。它能支持32位广泛的应用,支持包括高性能、实时功能、数字信号处理,和低功耗、低电压操作,同时拥有一个完全集成和易用的开发。
以STM32为应用的产品线非常广泛,是由于其基于工业标准的内核、有大量的工具和软件作支持,使该系列芯片成为众多产品的理想选择,不管是小终端,还是一个大型的平台。
基于上述优势所在,STM32系列芯片也有很多破解需求,板朗科技专业破解高难度芯片,对STM系列芯片有深入的研究,以下是关于STM32系列芯片解密介绍
STM32芯片实物图
STM32芯片官方参考文档
STM32系统结构
系统的主要部分包括:
四个驱动单元:
- Cortex-M3 内核指令总线 (I-bus)
数据总线 (D-bus)
以及系统总线 (S-bus)
- GP-DMA(通用DMA)
三个被动单元:
- 内部 SRAM
- 内部闪存存储器
- AHB 到 APB 桥 (AHB2APBx)该桥用来连接所有的APB 设备这些通过一个多级的AHB 总线构架相互连接
ICode 总线
该总线将 Cortex-M3 内核的指令总线与闪存存储器指令接口相连接。指令预取操作在该总线上进行。
DCode 总线
该总线将Cortex-M3内核的DCode总线与闪存存储器的数据接口相连接(常量加载和调试访问)。
系统总线
该总线将 Cortex-M3 内核的系统总线(外设总线)连接到一个总线矩阵,总线矩阵协调着内核和DMA 间的访问。
DMA 总线
该总线将DMA的AHB主机接口连接到一个总线矩阵,总线矩阵协调着CPU的DCode和DMA到SRAM、闪存和外设的访问。
总线矩阵
此总线矩阵协调内核系统总线和DMA主控总线之间的访问仲裁。此仲裁利用轮换算法。此总线矩阵由三个驱动部件(CPU的DCode、系统总线和DMA总线)和三个被动部件(闪存存储器接口、SRAM和AHB2APB桥)构成。
为了允许DMA 访问,AHB 外设通过一个总线矩阵连接到系统总线。
AHB/APB 桥 (APB)
两个 AHB/APB 桥在AHB 和两个APB 总线之间提供完全同步的连接。APB1 被限制在36 MHz, APB2 工作在全速状态 (根据设备的不同可以达到72 MHz)。
存储器结构
程序存储器、数据存储器、寄存器和 I/O 端口被组织到一个4G 字节的线性地址空间。
这些字节在存储器小端格式编码,在小端格式中,一个字中最低地址的字节为该字的最低位字节,最高地址的字节为最高位字节。
可寻址的存储器空间被分为8 个512MB 的主块。
所有未分配给片上存储器或外设的存储区域被视为是保留的。
存储器映射
边界地址 外设 总线
0x4002 2400 - 0x4002 3FFF 保留
AHB
0x4002 2000 - 0x4002 23FF 闪存存储器接口
0x4002 1400 - 0x4002 1FFF 保留
0x4002 1000 - 0x4002 13FF 复位和时钟控制RCC
0x4002 0400 - 0x4002 0FFF 保留
0x4002 0000 - 0x4002 03FF DMA
0x4001 3C00 - 0x4001 3FFF 保留
APB2
0x4001 3800 - 0x4001 3BFF USART1
0x4001 3400 - 0x4001 37FF 保留
0x4001 3000 - 0x4001 33FF SPI 1
0x4001 2C00 - 0x4001 2FFF TIM1 定时器
0x4001 2800 - 0x4001 2BFF ADC2
0x4001 2400 - 0x4001 27FF ADC1
0x4001 2000 - 0x4001 1FFF 保留
0x4001 1800 - 0x4001 1BFF GPIO 端口 E
0x4001 1400 - 0x4001 17FF GPIO 端口 D
0x4001 1000 - 0x4001 13FF GPIO 端口 C
0x4001 0C00 - 0x4001 0FFF GPIO 端口 B
0x4001 0800 - 0x4001 0BFF GPIO 端口 A
0x4001 0400 - 0x4001 07FF EXIT
0x4001 0000 - 0x4001 03FF AFIO
0x4000 8000 - 0x4000 77FF 保留
APB1
0x4000 7000 - 0x4000 73FF 电源控制(PWR)
0x4000 6C00 - 0x4000 6FFF 备份寄存器(BKP)
0x4000 6800 - 0x4000 6BFF 保留
0x4000 6400 - 0x4000 67FF bxCAN
0x4000 6000 - 0x4000 63FF 共享的USB/CAN SRAM
512 字节
0x4000 5C00 - 0x4000 5FFF USB 寄存器
0x4000 5800 - 0x4000 5BFF I2C2
0x4000 5400 - 0x4000 57FF I2C1
0x4000 5000 - 0x4000 4FFF 保留
0x4000 4800 - 0x4000 4BFF USART3
0x4000 4400 - 0x4000 47FF USART2
0x4000 4000 - 0x4000 3FFF 保留
0x4000 3800 - 0x4000 3BFF SPI2
0x4000 3400 - 0x4000 37FF 保留
0x4000 3000 - 0x4000 33FF 独立的看门狗(IWDG)
0x4000 2C00 - 0x4000 2FFF 窗口看门狗(WWDG)
0x4000 2800 - 0x4000 2BFF RTC
0x4000 2400 - 0x4000 0FFF 保留
0x4000 0800 - 0x4000 0BFF TIM4 定时器
0x4000 0400 - 0x4000 07FF TIM3 定时器
0x4000 0000 - 0x4000 03FF TIM2 定时器
嵌入式SRAM
STM32F10x 内置20K 字节的静态SRAM,可以以字节、半字(16 位)、字(32 位)的方式访问,SRAM 的起始地址为0x2000 0000。
位段
TM32F10x 里,外设寄存器和SRAM 都被映射到一个位段区里,这允许执行单一的位段的写和读操作。
下面的映射公式给出了别名区中的每个字是如何对应位带区的相应位的:
bit_word_addr = bit_band_base + (byte_offset x 32) + (bit_number × 4)
其中:
− bit_word_addr 是别名存储器区中字的地址,它映射到某个目标位。
− bit_band_base 是别名区的起始地址。
− byte_offset 是包含目标位的字节在位段里的序号
− bit_number 是目标位所在位置(0-31)
下面的例子说明如何映射别名区中SRAM 地址为0x20000300 的字节中的位2:
0x22006008 = 0x22000000 + (0x300*32) + (2*4).
对0x22006008 地址的写操作和对SRAM 中地址0x20000300 字节的位2 执行读-改-写操作有着相同的效果。
读0x22006008 地址返回SRAM 中地址0x20000300 字节的位2 的值(0x01 or 0x00)。
STM32解密芯片种类
STM32F030C6
STM32F030C8
STM32F030CC
STM32F030F4
STM32F030K6
STM32F030R8
STM32F030RC
STM32F031C4
STM32F031C6
STM32F031E6
STM32F031F4
STM32F031F6
STM32F031G4
STM32F031G6
STM32F031K4
STM32F031K6
STM32F038C6
STM32F038E6
STM32F038F6
STM32F038G6
STM32F038K6
STM32F042C4
STM32F042C6
STM32F042F4
STM32F042F6
STM32F042G4
STM32F042G6
STM32F042K4
STM32F042K6
STM32F042T6
STM32F048C6
STM32F048G6
STM32F048T6
STM32F051C4
STM32F051C6
STM32F051C8
STM32F051K4
STM32F051K6
STM32F051K8
STM32F051R4
STM32F051R6
STM32F051R8
STM32F051T8
STM32F058C8
STM32F058R8
STM32F058T8
STM32F070C6
STM32F070CB
STM32F070F6
STM32F070RB
STM32F071C8
STM32F071CB
STM32F071RB
STM32F071V8
STM32F071VB
STM32F072C8
STM32F072CB
STM32F072R8
STM32F072RB
STM32F072V8
STM32F072VB
STM32F078CB
STM32F078RB
STM32F078VB
STM32F091CB
STM32F091CC
STM32F091RB
STM32F091RC
STM32F091VB
STM32F091VC
STM32F098CC
STM32F098RC
STM32F098VC
STM32F100C4
STM32F100C6
STM32F100C8
STM32F100CB
STM32F100R4
STM32F100R6
STM32F100R8
STM32F100RB
STM32F100RC
STM32F100RD
STM32F100RE
STM32F100V8
STM32F100VB
STM32F100VC
STM32F100VD
STM32F100VE
STM32F100ZC
STM32F100ZD
STM32F100ZE
STM32F101C4
STM32F101C6
STM32F101C8
STM32F101CB
STM32F101R4
STM32F101R6
STM32F101R8
STM32F101RB
STM32F101RC
STM32F101RD
STM32F101RE
STM32F101RF
STM32F101RG
STM32F101T4
STM32F101T6
STM32F101T8
STM32F101TB
STM32F101V8
STM32F101VB
STM32F101VC
STM32F101VD
STM32F101VE
STM32F101VF
STM32F101VG
STM32F101ZC
STM32F101ZD
STM32F101ZE
STM32F101ZF
STM32F101ZG
STM32F102C4
STM32F102C6
STM32F102C8
STM32F102CB
STM32F102R4
STM32F102R6
STM32F102R8
STM32F102RB
STM32F103C4
STM32F103C6
STM32F103C8
STM32F103CB
STM32F103R4
STM32F103R6
STM32F103R8
STM32F103RB
STM32F103RC
STM32F103RD
STM32F103RE
STM32F103RF
STM32F103RG
STM32F103T4
STM32F103T6
STM32F103T8
STM32F103TB
STM32F103V8
STM32F103VB
STM32F103VC
STM32F103VD
STM32F103VE
STM32F103VF
STM32F103VG
STM32F103ZC
STM32F103ZD
STM32F103ZE
STM32F103ZF
STM32F103ZG
STM32F105R8
STM32F105RB
STM32F105RC
STM32F105V8
STM32F105VB
STM32F105VC
STM32F107RB
STM32F107RC
STM32F107VB
STM32F107VC
STM32F205RB
STM32F205RC
STM32F205RE
STM32F205RF
STM32F205RG
STM32F205VB
STM32F205VC
STM32F205VE
STM32F205VF
STM32F205VG
STM32F205ZC
STM32F205ZE
STM32F205ZF
STM32F205ZG
STM32F207IC
STM32F207IE
STM32F207IF
STM32F207IG
STM32F207VC
STM32F207VE
STM32F207VF
STM32F207VG
STM32F207ZC
STM32F207ZE
STM32F207ZF
STM32F207ZG
STM32F215RE
STM32F215RG
STM32F215VE
STM32F215VG
STM32F215ZE
STM32F215ZG
STM32F217IE
STM32F217IG
STM32F217VE
STM32F217VG
STM32F217ZE
STM32F217ZG
STM32F301C6
STM32F301C8
STM32F301K6
STM32F301K8
STM32F301R6
STM32F301R8
STM32F302C6
STM32F302C8
STM32F302CB
STM32F302CC
STM32F302K6
STM32F302K8
STM32F302R6
STM32F302R8
STM32F302RB
STM32F302RC
STM32F302RD
STM32F302RE
STM32F302VB
STM32F302VC
STM32F302VD
STM32F302VE
STM32F302ZD
STM32F302ZE
STM32F303C6
STM32F303C8
STM32F303CB
STM32F303CC
STM32F303K6
STM32F303K8
STM32F303R6
STM32F303R8
STM32F303RB
STM32F303RC
STM32F303RD
STM32F303RE
STM32F303VB
STM32F303VC
STM32F303VD
STM32F303VE
STM32F303ZD
STM32F303ZE
STM32F318C8
STM32F318K8
STM32F328C8
STM32F334C4
STM32F334C6
STM32F334C8
STM32F334K4
STM32F334K6
STM32F334K8
STM32F334R6
STM32F334R8
STM32F358CC
STM32F358RC
STM32F358VC
STM32F373C8
STM32F373CB
STM32F373CC
STM32F373R8
STM32F373RB
STM32F373RC
STM32F373V8
STM32F373VB
STM32F373VC
STM32F378CC
STM32F378RC
STM32F378VC
STM32F398VE
STM32F401CB
STM32F401CC
STM32F401CD
STM32F401CE
STM32F401RB
STM32F401RC
STM32F401RD
STM32F401RE
STM32F401VB
STM32F401VC
STM32F401VD
STM32F401VE
STM32F405OE
STM32F405OG
STM32F405RG
STM32F405VG
STM32F405ZG
STM32F407IE
STM32F407IG
STM32F407VE
STM32F407VG
STM32F407ZE
STM32F407ZG
STM32F410C8
STM32F410CB
STM32F410R8
STM32F410RB
STM32F410T8
STM32F410TB
STM32F411CC
STM32F411CE
STM32F411RC
STM32F411RE
STM32F411VC
STM32F411VE
STM32F412CE
STM32F412CG
STM32F412RE
STM32F412RG
STM32F412VE
STM32F412VG
STM32F412ZE
STM32F412ZG
STM32F413CG
STM32F413CH
STM32F413RG
STM32F413RH
STM32F413VG
STM32F413VH
STM32F413ZG
STM32F413ZH
STM32F415OG
STM32F415RG
STM32F415VG
STM32F415ZG
STM32F417IE
STM32F417IG
STM32F417VE
STM32F417VG
STM32F417ZE
STM32F417ZG
STM32F423CH
STM32F423RH
STM32F423VH
STM32F423ZH
STM32F427AG
STM32F427AI
STM32F427IG
STM32F427II
STM32F427VG
STM32F427VI
STM32F427ZG
STM32F427ZI
STM32F429AG
STM32F429AI
STM32F429BE
STM32F429BG
STM32F429BI
STM32F429IE
STM32F429IG
STM32F429II
STM32F429NE
STM32F429NG
STM32F429NI
STM32F429VE
STM32F429VG
STM32F429VI
STM32F429ZE
STM32F429ZG
STM32F429ZI
STM32F437AI
STM32F437IG
STM32F437II
STM32F437VG
STM32F437VI
STM32F437ZG
STM32F437ZI
STM32F439AI
STM32F439BG
STM32F439BI
STM32F439IG
STM32F439II
STM32F439NG
STM32F439NI
STM32F439VG
STM32F439VI
STM32F439ZG
STM32F439ZI
STM32F446MC
STM32F446ME
STM32F446RC
STM32F446RE
STM32F446VC
STM32F446VE
STM32F446ZC
STM32F446ZE
STM32F469AE
STM32F469AG
STM32F469AI
STM32F469BE
STM32F469BG
STM32F469BI
STM32F469IE
STM32F469IG
STM32F469II
STM32F469NE
STM32F469NG
STM32F469NI
STM32F469VE
STM32F469VG
STM32F469VI
STM32F469ZE
STM32F469ZG
STM32F469ZI
STM32F479AG
STM32F479AI
STM32F479BG
STM32F479BI
STM32F479IG
STM32F479II
STM32F479NG
STM32F479NI
STM32F479VG
STM32F479VI
STM32F479ZG
STM32F479ZI
STM32F722IE
STM32F722RE
STM32F722VE
STM32F722ZE
STM32F745IE
STM32F745IG
STM32F745VE
STM32F745VG
STM32F745ZE
STM32F745ZG
STM32F746BE
STM32F746BG
STM32F746IE
STM32F746IG
STM32F746NE
STM32F746NG
STM32F746VE
STM32F746VG
STM32F746ZE
STM32F746ZG
STM32F756BG
STM32F756IG
STM32F756NG
STM32F756VG
STM32F756ZG
STM32F765BG
STM32F765BI
STM32F765IG
STM32F765II
STM32F765NG
STM32F765NI
STM32F765VG
STM32F765VI
STM32F765ZG
STM32F765ZI
STM32F767BG
STM32F767BI
STM32F767IG
STM32F767II
STM32F767NG
STM32F767NI
STM32F767VG
STM32F767VI
STM32F767ZG
STM32F767ZI
STM32F769AI
STM32F769BG
STM32F769BI
STM32F769IG
STM32F769II
STM32F769NG
STM32F769NI
STM32F777BI
STM32F777II
STM32F777NI
STM32F777VI
STM32F777ZI
STM32F778AI
STM32F779AI
STM32F779BI
STM32F779II
STM32F779NI
STM32L011D3
STM32L011D4
STM32L011E3
STM32L011E4
STM32L011F3
STM32L011F4
STM32L011G3
STM32L011G4
STM32L011K3
STM32L011K4
STM32L021D4
STM32L021F4
STM32L021G4
STM32L021K4
STM32L031C4
STM32L031C6
STM32L031E4
STM32L031E6
STM32L031F4
STM32L031F6
STM32L031G4
STM32L031G6
STM32L031K4
STM32L031K6
STM32L041C6
STM32L041F6
STM32L041G6
STM32L041K6
STM32L051C6
STM32L051C8
STM32L051K6
STM32L051K8
STM32L051R6
STM32L051R8
STM32L051T6
STM32L051T8
STM32L052C6
STM32L052C8
STM32L052K6
STM32L052K8
STM32L052R6
STM32L052R8
STM32L052T6
STM32L052T8
STM32L053C6
STM32L053C8
STM32L053R6
STM32L053R8
STM32L062K8
STM32L063C8
STM32L063R8
STM32L071C8
STM32L071CB
STM32L071CZ
STM32L071K8
STM32L071KB
STM32L071KZ
STM32L071RB
STM32L071RZ
STM32L071V8
STM32L071VB
STM32L071VZ
STM32L072CB
STM32L072CZ
STM32L072KB
STM32L072KZ
STM32L072RB
STM32L072RZ
STM32L072V8
STM32L072VB
STM32L072VZ
STM32L073CB
STM32L073CZ
STM32L073RB
STM32L073RZ
STM32L073V8
STM32L073VB
STM32L073VZ
STM32L081CZ
STM32L081KZ
STM32L082CZ
STM32L082KZ
STM32L083CB
STM32L083CZ
STM32L083RB
STM32L083RZ
STM32L083V8
STM32L083VB
STM32L083VZ
STM32L100C6-A
STM32L100R8-A
STM32L100RB-A
STM32L100RC
STM32L151C6-A
STM32L151C8-A
STM32L151CB-A
STM32L151CC
STM32L151QC
STM32L151QD
STM32L151QE
STM32L151R6-A
STM32L151R8-A
STM32L151RB-A
STM32L151RC
STM32L151RD
STM32L151RE
STM32L151UC
STM32L151V8-A
STM32L151VB-A
STM32L151VC
STM32L151VD
STM32L151VD-X
STM32L151VE
STM32L151ZC
STM32L151ZD
STM32L151ZE
STM32L152C6-A
STM32L152C8-A
STM32L152CB-A
STM32L152CC
STM32L152QC
STM32L152QD
STM32L152QE
STM32L152R6-A
STM32L152R8-A
STM32L152RB-A
STM32L152RC
STM32L152RD
STM32L152RE
STM32L152V8-A
STM32L152VB-A
STM32L152VC
STM32L152VD
STM32L152VD-X
STM32L152VE
STM32L152ZC
STM32L152ZD
STM32L152ZE
STM32L162QD
STM32L162RC
STM32L162RD
STM32L162RE
STM32L162VC
STM32L162VD
STM32L162VE
STM32L162ZD
STM32L162ZE
STM32L431CB
STM32L431CC
STM32L431KB
STM32L431KC
STM32L431RB
STM32L431RC
STM32L431VC
STM32L432KB
STM32L432KC
STM32L433CB
STM32L433CC
STM32L433RB
STM32L433RC
STM32L433VC
STM32L442KC
STM32L443CC
STM32L443RC
STM32L443VC
STM32L471QE
STM32L471QG
STM32L471RE
STM32L471RG
STM32L471VE
STM32L471VG
STM32L471ZE
STM32L471ZG
STM32L475RC
STM32L475RE
STM32L475RG
STM32L475VC
STM32L475VE
STM32L475VG
STM32L476JE
STM32L476JG
STM32L476ME
STM32L476MG
STM32L476QE
STM32L476QG
STM32L476RC
STM32L476RE
STM32L476RG
STM32L476VC
STM32L476VE
STM32L476VG
STM32L476ZE
STM32L476ZG
STM32L486JG
STM32L486QG
STM32L486RG
STM32L486VG
STM32L486ZG
STM32H743BI
STM32H743II
STM32H743VI
STM32H743XI
STM32H743ZI
STM32L100C6
STM32L100R8
STM32L100RB
STM32L151C6
STM32L151C8
STM32L151CB
STM32L151R6
STM32L151R8
STM32L151RB
STM32L151RC-A
STM32L151V8
STM32L151VB
STM32L151VC-A
STM32L152C6
STM32L152C8
STM32L152CB
STM32L152R6
STM32L152R8
STM32L152RB
STM32L152RC-A
STM32L152V8
STM32L152VB
STM32L152VC-A
STM32L162RC-A
STM32L162VC-A
STM32L162VD-X
STM32F413MG
STM32F413MH
STM32F723IE
STM32F723ZE
转载请注明来源:www.pcbhf.com