Retrieving ST-Link/V2 Firmware from Update Utility
http://www.taylorkillian.com/2013/01/retrieving-st-linkv2-firmware-from.html
http://forum.easyelectronics.ru/viewtopic.php?f=17&t=6620&start=0
Reversing proshivatelya ST-Link
For what? I want to pull out the full firmware from apple cores to try to make a full Discovery (well, almost) ST-Link. Naturally, there are hardware differences, but they can be overcome - to attach a level converter and trivia among other things.
About 15 minutes (longer write code ;) than the reverse) found that the STM8S-Discovery is as ST-Link v1.
The question is - do not do it if I repeat what has already been done ;)? And will anyone interested in the result.
UPD1. Firmware is pulled out, but it is encrypted. The key type is found, reverses the encryption algorithm. Scheme complete ST-Link also seems to have found on one of devbord from ST.
UPD2. Do not believe it. :) Deciphered. Now we have to STM32F103 nadybat (dumb on Discovery experimenting :)) and try. If there are brave people with finished with a handkerchief for this case - us, wondering potestit.
So, there is still one part - the identification and what is not replaced when flashing - 0x4000 bytes at the beginning of the flush. Any idea how to get it?
While I can say that can alter ST-Link on Discovery in full, but here's clone from scratch - it is necessary to seek a method dump these initial bytes of flash.
Prosherstila Internet, more and more convinced of the usefulness of the built-ST-Link: STM32VL-Discovery in exactly the same, but the circumcision of the other type of software :) 0x4a - JTAG Debugger, and STM8 type 0x53 - SWIM Debugger, and the possible and, and there type 0x4D - JTAG + SWIM Debugger.
That would still live Owner ST-Link v1 to find, but ask a couple of prog to drive, it would be easier.
This is how I see the marking, namely ST-Link, right? And it v1. Do you mind if I let down a couple of days to run the program notes? Just read no more. May be able to do the people's debugger for all STM :).
PS. Discovery to solder JTAG, USB flash drive, as expected, no direct reads, radishes :). But in the RAM write / read gives. Wait sculpt will prozhku to copy a piece of flash to RAM
No, unfortunately the first 0h3S00 does not alter. It seems there is sewn logic DFU, and it has not yet ruled. The structure of the firmware is as follows:
1. 0h8000000 - 0h8003S00 - HZCH. Presumably DFU-code, not overwritten.
2. 0h8003S00 - 0h8004000 - configuration block.
3. 0h8004000 - ... - Depending on the version and type of debugger
4. 0h800D000 - there is only v1, does not depend on the type of debugger.
In stock and 3.4 part 2. It is necessary to know only one block.
Getting there primitive - based on SCSI commands. Here's what I found so far googled: http://code.google.com/p/arm-utilities/ - where much is made of the support STM32, STM8 - in versaloon and OpenOCD. But poreversit can, you're right.
Threat. There will be some free time - do proxies for STLinkUSBDriver.dll - then it will be more fully see what's going on in the process.
Heh, you will not believe ... The first block is ... Drive FAT16 :). Or emulation, which is more likely - there must have something to work off the team DFU and transferring control to the debugger (which by the way is also done through a SCSI-command). So the contents of 2.5k 16ti do know is left to get the leftovers.
I now have two problems:
1. Rewrite configuration space, so he took proshivator truncatedness ST-Link for full. I am writing a program to dump this piece, like the record is clear how to do - this option seems the most real.
2. Throw a "decoy", that one of the challenges of a dump of memory. How - is not yet clear. Likely to look into the original BIOS file to find a tab for just pull. If it is possible - will be a full clone. While the version of the distant future :).
Sdamplenymi files is willing to share, provided that all nakovyrennoe will not be used for commercial purposes and will be available to all comers (shorter copyleft :)).
Hello everyone.
Gathered USB SWD programmer scheme of STM32VLDISCOVERY. Firmware Versaloon works, ie vsprog, OpenOCD did not try.
CooIDE work with OpenOCD does not want to, but it works with the ST-Link. I was looking for the firmware of it, is not found.
There is certainly an ST-LinkUpgrade.exe, there is clearly a firmware poked disassembler, but failed to find anything (
If you have any sketches, I will be glad to try.
Apparently here these people were able to get the firmware http://elecena.pl/product/912714/zl30prg
Thank you!
Vylrat code updater'a any of them do not. The whole problem is only a piece of the 800 0000 and 800 4000. Two for mudoholsya then went and did just ULinkMe - circuits and firmware bulk. Use myself samopalbny J-Link on the Chinese scheme already, 3 - ULinkMe just for interesayu Repeat ST-Link.
I do not see no point in repeating the st-link - except for time-wasters. and the adapter and soft shit still shitty.
PS Sorry for the harsh sentences - beer makes itself felt
PPS
To compensate for the sharpness can report a successful start. NET MF to STM32F4-Discovery. Now draw platyu under three cheapest display with aliexpress (1.8, 2.8, 3.5) - which will come before - and he gets to. NET MF
Retrieving ST-Link/V2 Firmware from Update Utility的更多相关文章
- 使用st link v2向stm32下载和调试程序
st官网 正版ST-link/V2引脚定义和注意事项 分为ST-LINK/V2和ST-LINK/V2-ISOL两种型号 是STM8和STM32微控制器(MCU)系列的在线调试器和编程器(还是下载器.仿 ...
- keil5配置ST Link v2 for STM32F10x
请务必先安装MDKCM525.EXE,否则会找不到闪存编程算法
- 6.ST LINK 下调试异常
☆1.无法进入main函数(printf的影响)***为什么有时候可以进入main函数,有什么进入不了main函数? <1> 因为C语言默认使用显示器作为标准输出的设备,所以如果想利 ...
- st link 连接问题ST LINK is not in the DFU mode plesse restart it
原因:插上st link后做了一些操作才点击升级.如点击了连接stlink,如下图等: 解决办法: 1. 拔掉stlink 2. 插上stlink 3. 不要点其他的,直接点击ST-LINK-> ...
- ST Link 调试问题总结
用过ST Link调试工具的同事都应该知道,ST Link是一个很不错的调试工具,它具有小并且功能齐全,价格便宜等特点,现在市场上普遍是下面这两种ST Link, 但如果用的比较多,会发现有时候会存在 ...
- STM32Cube填坑,ST link 下载一次以后无法下载
ST link 下载一次以后无法下载, 原因是工程设置忘记设置Debug模式
- 超级MINI STLINK V2 官方固件自动升级 ST-Link 【worldsing 笔记】
简介: 支持所有带SWIM接口的STM8系列单片机 支持所有带SWD接口的STM32系列单片机 完全兼容Keil,STVP,STVD,IAR,COSMIC,STM32 ST-LINK Utility! ...
- STM32开发(一):简介及开发环境
1. 背景 STM32是意法(ST)公司开发的基于ARM Cortex-M系列的一系列微控制器(MCU). 有两种库 标准外设库(StdPeriph_Driver.Standard Periphera ...
- stm32CubeMx工程使用GCC编译
软件: STM32CubeMx 5.0 GCC编译器 STM32 ST Link Utility 下载器:ST Link V2 1 安装gcc编译器 能编译ARM Cortex M核的GCC编译器下 ...
随机推荐
- openjudge-NOI 2.6-1996 登山
题目链接:http://noi.openjudge.cn/ch0206/1996/ 题解: 正反求两次LIS即可 #include<cstdio> #include<cstring& ...
- Java杂知识汇总(自己积累的)
[前提] 接下来,可能需要开始学习Java了,所以现在将前辈们传递给我的经验都记录下来,免得再次问他们. [积累] 1. 关于重启Tomcat服务器: 当在开发过程中, | 修改Java代码 -- 需 ...
- HBase原理解析(转)
本文属于转载,原文链接:http://www.aboutyun.com/thread-7199-1-1.html 前提是大家至少了解HBase的基本需求和组件. 从大家最熟悉的客户端发起请求开始讲 ...
- GitBash、EGit、SourceTree三个Git管理工具对比
Git管理工具对比(GitBash.EGit.SourceTree) GitBash是采用命令行的方式对版本进行管理,功能最为灵活强大,但是由于需要手动输入希望修改的文件名,所以相对繁琐. EGit是 ...
- TCP可靠传输和拥塞控制
1.TCP的可靠传输 tcp的可靠传输主要靠 来自接收方的确认报文 和 超时重传. 发出报文,计时器开始计时,在规定超时时间内未收到确认报文则重新发送. 注意:发送报文都留一个副本,如果收到确认报文就 ...
- coding.net--多人合作开发git的使用
// 从conding拉下新项目 mkdir test cd test git clone https // 安装cocoapods gem sources --remove https://ruby ...
- qt调用仪器驱动库dll实现程控
在<使用qt+visa实现程控>中实现了qt调用visa库的简单Demo本文将尝试使用qt调用仪器驱动库来实现对仪器仪表的程控 开发环境 系统: windows 10 环境: qt 5.8 ...
- [Gym - 100517K] Kingdom Division 2 二分
大致题意: 给出一个凸包,以及凸包内的两个点p1,p2,求有多少条经过凸包顶点的直线能够将凸包分割为两部分,且给出的两点分别属于不同的部分 枚举凸包的顶点,二分求出p1,p2线段左边的最大坐标L以及右 ...
- 【面试总结-编程】多行两列数据,实现同key的value求和并输出
一个文件,两列,多行. 第一列是字母,第二列是数字,同列数据之间通过空格分割. 统计首列字母相同的第二列之和. 样例输入: A 5 B 6 OO 7 A 6 A 2 OO 2 输出: A:13 B:6 ...
- BASE64Decoder BASE64Encoder jar包问题
操作 对项目右击--->build path--->configure build path---> 选中默认jre OK,操作完毕, import sun.misc.BASE64D ...