• Stars
    star
    122
  • Rank 292,031 (Top 6 %)
  • Language Tcl
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OpenOCD工具箱 (温馨提示:请点击本页面右侧绿色按钮处下载zip压缩包)

中文 English

OpenOCD工具箱

OpenOCD介绍

OpenOCD是一个开源的调试软件,称之为世界上最强大的开源调试软件并不为过,经过数十年的开源社区的推动发展,当今其可调试数百种目标芯片,包括arm, mips, dsp, fpga, cpld等。支持多种调试接口,如cmsis-dap, jlink, stlink, usb-blaster等。

脚本介绍

以下是一些基于cmsis-dap接口的调试脚本,可以对目标芯片完成擦除、烧录、锁定等操作,当然您也可以自行修改脚本,以完成自己的定制需求。

使用说明

使用非常简单,无需安装任何额外软件,以及额外的配置,您只需将本仓库下载下来,双击其中脚本即可运行,实际使用会比图形界面操作更加高效,也更加强大

脚本说明

flash_dump.bat
dump出目标芯片中的flash,不同目标芯片由于flash空间不同,或许您需要手动编辑文件修改其中的flash空间大小


flash_write.bat
将当前目录下的flash_image.bin写入到目标芯片中,您可自行修改其中的路径及文件名


擦除

flash_erase.bat
擦除目标芯片flash


锁定

lock.bat
对目标芯片锁定,即增加读保护,加上读保护之后,无法从调试接口访问flash空间,若执行解锁操作,则芯片内部逻辑会自动擦除所有flash数据


解锁

unlock.bat
解锁目标芯片,会擦除所有flash数据


Attach

attach.bat
attach到目标芯片上,您可双击此脚本,观察输出,以确认仿真器和是否和目标板正确连接


支持平台

当前支持如下平台的操作

  • stm32f0x
  • stm32f1x
  • stm32f2x
  • stm32f4x
  • stm32l4x
    若您有需求,请在本仓库的issue中上报新平台,脚本会持续更新。

More Repositories

1

nanoDAP

建议大家star此仓库,仓库会持续更新。由于部分淘宝卖家“借鉴”实验室出品的nanoDAP详情描述和资料,请大家认准实验室官方链接
C
1,010
star
2

nanoDLA

24MHz sampling rate Logic Analyzer based on fx2lafw
C
507
star
3

icesugar

iCESugar FPGA Board (base on iCE40UP5k)
Verilog
315
star
4

TD4-4BIT-CPU

simple 4-BIT CPU with 74-serials chip,origin by Kaoru Tonami in his book “How to build a CPU”
HTML
220
star
5

Colorlight-FPGA-Projects

current focus on Colorlight i5 and i9 & i9plus module
Verilog
208
star
6

icesugar-pro

iCESugar series FPGA dev board
Verilog
141
star
7

nanoDAP-wireless

nanoDAP-wireless无线仿真器用户手册
126
star
8

AntRunner

a DIY Antenna Rotator by BG5DIW
C
108
star
9

nanoDAP-HS

DAPLink High Speed
C
102
star
10

icesugar-nano

iCESugar-nano FPGA board (base on iCE40LP1K)
AGS Script
83
star
11

ESPLink

designed for debug Espressif's ESP series chips, include ESP8266/ESP32/ESP32-S2/ESP32-C3/ESP32-S3...
C
63
star
12

USB-HS-Bridge

61
star
13

nanoCH32V003

Shell
57
star
14

nanoCH32V203

45
star
15

nanoESP32-S2

Shell
44
star
16

nanoESP32-S3

ESP32-S3 dev board
C
42
star
17

smachine

Simple Machine, include simulator、ccompiler、assembler
C
40
star
18

nanoCH55x

Shell
39
star
19

8086sos

simple os for 8086 on a MBR
Assembly
34
star
20

RPI-HAT-Programmer

树莓派多功能编程器
C
33
star
21

nanoESP32-C3

ESP32-C3 dev board by muselab
Shell
26
star
22

PDTricker

C
25
star
23

f1c100s-gpio-tools

Command-line access to F1C100s GPIO
C
23
star
24

HC6502

home computer 6502
C
22
star
25

CVE-2020-8004

Python
20
star
26

sigrok-firmware-fx2lafw

C
19
star
27

nrf24-ble

C
15
star
28

nanoCH32V305

15
star
29

sos

Simple OS for raspberry pi 2 model B
C
14
star
30

dslogic

C
13
star
31

pico-lab

C
12
star
32

nanoESP32-C6

11
star
33

ART-of-PCB

HTML
10
star
34

nanoUART

a mini Serial Tool based on CH343P, support up to 6Mbps baudrate.
10
star
35

nanoDAP-HS-wireless

10
star
36

nanoSTM32F0

C
8
star
37

CH32V203-makefile-example

C
7
star
38

DIY-UDISK

6
star
39

RPI-HAT-CoolingFan

树莓派扩展板-散热风扇
C
6
star
40

pyocd-toolbox

Python
6
star
41

linux-wild-tutorial

Shell
6
star
42

RPI-HAT-Pico-BreakoutBoard

RPI-HAT-Pico-BreakoutBoard
Shell
5
star
43

nanoUART-wl

4
star
44

smart_switch_hack

https://www.muselab-tech.com/zhi-neng-kai-guan-ni-xiang-bing-shua-ru-tasmotagu-jian/
Shell
4
star
45

snowflake-light

3
star
46

CH32V003-makefile-example

C
3
star
47

naooUART-wl

2
star
48

wch-riscv-openocd

C
2
star
49

Look4Sat-AntRunner-Controller

Use Look4Sat to control my AntRunner rotator
C
2
star
50

esp32-key

2
star
51

rpi_monitor

自己动手做视频监控
C
2
star
52

nes

C
2
star
53

ml-esp-link

2
star
54

dot

some dot scripts.
Makefile
1
star
55

nanoUART-wl-lr

long range wirelss UART Tool
1
star
56

u-things

iot project with USB interface
C
1
star
57

python

some python application, games.
Python
1
star
58

blues_200_licks

1
star
59

opencv

1
star
60

gnuplot

some gnuplot script
Gnuplot
1
star
61

caculator

caculator written in C, for myself to learn the decline recursive analysis
C
1
star
62

Converter

C++
1
star
63

RPI-HAT-Lora-SX1278

C
1
star
64

pyqt5

Python
1
star
65

tools

C
1
star
66

RPI-HAT-Color-Matrix

1
star