1 exe创建快捷方式,并且加后缀  program --serial 50114130   这是Win里面的一种调用说明。

Please note that the programming logs are saved in C:\Logs when the desktop shortcut is used to start the programmer.
In order to run programming from command line:
a) without specifying adapter serial number: C:\Scripts\program_.exe program
b) with adapter serial number (recommended), assuming serial is 12345

C:\Scripts\program_.exe program --serial 12345
c) with adapter serial, and program only one device, assuming serial is 12345: C:\NVirtualEnvs\Scripts\program_.exe program --serial 12345 --once

2 Keil +EFM32  

   ok....

 3 python 做批量烧录程序 

pip install  (install whl file)

5  bat文件编程

I find it :  http://www.jb51.net/article/49627.htm

notes:

@echo off

REM Current DevProg Version. Match the pip package version (x.y.z)      //当前版本号
SET currentversion=0.0.1

REM Installation paths. If copying this to a new product, you MUST edit the last parts of venvdir and shortcuts!   //这些是path和文件位置说明
SET basedir=C:\xxNVirtualEnvs
SET logdir=%basedir%\Logs
SET venvdir=%basedir%\xxx
SET scriptdir=%venvdir%\Scripts

SET shortcut=%userprofile%\Desktop\Program xxx.lnk    桌面快捷键
SET shortcuttargetdir=%scriptdir%\program_xxx.exe

if not exist %basedir% (                 如果不存在,报错退出
mkdir %basedir%
)

if not exist %logdir% (
mkdir %logdir%
)

if not exist %venvdir% (
python -m venv %venvdir%
)

if not exist %scriptdir%\activate.bat (
echo The virtual environment in %venvdir% appears to be invalid.
echo Delete the folder and run this script again.
exit /b 1
)

call %scriptdir%\activate.bat 
pip uninstall -y intelhex six xxx                        安装这三个WHL文件
pip install six-1.10.0-py2.py3-none-any.whl
pip install intelhex-2.0-py2.py3-none-any.whl
pip install ecu2te-%currentversion%-py3-none-any.whl

powershell "$s=(New-Object -COM WScript.Shell).CreateShortcut('%shortcut%');$s.TargetPath='%shortcuttargetdir%';$s.Arguments='program';$s.WorkingDirectory='%logdir%';$s.Save()"

%scriptdir%\jlink_driver_install.exe

6 J-link serial 

     

2017.11.15 Add a parameter –serial <serial no> to the Target field.的更多相关文章

  1. 2017.11.15 String、StringBuffer、StringBuilder的比较(todo)

    参考来自:http://blog.csdn.net/jeffleo/article/details/52194433 1.速度 一般来说,三者的速度是:StringBuilder > Strin ...

  2. 2017.11.15 JavaWeb的学生体质管理系统

    (11)案例-----学生身体体质信息管理系统的开发 11.1 功能划分: 1.添加记录模块:完成向数据库添加新纪录 2.查询记录模块:完成将数据库的记录以网页的方式显示出来,一般采用有条件的查询 3 ...

  3. 2017.11.15 linux软件安装管理(todo)

    学习来自:http://www.imooc.com/learn/447 第一章 介绍 第二章 软件包简介 1.源码包 2.二进制包(RPM包或系统默认包) 脚本安装包其实是别人把软件安装的脚本写好了, ...

  4. 2017.11.15 hashmap的工作原理

    参考来自:http://blog.csdn.net/jeffleo/article/details/54946424 一 hashMap的基本概念 1.HashMap的定义 public class ...

  5. CUDA 9.1/9.2 与 Visual Studio 2017 (VS2017 15.6.4) 的不兼容问题

    2018年7月9日更新: CUDA已推出9.2版本,最高支持MSVC++ 14.13 _MSC_VER == 1913 (Visual Studio 2017 version 15.6). 然而最新版 ...

  6. buildroot构建项目(二)--- u-boot 2017.11 建立 2440 开发板

    一.准备工作 在建立之前,先需要将下载的u-boot 拷贝一份出来解压,在此工程下进行更改和创建.同时根据前面搜索到的 mini2440开发板所在的版本,下载一份u-boot 拷贝出 mini2440 ...

  7. 2017.2.15 开涛shiro教程-第二十一章-授予身份与切换身份(一) table、entity、service、dao

    原博客地址:http://jinnianshilongnian.iteye.com/blog/2018398 根据下载的pdf学习. 第二十一章 授予身份与切换身份(一) 1.使用场景 某个领导因为某 ...

  8. Xamarin 2017.11.9更新

     Xamarin 2017.11.9更新 本次更新主要针对Xamarin.iOS,适配了iOS 11.1和Xcode 9.1.Visual Studio 2017升级到15.4.3获得新功能.Visu ...

  9. Xamarin 2017.11.1更新

     Xamarin 2017.11.1更新 本次更新主要解决了一些bug.Visual Studio 2017升级到15.4.2获得新功能.Visual Studio 2015需要工具-选项-Xamar ...

随机推荐

  1. Myeclipse中文乱码解决方式

    我们刚刚安装的Myeclipse有可能使用的是GBK的编码方式,而通常我们的程序都是使用的是UTF-8的编码方式,所以当我们导入一个项目的时候,会产生乱码,解决方式如下: 一.将整个project设置 ...

  2. mysql安装前的系统准备工作

    一.系统环境总结:

  3. appium API java

    原创内容,未经允许,禁止转载! driver.close();//关闭 driver.closeApp();//关闭应用,其实就是按home键把应用置于后台 driver.currentActivit ...

  4. LeetCode:二叉树的后序遍历【145】

    LeetCode:二叉树的后序遍历[145] 题目描述 给定一个二叉树,返回它的 后序 遍历. 示例: 输入: [1,null,2,3] 1 \ 2 / 3 输出: [3,2,1] 进阶: 递归算法很 ...

  5. 关于maven包冲突的一些思路

    在最近的项目中出现了很多包冲突,有时一下子就能猜到错误,但是有写往往需要很久都不能定位问题,尤其是项目人员参差不齐,有时为了方便私自引入一些工具类,而未考虑到项目本身. maven的出现方便了我们的包 ...

  6. 5. Longest Palindromic Substring(最长回文子串 manacher 算法/ DP动态规划)

    Given a string s, find the longest palindromic substring in s. You may assume that the maximum lengt ...

  7. 浏览器 Event对象 及 属性 的兼容处理

    摘自: http://blog.csdn.net/jiachunfeng/article/details/6448186 event对象 IE 中可以直接使用 event 对象,而 FF 中则不可以, ...

  8. Linux系统服务管理 系统服务

    服务的分类 Linux 中的服务按照安装方法不同可以分为 RPM 包默认安装的服务和源码包安装的服务两大类.其中,RPM 包默认安装的服务又因为启动与自启动管理方法不同分为独立的服务和基于 xinet ...

  9. 无线安全之破解WPA/WPA2 加密WiFi

    准备 可以使用无线网络的Kali Linux 由于古老的WPE加密的WiFi已经几乎没有了,所以这里我就不去细说如何破解WPE加密的WiFi了.今天就来聊聊 如何来使用Kali Linux来破解Wpa ...

  10. article嵌套

    例如: 为了将每一个部分都突出显示,可以将article添加边框和颜色的属性: <style> article{ border: 1px solid #ff0000; margin: 5p ...