关于ST-Link的使用

ST-Link非常好用,既可以像JLINK那样在软件中直接下载,,也可以下载Hex文件,

自己买的这种,,,,

其实就是SWD下载模式

安装驱动

所有用到的

链接:http://pan.baidu.com/s/1c10Twsg 密码:m4dx

先安装好驱动现在用软件下载

现在用这个软件下载Hex文件,,,安装步骤可以百度下

ST-Link可以软件下载,也可以下载Hex文件,,关键是比串口下载快,,省时

时间: 2024-08-06 05:39:52

关于ST-Link的使用的相关文章

st link flash timeout reset the target try it againt

今天在下载代码时出现如下错误, 网上查找了找原因,是因为之前代码设置了读保护功能. 读保护即大家通常说的"加密",是作用于整个Flash存储区域.一旦设置了Flash的读保护,内置的Flash存储区只能通过程序的正常执行才能读出,而不能通过下述任何一种方式读出:通过调试器(JTAG或SWD):从RAM中启动并执行的程序: 如何进行读保护可以自行百度,设置相应代码. 下面进行清除读保护工作, 首先,将boot0,1拉高,再用flymcu进行清除芯片,如下图所示. 成功好就可正常通过ST

luogu3690 【模板】Link Cut Tree (动态树)

题目 luogu3690 硫硼作者想提醒大家,WA 了 TLE 了 RE 了的,也许只是主函数写错了 代码 #include <iostream> #include <cstdio> #include <cmath> #include <algorithm> #include <cstdlib> #include <cstring> using namespace std; #define pa T[x].fa #define l T

Keil MDK仿真调试STM32的时候直接进入SystemInit函数

1. 仿真的时候,进入之后 2. 说是main()未定义,可是明明定义了,什么原因?喔,看错了,是--main.对比了一下和正常工厂的配置,都一样,换个jlink V9测试一下吧.换了个ST LINK V2 也不行,看样子是工程的问题喽?屏蔽了一些main()函数的一些代码,发现可以执行到main()了!!!奇哉怪也,难道后面的代码写错了,导致不能仿真到main()??? 原文地址:https://www.cnblogs.com/429512065qhq/p/11061335.html

【刷题】【bfs】最优贸易

神奇的bfs证联通,然后贪心求 每一种可能路径上的差值,最后求结果 #include<cstdio> #include<cstdlib> #include<queue> #include<algorithm> using namespace std; int n,m; const int N=100003,M=500003; int val[N]; int tot[2],head[2][N]; int ev[2][M<<1],enx[2][M&l

STM32F407加密现象一例

在头文件中有    #define OB_RDP_LEVEL_1 ((uint8_t)0x55) 代码中也调用了 HAL_FLASHEx_OBProgram(&OptionsBytesStruct) 然后就变成0x55了,代码读保护了. 用STM32CubeProgrammer把熔丝改回AA,用ST Link V2,还能下载,还能调试! 只是运行的时候提示PC恒为0xFFFFFFFE. 这个容错也太强了,都让keil能跑到这么远.看了半天也没有看出来projx文件配错了什么,昨天一直以为是deb

link cut tree 入门

鉴于最近写bzoj还有51nod都出现写不动的现象,决定学习一波厉害的算法/数据结构. link cut tree:研究popoqqq那个神ppt. bzoj1036:维护access操作就可以了. #include<cstdio> #include<cstring> #include<cctype> #include<algorithm> #include<queue> using namespace std; #define rep(i,s,

Python 获取Facebook特定用户的feed和link

CODE: #!/usr/bin/python # -*- coding: utf-8 -*- ''' Created on 2014-8-9 @author: guaguastd @name: facebook_connection_query.py ''' # impot login from login import facebook_login # import helper from helper import pp # access to facebook facebook_api

P3690 【模板】Link Cut Tree (动态树)

P3690 [模板]Link Cut Tree (动态树) https://www.luogu.org/problemnew/show/P3690 分析: LCT模板 代码: 注意一下cut! 1 #include<cstdio> 2 #include<algorithm> 3 4 using namespace std; 5 6 const int N = 300100; 7 8 int val[N],fa[N],ch[N][2],rev[N],sum[N],st[N],top;

Link Cut Tree(无图慎入)

类似树链剖分(其实直接记住就可以了),提前放代码 1 #include<cstdio> 2 #include<cstdlib> 3 #include<iostream> 4 #include<algorithm> 5 #include<cstring> 6 #include<climits> 7 #include<cmath> 8 #define N (int)(3e5+5) 9 using namespace std;

[模板]Link Cut Tree

传送门 Description 给定n个点以及每个点的权值,要你处理接下来的m个操作.操作有4种.操作从0到3编号.点从1到n编号. 0:后接两个整数(x,y),代表询问从x到y的路径上的点的权值的xor和.保证x到y是联通的. 1:后接两个整数(x,y),代表连接x到y,若x到y已经联通则无需连接. 2:后接两个整数(x,y),代表删除边(x,y),不保证边(x,y)存在. 3:后接两个整数(x,y),代表将点x上的权值变成y. Solution \(Link\ Cut\ Tree\)模板题