【STM32F303开发】+ 失败的固件升级&点灯——by shadow丶
本帖最后由 shadow丶 于 2015-6-18 20:28 编辑PS:说真的 ST很有心!不论Cude,还是以前的官方函数库,都很有心意
但是既然已经那么有心为什么不再用点心呢将软件做的更友好一点呢0.0
//三楼补充固件可以刷到2.23.10和最新固件差一个版本0.0
首先要说明固件升级失败了0.0 非但没有升级还降了。。。
PS:当时怎么就脑残的点了yes。。。。。当前版本2.23.9升级版本2.21.5。。。。。。
好吧!既然失败了 也分享下失败的过程,过程应该没错,供坛友借鉴,
只是楼主太脑残了居然降级还yes。。。。官网最新的版本应该是2.24.11
如果坛友STlink/v2-1固件升级成功请向楼主分享你的升级过程0.0(期待中)
首先官网地址
NUCLEO-F303RE:http://www.st.com/web/catalog/tools/FM116/SC959/SS1532/LN1847/PF260945?s_searchtype=partnumber
STlink驱动地址:http://developer.mbed.org/media ... leodriversigned.zip
固件跟新工具地址:http://www.st.com/web/en/catalog/tools/PF260217
PS:这个是mbed官网给的0.0 但是楼主没能找到下载选项,于是自己在st官网上搜索
也找到了个STSW-LINK007的,以为名一样文件就一样结果应该是老版本的0.0
如果坛友有新版本的STSW-LINK007请向楼主分享最新的固件版本2.24.11
下面我们来开始这次失败的升级之旅
1.首先安装驱动,解压升级工具
双击即可
插上板子,随后会发现
下面就开始我们的“升级”过程应该是对的只是版本不对,0.0
板子插上后
单击Device Connect,会发现mbed盘没了0.0
随后出现版本号及要升级的版本号
PS:一定要注意哦 看好是升级还是降级
单击yes
delay();
说明我们升级已经完成
PS:亲们要是找到可以升级2.24.11的记得和楼主分享下0.0
对比下降级前后mbed盘的变化0.0
降级前
降级后
ps:妹子的 坑爹0.0
st的软件经常给人优点不自由,不友好的感觉,
唉楼主小白0.0,以上只是个人感觉不喜勿喷
之后来进行我们的点灯0.0:
首先使用的是mbed0.0
登录mbed后选好板子,自然就会有一个简单的led程序0.0
我门先使用这个0.0程序下载进板
这样就会编译,然后会弹出一个bin文件的下载,
我门下载后直接复制进板子就好了
再此之后我们再使用SMeshStudio进行一次点灯
SMeshStudio这个软件是mbed的离线版同时支持mbed,arduion,contiki的开发,是一个多平台的编译器
smeshlink官网地址:http://mbed.smeshlink.com/
有些朋友如果觉得麻烦也可以直接网盘下载地址如下:
链接: https://pan.baidu.com/s/1c08lmOo 密码: 24tw
解压就能用最好在英文目录 ,中文可能莫名错误0.0
呃废话少说SM走起
首先建立工程
File -> New ->Other... 或者直接快捷键Ctrl + N
这样我们就成功新建了f303的一个工程0.0
好了我门直接点击对号进行编译完成后就可以点击下载0.0
效果和上个gif图相似
当年焊的小灯一直被用来点灯从来未变
简单的流水灯0.0
在此之前还尝试了Cube + keil50.0
详情请参考
stm32 cubemx点个灯
https://www.stmcu.org.cn/module/foru ... 408&fromuid=2072898
沙发自己占可能会用上 又补充什么的:lol 自己在来一下以解决0.0
使用这个更新固件可以刷到2.23.10
感谢分享,话说升级后有什么新功能呢,我一直安装不了的虚拟串口能不能解决呢。 creep 发表于 2015-6-18 21:19
感谢分享,话说升级后有什么新功能呢,我一直安装不了的虚拟串口能不能解决呢。 ...
可以看下介绍呃英文的0.0
还有这个是mbed的更新介绍
Revision historyV2.J24.M11
[*]Corrections
[*]bug fix SWV not working withV2J23Mx firmware on some recent PCs
[*]New features
[*]Provide a command for JTAG clock frequency selection
[*]Added support for management 32L053DISCOVERY and 32F3348DISCOVERY boards
[*]Added support for STM32F746
V2.J23.M10
[*]Fixed the MacOS Yosemite issue.
[*]The package contains 2 applications:
[*]STLinkUpgrade.exe for Windows ("old fashion")
[*]a new GUI (java application) expected to replace the old application on all platforms.
Some more details in "readme.txt" files inside the package.
V2.J23.M9
[*]Modification of flash programming algorithm for STM32F4, STM32F7 and STM32L4 microcontrollers families
[*]Added check against the validity of the application, when programmed through the mass storage interface (validity algorithm based on Reset and Stack Pointer values in the vector table)
[*]Set default SWCLK to 4MHz for better performance
V2.J23.M6
[*]Fixed the virtual comm port against a possible delay in data reception by the host (like a cache flush issue)
[*]Fixed the virtual comm port against a possible communication failure during data emission by the host on some USB3 ports
[*]Fixed the mass storage interface enumeration after a programming of the target application, reducing the risk to loose the VCP communication during such operation
[*]Fixed the suppression of one target reset sequence during the power on sequence
[*]Changed the SWD communication in order to reduce the noise generated by SWD signals
V2.J22.M5
[*]ST-Link firmware upgrade for correct support of Nucleo-F411RE by the MSD interface (drag&drop functionality).
V2.J21.M5
[*]This version contains a fix against a regression in TNRST management that does not directly impact the mbed drag&drop programming, but when the board is used from a debugger.
V2.J20.M4
[*]Suppressed “high speed device” notification when plugging to a non-high speed USB port or to an USB3 port
[*]Keep the virtual com port session valid (if any opened), when reprogramming the application
[*]Fixed potential lockup condition in SWV trace management and Virtual Com Port management
V2.J19.M3
[*]Fixes 8.3 filename error
[*]Fixes Chrome browser support
多谢分享 多谢分享,不错。。 谢谢分享,楼主做的图片很好 lkl0305 发表于 2015-6-18 23:04
多谢分享
谢谢支持!!! Paderboy 发表于 2015-6-19 00:08
多谢分享,不错。。
谢谢支持!!