嵌入式


opened

<h3>Flash相关命令</h3> <p><a href="http://openocd.org/doc/html/Flash-Commands.html#flashprogrammingcommands">http://openocd.org/doc/html/Flash-Commands.html#flashprogrammingcommands</a></p> <p>简化的下载命令 <a href="http://openocd.org/doc/html/Flash-Programming.html#Flash-Programming">http://openocd.org/doc/html/Flash-Programming.html#Flash-Programming</a></p> <pre><code># program and verify using elf/hex/s19. verify and reset # are optional parameters openocd -f board/stm32f3discovery.cfg \ -c "program filename.elf verify reset exit" # binary files need the flash address passing openocd -f board/stm32f3discovery.cfg \ -c "program filename.bin exit 0x08000000"</code></pre> <h3>Build openocd</h3> <pre><code>$ ./configure libjaylink configuration summary: - Package version ................ 0.2.0-git-f73ad5e - Library version ................ 0:0:0 - Installation prefix ............ /usr/local - Building on .................... armv7l-unknown-linux-gnueabihf - Building for ................... armv7l-unknown-linux-gnueabihf Enabled transports: - USB ............................ yes - TCP ............................ yes 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) OSBDM (JTAG only) Programmer yes (auto) eStick/opendous JTAG Programmer yes (auto) Andes JTAG Programmer yes (auto) USBProg JTAG Programmer no Raisonance RLink JTAG Programmer no Olimex ARM-JTAG-EW Programmer no CMSIS-DAP Compliant Debugger no Cypress KitProg Programmer no Altera USB-Blaster Compatible no ASIX Presto Adapter no OpenJTAG Adapter no SEGGER J-Link Programmer yes (auto) </code></pre>

页面列表

ITEM_HTML