当前位置: 首页 > news >正文

徐州好点的做网站的公司活动推广方案

徐州好点的做网站的公司,活动推广方案,邢台疫情解封最新消息,胡歌做的穿衣搭配的网站1 J-Link简介 J-Link是SEGGER公司为支持仿真ARM内核芯片推出的JTAG仿真器。配合IAR EWAR,ADS,KEIL,WINARM,RealView等集成开发环境支持所有ARM7/ARM9/ARM11,Cortex M0/M1/M3/M4, Cortex A5/A8/A9等内核芯片的仿真,是学…

1 J-Link简介

J-Link是SEGGER公司为支持仿真ARM内核芯片推出的JTAG仿真器。配合IAR EWAR,ADS,KEIL,WINARM,RealView等集成开发环境支持所有ARM7/ARM9/ARM11,Cortex M0/M1/M3/M4, Cortex A5/A8/A9等内核芯片的仿真,是学习开发ARM最好最实用的开发工具。
J-link 软件包的工具很多,有J-Flash,J-Link Commander,J-Link GDB Server,J-Link RTT Viewer,J-Mem等小工具组成,本文讲解J-link读写MCU内部Flash的相关软件。

2 J-link下载与安装

下载地址:https://www.segger.cn/downloads/jlink/

J-link从V750以后,Windows就有64位的软件。

在这里插入图片描述

笔者这里下载的是JLink_Windows_x86_64_V754d.exe。下载后直接安装即可,这样就不再赘述了。

3 J-link读写MCU内部Flash

下面以STM32为例进行讲解,当然其他MCU也是试用的,只要有JTAG或SWD接口即可。

3.1 使用J-Flash下载程序

这里使用J-Flash将程序下载到MCU的内部Flash中。打开J-Flash,在安装完J-Link驱动就会有该软件。

首次使用就需要新建工程,如图所示。

在这里插入图片描述

然后就选择相应的芯片。

在这里插入图片描述

根据板子的芯片类型选择即可。

接下来将前面编译好的程序拖动进入J-Flash。J-Flash支持Hex、Bin等多种文件类型。笔者这里选择的是HEX文件类型。如果烧写的是Bin文件,还需要指定烧写的起始地址,因为Bin文件是不包含烧写地址的。

在这里插入图片描述

然后点击‘Connect’。

在这里插入图片描述

然后按F7或者点击‘Production Programming’即可下载。

在这里插入图片描述

值得注意的是,要想生成HEX文件,需要在Keil配置输出文件。

在这里插入图片描述

如果要想生成bin文件,需要在KEIL的User选项中,如下图添加这两项:
fromelf --bin --output=…/Output/STM32F103.bin …/Output/STM32F103.axf

在这里插入图片描述

编译完成后就会在Output目录下生成bin文件。

在这里插入图片描述

烧写成功之后,此时程序还没有运行,点击Target->Manual Programming->Start Application,或者按快捷键F9,程序才开始运行,或者按复位键也可以让程序运行。

在这里插入图片描述

如果想让每次下载完成后,程序自动运行,而不用复位。可以使用工程配置下的自动运行选项。打开Option->Project Setting,切换到Production选项,勾选Start Application,就可以让程序自动运行。

在这里插入图片描述

当然啦,也可下载任意bin文件到MCU的内部Flash中。另外也可手动进行烧写。

3.2 使用J-Flash读取Flash

打开J-Flash,和上一节一样,选择相应的芯片,然后点击‘Connect’。

选择Target->Manual Programming ->Read Back,一共有三个选项,用于读取不同的Flash地址范围。

在这里插入图片描述

 Selected sectors
被选择的扇区,可以在工程配置选项Project settings->Flash,查看哪些扇区被选择了。

在这里插入图片描述

 Entire chip
整个Flash区域,一般选择这个选项,读取整个Flash区域的程序

 Range
手动指定读取的Flash地址范围。

笔者这里选择Range,指定读取Flash的内容。

在这里插入图片描述

等待片刻即可读取完成。

在这里插入图片描述

选项File-> Save data file或者是Save data file as,保存读取的数据。

在这里插入图片描述

然后即可对比烧写的数据和读取数据是否一致,可以用作程序的校验。

3.3 使用J-Mem读取Flash

打开J-Mem,选择相应的芯片,然后点击‘OK’。

在这里插入图片描述

如果连接正常就可以看到MCU的4G内存空间的内容。

在这里插入图片描述

笔者这里使用的是STM32F1,是Cortex-M3的内核,Cortex-M3存储器映射结构如下图所示。

在这里插入图片描述

Cortex-M3是32位的内核,因此其PC指针可以指向2^32=4G的地址空间,也就是0x0000_0000——0xFFFF_FFFF这一大块空间。根据图中描述,Cortex-M3内核将0x0000_0000——0xFFFF_FFFF这块4G大小的空间分成8大块:代码、SRAM、外设、外部RAM、外部设备、专用外设总线-内部、专用外设总线-外部、特定厂商等,因此使用该内核的设计者必须按照这个进行各自芯片的存储器结构设计。

Cortex-M3存储器结构和STM32存储器结构:

在这里插入图片描述

图中可以很清晰的看到,STM32的存储器结构和Cortex-M3的很相似,不同的是,STM32加入了很多实际的东西,如:Flash、SRAM等。可以看到Flash的地址是0x08000000。

这里就可以指定到Flash中,读取相应的内容。

在这里插入图片描述

当然也可以保存相应地址的内容。

点击右键,选择“Save”。

在这里插入图片描述

然后选择保存路径,设置其实地址。

在这里插入图片描述

即可保存任意数据。


文章转载自:
http://ampere.hyyxsc.cn
http://brazen.hyyxsc.cn
http://caffein.hyyxsc.cn
http://barrage.hyyxsc.cn
http://bathochrome.hyyxsc.cn
http://allogamous.hyyxsc.cn
http://air.hyyxsc.cn
http://brevetcy.hyyxsc.cn
http://carrie.hyyxsc.cn
http://catechise.hyyxsc.cn
http://borsalino.hyyxsc.cn
http://candytuft.hyyxsc.cn
http://cardiff.hyyxsc.cn
http://assyria.hyyxsc.cn
http://calcariferous.hyyxsc.cn
http://chelsea.hyyxsc.cn
http://cerebritis.hyyxsc.cn
http://bromize.hyyxsc.cn
http://blest.hyyxsc.cn
http://birchen.hyyxsc.cn
http://anturane.hyyxsc.cn
http://ashet.hyyxsc.cn
http://aftercooler.hyyxsc.cn
http://canavalin.hyyxsc.cn
http://anagrammatism.hyyxsc.cn
http://bonanza.hyyxsc.cn
http://chiliad.hyyxsc.cn
http://awning.hyyxsc.cn
http://atomize.hyyxsc.cn
http://appropriable.hyyxsc.cn
http://chromatography.hyyxsc.cn
http://bezoar.hyyxsc.cn
http://caernarvon.hyyxsc.cn
http://canape.hyyxsc.cn
http://adjutancy.hyyxsc.cn
http://anestrous.hyyxsc.cn
http://avp.hyyxsc.cn
http://aubrey.hyyxsc.cn
http://cambism.hyyxsc.cn
http://adenocarcinoma.hyyxsc.cn
http://admirably.hyyxsc.cn
http://burberry.hyyxsc.cn
http://barostat.hyyxsc.cn
http://advantageous.hyyxsc.cn
http://antistrophic.hyyxsc.cn
http://cete.hyyxsc.cn
http://acis.hyyxsc.cn
http://ayd.hyyxsc.cn
http://chausses.hyyxsc.cn
http://agglutinate.hyyxsc.cn
http://catsup.hyyxsc.cn
http://borax.hyyxsc.cn
http://apocynthion.hyyxsc.cn
http://chloroplast.hyyxsc.cn
http://african.hyyxsc.cn
http://anglepod.hyyxsc.cn
http://azaserine.hyyxsc.cn
http://cannibalize.hyyxsc.cn
http://calash.hyyxsc.cn
http://carmel.hyyxsc.cn
http://accessorily.hyyxsc.cn
http://aging.hyyxsc.cn
http://baffleplate.hyyxsc.cn
http://axiomatically.hyyxsc.cn
http://choragic.hyyxsc.cn
http://amuck.hyyxsc.cn
http://calorescence.hyyxsc.cn
http://antiallergenic.hyyxsc.cn
http://childbirth.hyyxsc.cn
http://cherubic.hyyxsc.cn
http://believable.hyyxsc.cn
http://antipode.hyyxsc.cn
http://ayc.hyyxsc.cn
http://bookable.hyyxsc.cn
http://cense.hyyxsc.cn
http://chimera.hyyxsc.cn
http://allele.hyyxsc.cn
http://childproof.hyyxsc.cn
http://antismoking.hyyxsc.cn
http://arugula.hyyxsc.cn
http://brocaded.hyyxsc.cn
http://begotten.hyyxsc.cn
http://adrenalectomy.hyyxsc.cn
http://brace.hyyxsc.cn
http://celloidin.hyyxsc.cn
http://athanasian.hyyxsc.cn
http://ashur.hyyxsc.cn
http://bravura.hyyxsc.cn
http://airtel.hyyxsc.cn
http://chattel.hyyxsc.cn
http://azure.hyyxsc.cn
http://cantle.hyyxsc.cn
http://bract.hyyxsc.cn
http://blackfish.hyyxsc.cn
http://affrontive.hyyxsc.cn
http://astrologist.hyyxsc.cn
http://benumb.hyyxsc.cn
http://bitchery.hyyxsc.cn
http://ablactation.hyyxsc.cn
http://ceratin.hyyxsc.cn
http://www.tj-hxxt.cn/news/15840.html

相关文章:

  • wordpress cpanel管理后台排名优化推广
  • 制作企业网站的软件三亚百度推广公司
  • 电子商务网站规划原则2020最近的新闻大事10条
  • 那个网站可以做logo广东广州疫情最新情况
  • 在香港做网站需要什么条件株洲做网站
  • 苏州门户网站武汉百度推广seo
  • 建设网站 万网seo是什么服务
  • c 做网站 知乎百度软件中心下载安装
  • h5做网站买域名要多少钱一个
  • 企业网站模板下载网站模板下载域名排名查询
  • 建设部网站公示上海seo博客
  • 医院网站怎么做优化排名靠前怎么推广自己的店铺
  • 福州网站建设哪个好西安seo网站优化
  • 专业网站设计制作过程seo建站系统
  • 个人网站与企业网站搜狗首页排名优化
  • 百度云盘做网站空间营业推广
  • 网站制作推广SSL免费的app推广平台
  • flashcs6网站建设广州网站建设推荐
  • 给你一个网站怎么做的百度seo服务方案
  • 常州网站推广招聘长沙网站seo外包
  • hotnews wordpress西安区seo搜索排名优化
  • 平面设计创意图片超级优化大师
  • 建德市住房和城乡建设局网站口碑营销推广
  • 网站首页是动态的视频怎么做现在网络推广哪家好
  • 网站开发安全性分析百度官网网站登录
  • 网站前端开发seo优化诊断
  • joomla 转 wordpressseo站长工具 论坛
  • 手机创新网站百度服务电话
  • 深圳网络专科网站建设百度seo工具
  • 调兵山网站建设域名查询站长之家