stm32flash

  • y9_158183
    了解作者
  • 338.4KB
    文件大小
  • gz
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-06 10:48
    上传日期
Linux下用于串口下载stm32固件的程序, Usage: ./stm32flash [-bvngfhc] [-[rw] filename] /dev/ttyS0 -b rate Baud rate (default 57600) -r filename Read flash to file -w filename Write flash to file -u Disable the flash write-protection -e n Only erase n pages before writing the flash -v Verify writes -n count Retry failed writes up to count times (default 10) -g address Start execution at specified address (0 = flash start) -s start_page Flash at specified page (0 = flash start) -f Force binary parser -h Show this help -c Resume the connection (don't send initial INIT) *Baud rate must be kept the same as the first init* This is useful if the reset fails Examples: Get device information: ./stm32flash /dev/ttyS0 Write with verify and then start execution: ./stm32flash -w filename -v -g 0x0 /dev/ttyS0 Read flash to file: ./stm32flash -r filename /dev/ttyS0 Start execution: ./stm32flash -g 0x0 /dev/ttyS0
stm32flash.tar.gz
  • stm32flash
  • utils.c
    1.1KB
  • serial_platform.c
    86B
  • parsers
  • hex.h
    929B
  • hex.c
    4.7KB
  • binary.h
    938B
  • Makefile
    116B
  • binary.c
    2.6KB
  • gpl-2.0.txt
    17.7KB
  • serial_common.c
    2.5KB
  • stm32.h
    1.9KB
  • Makefile
    357B
  • serial.h
    2.5KB
  • serial_posix.c
    5.5KB
  • utils.h
    946B
  • stm32
  • linker.ld
    5.4KB
  • stmreset_binary.c
    3KB
  • crt0.S
    6.4KB
  • stmreset.bin
    428B
  • Makefile
    282B
  • stmreset.c
    1.6KB
  • serial_w32.c
    6KB
  • protocol.pdf
    592KB
  • parser.h
    2KB
  • stm32.c
    8.7KB
  • main.c
    10.3KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta charset="utf-8"><meta name="generator" content="pdf2htmlEX"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><link rel="stylesheet" href="https://csdnimg.cn/release/download_crawler_static/css/base.min.css"><link rel="stylesheet" href="https://csdnimg.cn/release/download_crawler_static/css/fancy.min.css"><link rel="stylesheet" href="https://csdnimg.cn/release/download_crawler_static/5070326/raw.css"><script src="https://csdnimg.cn/release/download_crawler_static/js/compatibility.min.js"></script><script src="https://csdnimg.cn/release/download_crawler_static/js/pdf2htmlEX.min.js"></script><script>try{pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});}catch(e){}</script><title></title></head><body><div id="sidebar" style="display: none"><div id="outline"></div></div><div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://csdnimg.cn/release/download_crawler_static/5070326/bg1.jpg"><div class="t m0 x1 h2 y1 ff1 fs0 fc0 sc0 ls0 ws0">April 2010<span class="_ _0"> </span>Doc ID 17066 Rev 2<span class="_ _1"> </span>1/37</div><div class="t m0 x2 h3 y2 ff2 fs1 fc0 sc0 ls1 ws1">AN3155</div><div class="t m0 x3 h3 y3 ff2 fs1 fc0 sc0 ls2 ws2">Application note</div><div class="t m0 x4 h4 y4 ff1 fs2 fc0 sc0 ls3 ws3">USAR<span class="_ _2"></span>T protocol used</div><div class="t m0 x5 h4 y5 ff1 fs2 fc0 sc0 ls4 ws4">in the STM32&#8482; bootloader</div><div class="t m0 x6 h5 y6 ff2 fs3 fc0 sc0 ls5 ws1">Intr<span class="_ _2"></span>oduction</div><div class="t m0 x6 h6 y7 ff1 fs4 fc0 sc0 ls6 ws5">This application note describes the USAR<span class="_ _2"></span>T protocol used in the STM32 microcontroller </div><div class="t m0 x6 h6 y8 ff1 fs4 fc0 sc0 ls7 ws6">bootloader<span class="_ _2"></span>. I<span class="_ _2"></span>t<span class="_ _3"></span> details each supp<span class="_ _2"></span>or<span class="_ _4"></span>ted command. F<span class="_ _2"></span>or more inf<span class="_ _2"></span>or<span class="_ _3"></span>mation about the USAR<span class="_ _2"></span>T </div><div class="t m0 x6 h6 y9 ff1 fs4 fc0 sc0 ls8 ws7">hardware r<span class="_ _2"></span>esources and requirements f<span class="_ _2"></span>or your de<span class="_ _2"></span>vice bootloader<span class="_ _2"></span>, please ref<span class="_ _2"></span>er to the </div><div class="t m0 x6 h6 ya ff1 fs4 fc0 sc0 ls9 ws8">&#8220;STM32 system memor<span class="_ _3"></span>y boot mode&#8221; application <span class="_ _3"></span>note (AN2606).</div><div class="t m0 x6 h7 yb ff2 fs5 fc0 sc0 lsa ws9">Related documents</div><div class="t m0 x6 h6 yc ff1 fs4 fc0 sc0 lsb wsa">A<span class="_ _2"></span>vailable from www<span class="_ _2"></span>.st.com:</div><div class="t m0 x6 h6 yd ff1 fs4 fc0 sc0 lsc wsb">AN2606 &#8220;STM32 syste<span class="_ _2"></span>m memor<span class="_ _3"></span>y boot mode&#8221;</div><div class="t m0 x7 h8 ye ff3 fs6 fc1 sc0 lsd ws1">www<span class="_ _2"></span>.st.com</div><a class="l" rel='nofollow' onclick='return false;'><div class="d m1"></div></a><div class="d m1"></div></div><div class="pi" data-data='{"ctm":[1.611639,0.000000,0.000000,1.611639,0.000000,0.000000]}'></div></div></body></html>
评论
    相关推荐