zoukankan      html  css  js  c++  java
  • jlink commander使用

    1.将JLink.exe拷贝到某个文件夹底下

    2.建立bat文件,内容如下:

    JLink.exe -device Cortex-A7 -if JTAG -speed 4000 -jtagconf -1,-1 -autoconnect 1 -CommandFile E:CommandFile.jlink

    3.建立命令行文件CommandFile.jlink,内容如下:

    h
    loadbin E:5_Project56_procixxProcixx_prjfmql_sdk1030_prc201910281217_releaseuboot_bit_imagefsbl.bin 0x20000
    setPC 0x20000
    g
    waithalt
    loadbin E:5_Project56_procixxProcixx_prjfmql_sdk1030_prc201910281217_releaseuboot_bit_imageu-boot.bin 0x4000000
    setPC 0x4000000
    g

    readme

    JLink.exe -device Cortex-A7 -if JTAG -speed 4000 -jtagconf -1,-1 -autoconnect 1 -CommandFile E:3_Work32_PSOC3226_jlinkCommandFile.jlink

    -device Cortex-A7        Pre-selects the device J-Link Commander shall connect to.
    -if JTAG                 Selects the target interface J-Link shall use to connect to the target.
    -speed 4000             This command sets the speed for communication with the CPU core. in kHz.
    -jtagconf -1,-1         Passes IRPre and DRPre in order to select a specific device in a JTAG-chain. “-1,-1” can be
    used to let J-Link select a device automatically.
    -autoconnect 1             let J-Link Commander automatically start the connect sequence
    for connecting to the target when entering interactive mode.
    -CommandFile            Selects a command file and starts J-Link Commander in batch mode.


    h
    loadbin E:5_Project56_procixxProcixx_prjfmql_sdk1030_prc201910281217_releaseuboot_bit_imagefsbl.bin 0x20000
    setPC 0x20000
    g
    waithalt
    h
    loadbin E:5_Project56_procixxProcixx_prjfmql_sdk1030_prc201910281217_releaseuboot_bit_imageu-boot.bin 0x4000000
    setPC 0x4000000
    g


    h--->halt
    loadbin <filename>, <addr>--->Load *.bin file into target memory.
    SetPC <Addr>--->Sets the PC to the specified value.
    g--->Starts the CPU.
    waithalt-->WaitHalt   Waits until the CPU is halted or the given timeout is exceeded.
                 Syntax: WaitHalt <TimeoutMs>  Default timeout is 1000 ms

  • 相关阅读:
    【web性能优化】DNS解析与ip
    【web性能优化】雅虎军规
    【web性能优化】优化提纲及图片优化(慕课网笔记)
    【web性能优化】常用缓存方式(慕课网学习笔记)
    【前端】企业微信客户端调试
    【es6】es6使用集锦
    【前端】遇到的各种报错
    【前端】安装wampserver提示丢失MSVCR100.dll的解决方法
    【es6】将2个数组合并为一个数组
    【web】使用ionic搭建移动端项目 icon-radio 标签在ios下全部选中的问题
  • 原文地址:https://www.cnblogs.com/idyllcheung/p/11846793.html
Copyright © 2011-2022 走看看