你好,
序列号功能仅在STVP的“项目模式”中可用。
您可以设置编程的地址(STM8L数据为0x1000),然后设置字节大小(例如4)。
然后,您可以为将运行STVP项目的每个站设置不同的基本十六进制值。 (0101xxxx或0102xxxx)。
然后,在每个prog之后应用此基值的增量。
然后使用''编程所有选项卡''按钮或菜单来编程项目中的所有十六进制文件和SN。您可以在数据存储器选项卡中看到SN自动递增。
您可以在每个工作站上执行不同的项目,指定所有配置(工具,设备,...),“程序存储器”的十六进制文件以及不同的序列号库。
如果你想做一个脚本来改变0102基值,你可以做的是修改projet stp文件''project.stp''你会在哪里找到十进制的基值。
它是一个文本文件,因此很容易修改或搞乱它,所以要小心。
文件以最后编程的值保存。
或者你可以像你所说的那样先编程站点和站点信息,然后对SN进行编程。
您需要为每个工作站和站点生成一个DATA hex文件,并将其添加到项目中。
其他选项可用于生产,例如“提示新的编程周期”。
此外,选项''在下次项目加载时激活安全编程''将只保留''程序所有标签''按钮,所有其他按钮将显示为灰色。
对于cmd行,STVP中安装了STVP_CmdLine.exe,它可以将EEPROM数据文件作为参数,但您需要在编程之前使用特殊的SN内部创建每个hex文件。
RGDS,
洛朗
以上来自于谷歌翻译
以下为原文
Hello,
Serial Number feature is only available in ''Project mode'' in STVP.
You can set the address where it will be programmed (0x1000 for STM8L Data) then the size in bytes (4 for exemple).
Then, you can set the base hex value different for each station on which the STVP project will run. (0101xxxx or 0102xxxx).
Then, the increment to apply after each prog on this base value.
Then use the ''Program all tabs'' button or menu to program all the hex files in the project and the SN. You can see in the data memory tab that the SN is incremented automatically.
You can do a different project on each station specifying all the config (tool, device,...), ''Program memory'' hex file and just the different serial number base.
If you want to do a script to change the 0102 base value, what you could do is to modify the projet stp file ''project.stp'' where you will find the base value in decimal.
It is a text file so it is easy to modify or mess with it so be careful.
The file is saved with the last value programmed.
Or you can do as you said by programming the station and site info first and program the SN just after.
You will need to generate a DATA hex file for each station and site and add it to the project.
Other options are available for production like ''prompt for a new programming cycle''.
Also the option ''activate secure programming on next project loading'' will leave only the ''Program all tabs'' button available and all other will be greyed out.
For cmd line, there is STVP_CmdLine.exe installed with STVP that can take the EEPROM Data file as argument but you would need to create each hex file with your special SN inside before programming.
Rgds,
Laurent
你好,
序列号功能仅在STVP的“项目模式”中可用。
您可以设置编程的地址(STM8L数据为0x1000),然后设置字节大小(例如4)。
然后,您可以为将运行STVP项目的每个站设置不同的基本十六进制值。 (0101xxxx或0102xxxx)。
然后,在每个prog之后应用此基值的增量。
然后使用''编程所有选项卡''按钮或菜单来编程项目中的所有十六进制文件和SN。您可以在数据存储器选项卡中看到SN自动递增。
您可以在每个工作站上执行不同的项目,指定所有配置(工具,设备,...),“程序存储器”的十六进制文件以及不同的序列号库。
如果你想做一个脚本来改变0102基值,你可以做的是修改projet stp文件''project.stp''你会在哪里找到十进制的基值。
它是一个文本文件,因此很容易修改或搞乱它,所以要小心。
文件以最后编程的值保存。
或者你可以像你所说的那样先编程站点和站点信息,然后对SN进行编程。
您需要为每个工作站和站点生成一个DATA hex文件,并将其添加到项目中。
其他选项可用于生产,例如“提示新的编程周期”。
此外,选项''在下次项目加载时激活安全编程''将只保留''程序所有标签''按钮,所有其他按钮将显示为灰色。
对于cmd行,STVP中安装了STVP_CmdLine.exe,它可以将EEPROM数据文件作为参数,但您需要在编程之前使用特殊的SN内部创建每个hex文件。
RGDS,
洛朗
以上来自于谷歌翻译
以下为原文
Hello,
Serial Number feature is only available in ''Project mode'' in STVP.
You can set the address where it will be programmed (0x1000 for STM8L Data) then the size in bytes (4 for exemple).
Then, you can set the base hex value different for each station on which the STVP project will run. (0101xxxx or 0102xxxx).
Then, the increment to apply after each prog on this base value.
Then use the ''Program all tabs'' button or menu to program all the hex files in the project and the SN. You can see in the data memory tab that the SN is incremented automatically.
You can do a different project on each station specifying all the config (tool, device,...), ''Program memory'' hex file and just the different serial number base.
If you want to do a script to change the 0102 base value, what you could do is to modify the projet stp file ''project.stp'' where you will find the base value in decimal.
It is a text file so it is easy to modify or mess with it so be careful.
The file is saved with the last value programmed.
Or you can do as you said by programming the station and site info first and program the SN just after.
You will need to generate a DATA hex file for each station and site and add it to the project.
Other options are available for production like ''prompt for a new programming cycle''.
Also the option ''activate secure programming on next project loading'' will leave only the ''Program all tabs'' button available and all other will be greyed out.
For cmd line, there is STVP_CmdLine.exe installed with STVP that can take the EEPROM Data file as argument but you would need to create each hex file with your special SN inside before programming.
Rgds,
Laurent
举报