当前位置:网站首页>Openocd compilation and installation
Openocd compilation and installation
2022-06-25 20:49:00 【CharX】
Access to the source code :
#Feb 7,2022,OpenOCD v0.11.0
git clone git://git.code.sf.net/p/openocd/code openocd-code
Checking depends on :
- libtool
- libusb-1.0
- hidapi (required for cmsis-dap)
Installation dependency :(Ubuntu/Debian)
sudo apt install libtool libusb-1.0.0 libhidapi-dev
Get into Git Catalog , perform :
./bootstrap
If it is completed normally, the feedback should look like this :
Bootstrap complete. Quick build instructions:
./configure ....
If the following error occurs :
fatal: cannot access 'https://repo.or.cz/libjaylink.git/':server certificate verification failed. CAfile: none CRLfile: none fatal: Unable to clone 'https://repo.or.cz/libjaylink.git' Path to submodule '/home/char_x/arm/openocd-code/src/jtag/drivers/libjaylink' clone 'src/jtag/drivers/libjaylink' Failure . Retry as scheduled
Then execute the following command :
export GIT_SSL_NO_VERIFY=1
bootstrap Run after execution configuue, The following message indicates that the configuration is complete and the compilation can begin
OpenOCD configuration summary -------------------------------------------------- MPSSE mode of FTDI based devices yes (auto) ST-Link Programmer yes (auto) TI ICDI JTAG Programmer yes (auto) Keil ULINK JTAG Programmer yes (auto) Altera USB-Blaster II Compatible yes (auto) Bitbang mode of FT232R based devices yes (auto) Versaloon-Link JTAG Programmer yes (auto) TI XDS110 Debug Probe yes (auto) CMSIS-DAP v2 Compliant Debugger yes (auto) OSBDM (JTAG only) Programmer yes (auto) eStick/opendous JTAG Programmer yes (auto) Olimex ARM-JTAG-EW Programmer yes (auto) Raisonance RLink JTAG Programmer yes (auto) USBProg JTAG Programmer yes (auto) Andes JTAG Programmer yes (auto) CMSIS-DAP Compliant Debugger yes (auto) Nu-Link Programmer yes (auto) Cypress KitProg Programmer yes (auto) Altera USB-Blaster Compatible no ASIX Presto Adapter no OpenJTAG Adapter no Linux GPIO bitbang through libgpiod no SEGGER J-Link Programmer yes (auto) Bus Pirate yes (auto) Use Capstone disassembly framework no
Compilation and installation :
make
sudo make install
OpenOCD Use :
[email protected]:openocd -f interface/cmsis-dap -f target/stm32f1x.cfg
DAP Adapter before ,Target After , Need to be in root Run under
边栏推荐
- Installing mysql8 under centos8
- Is it safe to open an account with a mobile phone? Where can I open an account to buy shares?
- Log4j2 vulnerability detection tool list
- Server pressure troubleshooting top
- Leetcode daily [2022 - 02 - 18]
- Lesson 1 Preparation
- The user name and password will be automatically filled in when adding a form
- E-commerce project environment construction
- Decipher the AI black technology behind sports: figure skating action recognition, multi-mode video classification and wonderful clip editing
- 股市小白通过网上进行股票开户安全吗?
猜你喜欢
Log4j2 vulnerability detection tool list
How does pycharm create multiple console windows for debugging in different environments?
CiteSpace download installation tutorial
Cvpr2020 | the latest cvpr2020 papers are the first to see, with all download links attached!
[deep learning series] - visual interpretation of neural network
Leetcode daily question - 28 Implement strstr() (simple)
8 minutes to understand the wal mechanism of tdengine
Boomfilter learning
Paddledtx v1.0 has been released, and its security and flexibility have been comprehensively improved!
New generation engineers teach you how to play with alluxio + ml (Part 2)
随机推荐
Ensure the decentralization and availability of Oracle network
Why doesn't anyone read your hard-working blog? Do you really understand the skills of framing, typesetting and drawing?
How can the intelligent transformation path of manufacturing enterprises be broken due to talent shortage and high cost?
Png to NII
Cvpr2019 | the latest cvpr2019 papers are the first to read!
Basic process of configuring utf8 in idea
Those high-frequency and real software test interview questions sorted out by the test director in 7 days, come to get
Reasons for network timeout app flash back
Svn various color states
Log4j2 vulnerability detection tool list
Vbpr (visual Bayesian personalized ranking) paper summary
Lesson 3 urllib
Nine built-in objects of JSP and four scopes of Servlet
Common optimization of e-commerce server system architecture
Introduction to the basics of kotlin language: lambda expression
How to buy the millions of medical insurance for children? How much is it a year? Which product is the best?
A new paradigm for large model application: unified feature representation optimization (UFO)
This is a simple and cool way to make large screen chart linkage. Smartbi will teach you
App battery historian master
Leetcode daily question - 27 Remove element (simple)