J-LINK-OB怎么连接到icloud时出错MCU

【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具) - STM32 - 意法半导体STM32/STM8技术社区
后使用快捷导航没有帐号?
查看: 43487|回复: 501
【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
在线时间20 小时
主题帖子好友
中级会员, 积分 319, 距离下一级还需 181 积分
中级会员, 积分 319, 距离下一级还需 181 积分
网上买一个成品J-Link和ST-Link要好几十块,于是出了一批用stm32f103c8芯片制作的J-Link和ST-Link调试器,功能和成品模块几乎一样,同时外观也十分小巧,便于携带和使用。。。
虽然降低了成本,但也需要二十多元,于是笔者就搜集了相关制作资料,画PCB板,焊接制作,烧固件,分别做了J-Link和ST-Link,都可以用,效果。成本虽然低不了多少,但对于一个电子爱好者,谁不想自己亲手做个下载器和调试器了。。。
网上J-Link制作方案的资料很多,但有点杂,而ST-Link的方案则较少,于是笔者在参考众多资料后,整理成了J-Link和ST-Link制作方案,提供PCB工程和固件,希望可以帮到大家。。。
关于怎么烧录固件:
焊接好实物后,是不能用keil软件烧程序的,因为固件只是一个hex文件,必须要用到其他工具烧录,这里有两种
1.使用J-Link烧录工具下载,这个工具在电脑J-Link软件SEGGE里有,可以使用JTAG和SWD方式下载,具体步骤可以百度搜下。
2.采用串口下载,将C8单片机BOOT0置高,配置成串口烧录程序,工具为flymcu,具体步骤可以百度搜下。
关于烧录固件后,插上USB没反应(情况比较多),或者与开发工具通信不正常下载不了程序(笔者做ST-Link时遇到过):
前者笔者遇到过的情况为,USB与单片机间的限流电阻太大或者上拉电阻过大过小,使得USB与单片机通信不正常;还有一个就是晶振焊接时外壳与焊盘短接,晶振短路了,没反应;另外就是没有焊接晶振起振电容,晶振无法起振,单片机没工作。当然还有可能就是单片机烧坏了(这种情况比较少)。
对于后者通信不正常,一般是由于烧录进去的固件版本低了,这可以升级固件,当然这个时候就不是用下载工具像烧固件那样升级了,而是利用电脑USB口给升级,制作的J-Link keil会自动检测和升级,而制作的ST-Link则需要其他工具,如STM32 ST-LINK Utility,网上都有例程。
ST-Link V2 1.jpg (377.28 KB, 下载次数: 38)
20:10 上传
实物图.jpg (656.94 KB, 下载次数: 25)
20:10 上传
(105.24 KB, 下载次数: 3068)
20:12 上传
点击文件名下载附件
(114.04 KB, 下载次数: 2938)
20:12 上传
点击文件名下载附件
(174 Bytes, 下载次数: 4641)
13:55 上传
点击文件名下载附件
(298.4 KB, 下载次数: 78)
20:09 上传
在线时间5 小时
主题帖子好友
初级会员, 积分 55, 距离下一级还需 145 积分
初级会员, 积分 55, 距离下一级还需 145 积分
ST-LINK.png (502.95 KB, 下载次数: 12)
14:37 上传
ST-LINK-3D.png (263.36 KB, 下载次数: 9)
14:37 上传
哈哈,这个早就做出来了,已经稳定使用了好久了,支持SWD和SWIM模式
在线时间0 小时
主题帖子好友
初级会员, 积分 166, 距离下一级还需 34 积分
初级会员, 积分 166, 距离下一级还需 34 积分
RE:【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
学习一下,非常感谢
在线时间5 小时
主题帖子好友
初级会员, 积分 82, 距离下一级还需 118 积分
初级会员, 积分 82, 距离下一级还需 118 积分
RE:【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
学习一下,非常感谢
在线时间1 小时
主题帖子好友
新手上路, 积分 19, 距离下一级还需 31 积分
新手上路, 积分 19, 距离下一级还需 31 积分
RE:【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
在线时间13 小时
主题帖子好友
初级会员, 积分 179, 距离下一级还需 21 积分
初级会员, 积分 179, 距离下一级还需 21 积分
回复:【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
谢谢分享 !!!
在线时间20 小时
主题帖子好友
中级会员, 积分 319, 距离下一级还需 181 积分
中级会员, 积分 319, 距离下一级还需 181 积分
回复:【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
不知道管理员有没有把这个帖子汇总了???
在线时间1 小时
主题帖子好友
金牌会员, 积分 1876, 距离下一级还需 3124 积分
金牌会员, 积分 1876, 距离下一级还需 3124 积分
RE:【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
看看啦 。。。。。。。。。。。。。。
在线时间3 小时
主题帖子好友
新手上路, 积分 19, 距离下一级还需 31 积分
新手上路, 积分 19, 距离下一级还需 31 积分
回复:【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
谢谢分享!!&&顶顶顶
在线时间0 小时
主题帖子好友
新手上路, 积分 5, 距离下一级还需 45 积分
新手上路, 积分 5, 距离下一级还需 45 积分
RE:【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
谢谢分享,绑定为记号
在线时间105 小时
主题帖子好友
金牌会员, 积分 1630, 距离下一级还需 3370 积分
金牌会员, 积分 1630, 距离下一级还需 3370 积分
回复:【MCU实战经验】+用stm32单片机做J-Link和ST-Link(PCB工程+固件库+资料工具)
站长推荐 /2
Tel: 3-8064
备案号: 苏ICP备号-2
|||意法半导体STM32/STM8技术社区
Powered byJ-Link OB | SEGGER - The Embedded Experts
Fully compatible with and same features as regular Inexpensive solution for complete evaluation kits with debug functionalityJTAG, SWD + SWO supportedVirtual COM Port (K22-Cortex-M, K22-Cortex-A,&STM32F072, SAM3U)Optional disable allows use of other external debug probesCompatible with most Very small form factor&& interface for intuitive programming of the target device
J-Link OB is an on-board debug probe as part of YOUR eval board.
J-Link OB is an on-board debug probe as part of YOUR eval board. The microcontroller has a USB-interface on one side and a JTAG/SWD + SWO etc. interface on the device side. It allows debugging the target device on the board it comes with, without the need for an additional debug probe.&J-Link OB is used on various eval boards by several eval board manufacturers for various target CPUs. Having a&&right on the eval board allows customers to fully use and test the target CPU, providing full debug capabilities. At the same time, the eval board can remain small and inexpensive. All features of the regular&&can be used, including download into Flash memory. Licensing J-Link OB is provided as part of an evaluation board. It is not sold separately. It may only be used to debug the device on the evaluation board it came with. Support is given via the eval board manufacturer and via&. J-Link OB may not be used for production purposes.
Getting started
Basic Concept
The pictures below show the connection between a PC&and the target CPU&using the regular J-Link and a J-Link OB.
Connection via regular J-Link:
The PC is connected to J-Link via USB and J-Link connects to the eval board via JTAG debug connector.
Drag-And-Drop Option: Intuitive Programming of the Target Device
Drag-And-Drop is a an optional J-Link OB intuitive programming feature. It allows programming your target MCU in a very simple way. J-Link OB with Drag-And-Drop capability appears both as a
and as a flash drive on the user's computer - similar to a USB&stick. The J-Link's high performance and functionality for programming and debugging remain unchanged! The additional flash drive capability simplifies programming the target to dragging a Motorola S-record, Intel Hex, or plain binary file onto the J-Link Drive using the desktop.
J-Link Drive enables manufacturers, and third-party software developers, to deploy ready-to-go demonstration applications to customers who can then quickly evaluate the capability of the board, software, and device - all without installing complex development software. All major operating systems (Windows, MAC OS, Linux) are supported and existing OS drivers already support J-Link Drive.
When customers outgrow the convenience of J-Link Drive and fixed demonstration applications, they can unleash the full potential of the target board using the J-Link OB as a debug probe backed by unparalleled, industry-wide support.
Developed by SEGGER's Embedded Experts Team, J-Link OB offers a compelling opportunity for board manufacturers to provide a highly polished way to deliver integrated solutions to customers, and enhance the experience over time by adding new applications and features that just &drop into place&.
J-Link OB Drag-And-Drop Flash Programming in Use
The image below demonstrates how easy an MCU can be programmed via &Drag-And-Drop& option.&1) Open a file explorer of your choice. J-Link will be shown as a flash drive.&2) Drag and drop a Bin, Hex or Mot file to the J-Link drive. Programming will start as soon as you drop the file.
Please note, that Drag-And-Drop is available upon request only.&If you are interested or need more information, please do not hesitate to contact us at&.
Example implementations that support Drag-And-Drop flash programming
The following boards are already using J-Link OB implementations that support Drag-And-Drop flash programming:&NordicSemi nRF51-DK ()
Who Can License J-Link OB?
J-Link OB is intended to be licensed for evaluation board manufacturers and silicon vendors. We offer a very reasonable pricing. Do not hesitate to contact us at
for more information.
Model overview / Supported cores
J-Link OB is not much more than a microcontroller with USB device interface running J-Link firmware. Below is a list of currently available options for J-Link-OB, along with the supported cores and interfaces.
Please note that not every J-Link-OB supports every core and every interface/feature. Other microcontrollers can be supported upon request. If you are looking for a combination that is not yet supported, .
NXP MK22FN128VLH10 LQFP64 package No external crystal required Cortex-M4 @ 96MHz, 128 KB flash Cortex-M & & & & 4 MHz 4 MHz 200 KB/s
Cortex-A & & & & 4 MHz 4 MHz 200 KB/s
ST STM32F072CB UFQFPN48 package No external crystal required Cortex-M0+ @48 MHz, 128 KB flash Cortex-M & & & & 250 kHz 2 MHz 100 KB/s
ST STM32F072C8 UFQFPN48 package No external crystal required Cortex-M0+ @48 MHz, 64 KB flash Cortex-M & & & & 250 kHz 2 MHz 100 KB/s
Cortex-A & & & & 250 kHz 2 MHz 100 KB/s
ST STM32F103TB VFQFPN36 package Cortex-M3 @72 MHz, 128 KB flash Cortex-M & & & & 4500 kHz 2.25 MHz 150 KB/s
Cortex-A & & & & 4500 kHz 2.25 MHz 150 KB/s
Atmel ATSAM3U2C LQFP100 package Hi-Speed USB Cortex-M3 @96 MHz, 128 KB flash Cortex-A Cortex-M Cortex-R & & & & 12000 kHz 3.2 MHz 225 KB/s
Available, but not recommended for new designs
J-Link-OB-SAM7S64 Atmel SAM7S64 LQFP64 package ARM7 @48 MHz, 64 KB flash ARM7 ARM9 Cortex-A Cortex-M Cortex-R & & & & 6000 kHz 12 MHz 700 KB/s
Not supported & 1 Optional. Needs to be specified when ordering
Starterkits
J-Link OB Starter Kits are available which allow eval board manufacturers to test the suitability of J-Link OBs on their specific eval board. The following J-Link OB StarterKits are available:
StarterKit J-Link-OB-K22
The StarterKit J-Link-OB-K22 contains the following components:
10 OB test licensesJ-Link OB K22 Eval reference board
J-Link OB programming utility for testing and production purposesDocumentation which includes schematic for J-Link-OB-K22Support
J-Link OB K22 Eval reference board
StarterKit J-Link-OB-SAM3U
The StarterKit J-Link-OB-SAM3U contains the following components:
10 OB test licensesJ-Link OB SAM3U Eval reference board
J-Link OB programming utility for testing and production purposesDocumentation which includes schematic for J-Link-OB-SAM3USupport
J-Link OB SAM3U Eval reference board
StarterKit J-Link-OB-STM32F072
The StarterKit J-Link-OB-STM32F072 contains the following components:
10 OB test licensesJ-Link OB STM32F072 Eval reference board
J-Link OB programming utility for testing and production purposesDocumentation which includes schematic for J-Link-OB-STM32F072Support
J-Link OB STM32F072 Eval reference board
StarterKit J-Link-OB-STM32F103
The StarterKit J-Link-OB-STM32F103 contains the following components:
10 OB test licensesJ-Link OB STM32F103 Eval reference board
J-Link OB programming utility for testing and production purposesDocumentation which includes schematic for J-Link-OB-STM32F103Support
J-Link OB STM32F103 Eval reference board
After evaluation of the J-Link OB, a production license needs to be purchased with information on the selected J-Link OB device. The following conditions apply for the usage of the J-Link OB technology:SEGGER Logo needs to be printed on the PCB of each eval board containing the J-Link technologyEval board does not provide debug out option2 eval board samples containing J-Link OB technology will be provided to SEGGER FOC
J-Link OB FAQs
How big can the virtual drive be?
A: Pretty much any size. Typically, the size of the virtual J-Link drive should be at least 2.5 times as large as the size of the flash memory, typically rounded to a power of 2. So for a 256KB device, 1MB or more is a good choice. For a 4MByte flash device, the capacity should be 16MB.
Who does the configuration for the target device?
A: All of this is done by SEGGER. The customer receives a production utility that programs the J-Link OB correctly, with the capability to program the specified target device.
The device we target has large flash sectors of up to 128KB per sector. Is this a problem?
A: No. J-Link OB can cope with this.
How fast is the flash programming?
A: Quite fast. Basically as fast as the target device allows it. Total programming time is just slightly more than the time it takes to erase and program the device with very little overhead. On a Nordic Semiconductor NSxxx it takes about 3 seconds to erase and program the entire 256KB flash.
How can this be so fast?
A: Simple: J-Link OB uses SEGGER's real time OS . Multiple tasks run in parallel, performing multiple operations simultaneously: Downloading the program via USB to the J-Link OB, as well as downloading from the J-Link OB into the RAM of the target device as well as &copying& the RAM content of the target device into flash (the actual flash programming). All run largely in parallel, so that the speed is determined by the slowest of the 3 operations, typically the actual flash programming inside of the target device.
What are the minimum hardware requirements for the J-Link OB?
A: Pretty much the same as for J-Link: 64KB Flash memory, 16KB RAM. The only additional requirement is that the MCU used as J-Link OB needs to have a sufficient number of USB Endpoints to accommodate the MSD: 1 for control, 2 bulk for J-Link, 2 bulk for MSD.&
Can J-Link work with any kind of Hex or Mot file? Even if only a part of the flash is programmed or the address range is non-consecutive?
More Information
Technology
Accessories
Head office Germany
SEGGER Microcontroller GmbH & Co. KGIn den Weiden 1140721 Hilden, Germany Email: Tel.: +49-Fax: +49-
SEGGER Microcontroller Systems LLC 101 Suffolk LaneGardner, MA 01440, USA Email: Tel.: +1-978-874-0299Fax: +1-978-874-0599
ISO 9001 certified
25 years of experience
We use cookies to track usage and preferences.J-Flash下载STM32用J-link的设置方法_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
J-Flash下载STM32用J-link的设置方法
阅读已结束,下载文档到电脑
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,方便使用
还剩3页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢看过本文的人也看了:
我要留言技术领域:
取消收藏确定要取消收藏吗?
删除图谱提示你保存在该图谱下的知识内容也会被删除,建议你先将内容移到其他图谱中。你确定要删除知识图谱及其内容吗?
删除节点提示无法删除该知识节点,因该节点下仍保存有相关知识内容!
删除节点提示你确定要删除该知识节点吗?J-Link 改造成SWD 接口_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
J-Link 改造成SWD 接口
&&J-Link 改造成SWD 接口
标准J-Link 只提供 JTAG 接口,20 Pins,但在一些MCU里,如ST的STM32系列,已经支持 SWD 调试接口,仅需3 Pins.
好处: SWD 接口只需3根线,比JTAG 省,在要求小体积的产品里,就必需尽量缩小PCB面积,尽量利用所有引脚。
比较过 J-Link 与 U-Link, 感觉 J-Link 的速度快些,而且也便宜些,所以着重介绍J-Link 的改造方法。
阅读已结束,下载文档到电脑
想免费下载更多文档?
定制HR最喜欢的简历
下载文档到电脑,方便使用
还剩1页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢}

我要回帖

更多关于 网易uu连接服务器失败 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信