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

TMDSEVM6657LS评估板恢复出厂默认状态

TMDSEVM6657LS评估板恢复出厂默认状态

前言

TMDSEVM6657LS评估板特别适用于DSP开发的初学者,但有时候拿到手的开发板几经流转,被别人修改过,也可能自己烧录过程出错,导致开发板的状态未知等原因,需要恢复到出厂默认状态,本文主要介绍如何利用官方提供的工具将开发板恢复到出厂默认状态。
在这里插入图片描述

在开始前,需要安装CCS工具,默认安装完成后,会在安装目录生成两个文件夹:C:\ti\ccsv5\ccs_base\scripting\bin和C:\ti\mcsdk_2_01_01_04\tools\program_evm(不同版本的CCS可能导致mcsdk的版本号不同,以自己安装的目录为准)。如果没有program_evm文件夹,可以使用购买时厂家提供的光盘里的program_evm文件夹里程序。

操作步骤

  1. 安装CCS
    我这里安装的是CCS5.5(步骤略)。
    CCS版本信息安装完CCS后,生成的两个文件夹:
    在这里插入图片描述在这里插入图片描述
  2. 硬件准备
    (1)将12v DC电源适配器于评估板的电源接口相连;
    (2)将评估板上自带的XDS200仿真器通过USB连接线与电脑相连(确保J4 J5 均处于开路状态);
    (3)将评估板上COM_SEL1跳线中的3-5针相连,4-6针相连,选择使用三针串口,并用评估板自带的串口连接线连接至电脑的串口。(如果选择使用板上的USB-uart,需要将COM_SEL1跳线中的1-3针相连,2-4针相连)
    (4)将16个BOOT拨码开关调整到如下状态:
    在这里插入图片描述
    最终实物图如下所示:
    在这里插入图片描述
    BOOT拨码开关状态
  3. 恢复出厂默认配置步骤
    恢复出厂默认配置主要是将重新烧录评估板中EEPROM、NOR FLASH和NAND FLASH中的镜像。
    (1)设置环境变量
    评估板上电后,打开cmd命令窗口,设置两个环境变量:
set DSS_SCRIPT_DIR="C:\ti\ccsv5\ccs_base\scripting\bin"
set PROGRAM_EVM_TARGET_CONFIG_FILE=C:\ti\mcsdk_2_01_01_04\tools\program_evm\configs\evm6657l\evm6657ls.ccxml

在这里插入图片描述

(2)运行DSS脚本

%DSS_SCRIPT_DIR%\dss.bat program_evm.js tmdsevm6657ls-le

运行后输出以下信息:
在这里插入图片描述由于"program_evm\binaries\evm6657l"文件夹中没有nand.bin镜像文件,所以会提示nand Flash烧录失败,eeprom和NOR都烧录成功了。

C:\ti\mcsdk_2_01_01_04\tools\program_evm>%DSS_SCRIPT_DIR%\dss.bat program_evm.js
Syntax error in command line
Syntax: program_evm.js [tmdx|tmds]evm[c](<device>)l[x][e][-le|-be] [images_to_write]tmdx: TMDX type EVMtmds: TMDS type EVMc: Not used, for backward compatibility<device> is the board name e.g 6472,6678 etcl: Low cost EVMx: EVM supports encryptione: EVM uses 560 Mezzanine Emulator daughter cardle: Little Endianbe: Big Endianexample: TMDXEVM6678L-le[images_to_write] OPTIONAL is a list of the images to be writtenexample: eeprom50,norIf not specified all (eeprom50,eeprom51,nand,nor) will be writtenC:\ti\mcsdk_2_01_01_04\tools\program_evm>%DSS_SCRIPT_DIR%\dss.bat program_evm.js tmdsevm6657ls-le
board: evm6657l
endian: Little
emulation: XDS200 emulator
binaries: C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/
ccxml: C:\ti\mcsdk_2_01_01_04\tools\program_evm\configs\evm6657l\evm6657ls.ccxml
C66xx_0: GEL Output:
Connecting Target...C66xx_0: GEL Output: DSP core #0C66xx_0: GEL Output: C6657L GEL file Ver is 1.003C66xx_0: GEL Output: Global Default Setup...C66xx_0: GEL Output: Setup Cache...C66xx_0: GEL Output: L1P = 32KC66xx_0: GEL Output: L1D = 32KC66xx_0: GEL Output: L2 = ALL SRAMC66xx_0: GEL Output: Setup Cache... Done.C66xx_0: GEL Output: Main PLL (PLL1) Setup ...C66xx_0: GEL Output: PLL in Bypass ...C66xx_0: GEL Output: PLL1 Setup for DSP @ 1000.0 MHz.C66xx_0: GEL Output:            SYSCLK2 = 333.3333 MHz, SYSCLK5 = 200.0 MHz.C66xx_0: GEL Output:            SYSCLK8 = 15.625 MHz.C66xx_0: GEL Output: PLL1 Setup... Done.C66xx_0: GEL Output: Power on all PSC modules and DSP domains...C66xx_0: GEL Output: Set_PSC_State... Timeout Error #03 pd=12, md=4!C66xx_0: GEL Output: Power on all PSC modules and DSP domains... Done.C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup ...C66xx_0: GEL Output: DDR3 PLL Setup... Done.C66xx_0: GEL Output: DDR3 Init begin (1333 auto)C66xx_0: GEL Output: XMC Setup ... DoneC66xx_0: GEL Output:
DDR3 initialization is complete.C66xx_0: GEL Output: DDR3 Init doneC66xx_0: GEL Output: DDR3 memory test... StartedC66xx_0: GEL Output: DDR3 memory test... PassedC66xx_0: GEL Output: PLL and DDR3 Initialization completed(0) ...C66xx_0: GEL Output: configSGMIISerdes Setup... BeginC66xx_0: GEL Output: SGMII SERDES has been configured.C66xx_0: GEL Output: Enabling EDC ...C66xx_0: GEL Output: L1P error detection logic is enabled.C66xx_0: GEL Output: L2 error detection/correction logic is enabled.C66xx_0: GEL Output: MSMC error detection/correction logic is enabled.C66xx_0: GEL Output: Enabling EDC ...DoneC66xx_0: GEL Output: Global Default Setup... Done.Start writing eeprom50
Writer:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/eepromwriter_evm6657l.outImage:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/eeprom50.binC66xx_0: GEL Output: Invalidate All Cache...C66xx_0: GEL Output: Invalidate All Cache... Done.C66xx_0: GEL Output: GEL Reset...C66xx_0: GEL Output: GEL Reset... Done.C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.EEPROM Writer Utility Version 01.00.00.05Writing 59356 bytes from DSP memory address 0x0c000000 to EEPROM bus address 0x0050 starting from device address 0x0000 ...
Reading 59356 bytes from EEPROM bus address 0x0050 to DSP memory address 0x0c010000 starting from device address 0x0000 ...
Verifying data read ...
EEPROM programming completed successfully
Start writing eeprom51
Writer:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/eepromwriter_evm6657l.outImage:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/eeprom51.binC66xx_0: GEL Output: Invalidate All Cache...C66xx_0: GEL Output: Invalidate All Cache... Done.C66xx_0: GEL Output: GEL Reset...C66xx_0: GEL Output: GEL Reset... Done.C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.EEPROM Writer Utility Version 01.00.00.05Writing 47848 bytes from DSP memory address 0x0c000000 to EEPROM bus address 0x0051 starting from device address 0x0000 ...
Reading 47848 bytes from EEPROM bus address 0x0051 to DSP memory address 0x0c010000 starting from device address 0x0000 ...
Verifying data read ...
EEPROM programming completed successfully
Writer:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/nandwriter_evm6657l.outNAND:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/nand.binRequired NAND files does not exist in C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/Writer:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/norwriter_evm6657l.outNOR:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/nor.binC66xx_0: GEL Output: Invalidate All Cache...C66xx_0: GEL Output: Invalidate All Cache... Done.C66xx_0: GEL Output: GEL Reset...C66xx_0: GEL Output: GEL Reset... Done.C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.Start loading nor.bin
Start programming NOR
2023_02_8_151707
NOR Writer Utility Version 01.00.00.03Flashing sector 0 (0 bytes of 663723)
Flashing sector 1 (65536 bytes of 663723)
Flashing sector 2 (131072 bytes of 663723)
Flashing sector 3 (196608 bytes of 663723)
Flashing sector 4 (262144 bytes of 663723)
Flashing sector 5 (327680 bytes of 663723)
Flashing sector 6 (393216 bytes of 663723)
Flashing sector 7 (458752 bytes of 663723)
Flashing sector 8 (524288 bytes of 663723)
Flashing sector 9 (589824 bytes of 663723)
Flashing sector 10 (655360 bytes of 663723)
Reading and verifying sector 0 (0 bytes of 663723)
Reading and verifying sector 1 (65536 bytes of 663723)
Reading and verifying sector 2 (131072 bytes of 663723)
Reading and verifying sector 3 (196608 bytes of 663723)
Reading and verifying sector 4 (262144 bytes of 663723)
Reading and verifying sector 5 (327680 bytes of 663723)
Reading and verifying sector 6 (393216 bytes of 663723)
Reading and verifying sector 7 (458752 bytes of 663723)
Reading and verifying sector 8 (524288 bytes of 663723)
Reading and verifying sector 9 (589824 bytes of 663723)
Reading and verifying sector 10 (655360 bytes of 663723)
NOR programming completed successfully
End programming NOR
终止批处理操作吗(Y/N)? yC:\ti\mcsdk_2_01_01_04\tools\program_evm>set DSS_SCRIPT_DIR="C:\ti\ccsv5\ccs_base\scripting\bin"C:\ti\mcsdk_2_01_01_04\tools\program_evm>set PROGRAM_EVM_TARGET_CONFIG_FILE=C:\ti\mcsdk_2_01_01_04\tools\program_evm\configs\evm6657l\evm6657ls.ccxmlC:\ti\mcsdk_2_01_01_04\tools\program_evm>%DSS_SCRIPT_DIR%\dss.bat program_evm.js tmdsevm6657ls-le
board: evm6657l
endian: Little
emulation: XDS200 emulator
binaries: C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/
ccxml: C:\ti\mcsdk_2_01_01_04\tools\program_evm\configs\evm6657l\evm6657ls.ccxml
C66xx_0: GEL Output:
Connecting Target...C66xx_0: GEL Output: DSP core #0C66xx_0: GEL Output: C6657L GEL file Ver is 1.003C66xx_0: GEL Output: Global Default Setup...C66xx_0: GEL Output: Setup Cache...C66xx_0: GEL Output: L1P = 32KC66xx_0: GEL Output: L1D = 32KC66xx_0: GEL Output: L2 = ALL SRAMC66xx_0: GEL Output: Setup Cache... Done.C66xx_0: GEL Output: Main PLL (PLL1) Setup ...C66xx_0: GEL Output: PLL not in Bypass, Enable BYPASS in the PLL Controller...C66xx_0: GEL Output: PLL1 Setup for DSP @ 1000.0 MHz.C66xx_0: GEL Output:            SYSCLK2 = 333.3333 MHz, SYSCLK5 = 200.0 MHz.C66xx_0: GEL Output:            SYSCLK8 = 15.625 MHz.C66xx_0: GEL Output: PLL1 Setup... Done.C66xx_0: GEL Output: Power on all PSC modules and DSP domains...C66xx_0: GEL Output: Power on all PSC modules and DSP domains... Done.C66xx_0: GEL Output: DDR3 PLL (PLL2) Setup ...C66xx_0: GEL Output: DDR3 PLL Setup... Done.C66xx_0: GEL Output: DDR3 Init begin (1333 auto)C66xx_0: GEL Output: XMC Setup ... DoneC66xx_0: GEL Output:
DDR3 initialization is complete.C66xx_0: GEL Output: DDR3 Init doneC66xx_0: GEL Output: DDR3 memory test... StartedC66xx_0: GEL Output: DDR3 memory test... PassedC66xx_0: GEL Output: PLL and DDR3 Initialization completed(0) ...C66xx_0: GEL Output: configSGMIISerdes Setup... BeginC66xx_0: GEL Output: SGMII SERDES has been configured.C66xx_0: GEL Output: Enabling EDC ...C66xx_0: GEL Output: L1P error detection logic is enabled.C66xx_0: GEL Output: L2 error detection/correction logic is enabled.C66xx_0: GEL Output: MSMC error detection/correction logic is enabled.C66xx_0: GEL Output: Enabling EDC ...DoneC66xx_0: GEL Output: Global Default Setup... Done.Start writing eeprom50
Writer:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/eepromwriter_evm6657l.outImage:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/eeprom50.binC66xx_0: GEL Output: Invalidate All Cache...C66xx_0: GEL Output: Invalidate All Cache... Done.C66xx_0: GEL Output: GEL Reset...C66xx_0: GEL Output: GEL Reset... Done.C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.EEPROM Writer Utility Version 01.00.00.05Writing 59356 bytes from DSP memory address 0x0c000000 to EEPROM bus address 0x0050 starting from device address 0x0000 ...
Reading 59356 bytes from EEPROM bus address 0x0050 to DSP memory address 0x0c010000 starting from device address 0x0000 ...
Verifying data read ...
EEPROM programming completed successfully
Start writing eeprom51
Writer:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/eepromwriter_evm6657l.outImage:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/eeprom51.binC66xx_0: GEL Output: Invalidate All Cache...C66xx_0: GEL Output: Invalidate All Cache... Done.C66xx_0: GEL Output: GEL Reset...C66xx_0: GEL Output: GEL Reset... Done.C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.EEPROM Writer Utility Version 01.00.00.05Writing 47848 bytes from DSP memory address 0x0c000000 to EEPROM bus address 0x0051 starting from device address 0x0000 ...
Reading 47848 bytes from EEPROM bus address 0x0051 to DSP memory address 0x0c010000 starting from device address 0x0000 ...
Verifying data read ...
EEPROM programming completed successfully
Writer:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/nandwriter_evm6657l.outNAND:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/nand.binRequired NAND files does not exist in C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/Writer:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/norwriter_evm6657l.outNOR:C:\ti\mcsdk_2_01_01_04\tools\program_evm/binaries/evm6657l/nor.binC66xx_0: GEL Output: Invalidate All Cache...C66xx_0: GEL Output: Invalidate All Cache... Done.C66xx_0: GEL Output: GEL Reset...C66xx_0: GEL Output: GEL Reset... Done.C66xx_0: GEL Output: Disable all EDMA3 interrupts and events.Start loading nor.bin
Start programming NOR
2023_02_8_164346
NOR Writer Utility Version 01.00.00.03Flashing sector 0 (0 bytes of 663723)
Flashing sector 1 (65536 bytes of 663723)
Flashing sector 2 (131072 bytes of 663723)
Flashing sector 3 (196608 bytes of 663723)
Flashing sector 4 (262144 bytes of 663723)
Flashing sector 5 (327680 bytes of 663723)
Flashing sector 6 (393216 bytes of 663723)
Flashing sector 7 (458752 bytes of 663723)
Flashing sector 8 (524288 bytes of 663723)
Flashing sector 9 (589824 bytes of 663723)
Flashing sector 10 (655360 bytes of 663723)
Reading and verifying sector 0 (0 bytes of 663723)
Reading and verifying sector 1 (65536 bytes of 663723)
Reading and verifying sector 2 (131072 bytes of 663723)
Reading and verifying sector 3 (196608 bytes of 663723)
Reading and verifying sector 4 (262144 bytes of 663723)
Reading and verifying sector 5 (327680 bytes of 663723)
Reading and verifying sector 6 (393216 bytes of 663723)
Reading and verifying sector 7 (458752 bytes of 663723)
Reading and verifying sector 8 (524288 bytes of 663723)
Reading and verifying sector 9 (589824 bytes of 663723)
Reading and verifying sector 10 (655360 bytes of 663723)
NOR programming completed successfully
End programming NOR

(3)验证
断电后,将BOOT拨码开关拨到如下状态:
在这里插入图片描述将评估板的串口连接好串口工具,重新上电后,会输出以下信息,证明镜像烧录成功:

TMDXEVM6657L POST Version 01.00.00.06
------------------------------------------
SOC InformationFPGA Version: 0010
Board Serial Number: ti
EFUSE MAC ID is: 00 18 30 0A 01 CF 
PLL Reset Type Status Register: 0x00000001
Platform init return code: 0x00000000 
Additional Information: (0x02350014) :0AEB0000 (0x02350624) :000211FF (0x02350678) :00123400 (0x0235063C) :000801FF (0x02350640) :000801FF (0x02350644) :000900DB (0x02350648) :000A40DB (0x0235064C) :000B10DB (0x02350650) :000C00DB (0x02350654) :000C00DB (0x02350658) :000C00DB (0x0235065C) :000D1800 (0x02350660) :000E1800 (0x02350668) :000F1800 (0x02350670) :00101800 (0x02620008) :0B009006 (0x0262000c) :040101A7 (0x02620010) :00000000 (0x02620014) :76780000 (0x02620018) :0B97A02F (0x02620180) :0602B000 
------------------------------------------Power On Self TestPOST running in progress ...
POST I2C EEPROM read test started!
POST I2C EEPROM read test passed!
POST SPI NOR read test started!
POST SPI NOR read test passed!
POST EMIF16 NAND read test started!
POST EMIF16 NAND read test passed!
POST EMAC loopback  test started!
POST EMAC loopback  test passed!
POST external memory test started!
POST external memory test passed!
POST done successfully!POST result: PASS

等显示出“POST result: PASS”后,通过串口助手发送"ti"(小写)即可设置自己的序列号(等待时间间隔久了貌似久不响应了):

Please enter the 10 digit serial number for this board, and then press ENTER key:12502120Serial number programmed to EEPROM successfully!

将拨码开关设置为如下状态,将网口与电脑的网口相连,验证NOR FLSH功能:
在这里插入图片描述串口输出如下信息:

IBL version: 1.0.0.15
IBL: Booting from NOR
platform_init Done 
Start BIOS 6
HUA version 2.00.00.04
Setting hostname to tidemo-502120 
MAC Address: 00-18-30-0A-01-CF 
Configuring DHCP client
Service Status: DHCPC    : Enabled  :          : 000
Service Status: THTTP    : Enabled  :          : 000
Service Status: DHCPC    : Enabled  : Running  : 000

完成!

相关文章:

TMDSEVM6657LS评估板恢复出厂默认状态

TMDSEVM6657LS评估板恢复出厂默认状态 前言 TMDSEVM6657LS评估板特别适用于DSP开发的初学者&#xff0c;但有时候拿到手的开发板几经流转&#xff0c;被别人修改过&#xff0c;也可能自己烧录过程出错&#xff0c;导致开发板的状态未知等原因&#xff0c;需要恢复到出厂默认状…...

聊一聊,我对DDD的关键理解

作者&#xff1a;闵大为 阿里业务平台解决方案团队 当我们在学习DDD的过程中&#xff0c;感觉学而不得的时候&#xff0c;可能会问&#xff1a;我们还要学么&#xff1f;这的确引人深思。本文基于工作经验&#xff0c;尝试谈谈对DDD的一些理解。 一、序 《阿甘正传》中&#xf…...

算法笔记(一)—— 认识复杂度和简单排序算法

时间复杂度是在一个算法流程中&#xff0c;常数操作的数量级指标。&#xff08;最差情况下的算法表现&#xff09; 比较两个算法的优劣&#xff0c;在足够的空间下&#xff0c;看时间复杂度指标&#xff0c;若相同&#xff0c;需要在大数据运行下来判断两个算法的“常数项指标…...

MQ消息中间件常见题及解决办法

目录儿常见MQRocketMQ2、RocketMQ测试可用MQ常见问题1、幂等性问题2、如何保证消息不丢失3、消息积压问题4、事务消息设计分析常见MQ RocketMQ RocketMQ又四部分组成 NameServer 同步Broker服务信息&#xff0c;给消费者和生产者提供可用Broker的服务信息。Broker 消息存储业…...

网关服务限流熔断降级分布式事务

目录一、网关服务限流熔断降级二、Seata--分布式事务1、分布式事务基础①事务②本地事物③分布式事务④分布式事务的场景2、分布式事务解决方案①全局事务②最大努力通知③TCC事务3、Seata介绍4、Seata实现分布式事务控制①案例基本代码&#xff08;异常模拟&#xff09;②启动…...

JVM——7JVM调优实战及常量池详解

Arthas工具的使用 阿里巴巴开源的java诊断工具 下载插件 上传至linux环境 在linux跑起来的java项目&#xff0c;可以用Arthas进行查看 项目上线前的时候没问题&#xff0c;上线了就出问题 &#xff0c;用来查看线上代码 jad 项目名 &#xff1a;反编译线上正在运行的代码 用…...

子串分值【第十一届】【省赛】【A组】

问题描述 对于一个字符串 s&#xff0c;我们定义 s 的分值 f(s) 为 s 中恰好出现一次的字符个数。例如 f("aba")1&#xff0c;f("abc")3, f("aaa")0。 现在给定一个字符串 s[0..n−1]&#xff08;长度为 n&#xff09;&#xff0c;请你计算对于…...

SpringCloud 中 Config、Bus、Stream、Sleuth

文章目录&#x1f68f; 第十三章 分布式配置中心&#x1f6ac; 一、Config 概述&#x1f6ac; 二、Config 快速入门&#x1f6ad; config-server&#xff1a;&#x1f6f9; 1、使用gitee创建远程仓库&#xff0c;上传配置文件&#x1f6f9; 2、导入 config-server 依赖&#x1…...

Quantum 构建工具使用新的 TTP 投递 Agent Tesla

Zscaler 的研究人员发现暗网上正在出售名为 Quantum Builder 的构建工具&#xff0c;该工具可以投递 .NET 远控木马 Agent Tesla。与过去的攻击行动相比&#xff0c;本次攻击转向使用 LNK 文件。 Quantum Builder 能够创建恶意文件&#xff0c;如 LNK、HTA 与 PowerShell&…...

浏览器中的 JavaScript 执行机制

思维导图 本文为反复学习极客时间-《浏览器的工作原理与实践》-浏览器中的 JavaScript 执行机制章节中的一些思考与记录。 一些重要概念 变量提升 所谓的变量提升&#xff0c;是指在 JavaScript 代码执行过程中&#xff0c;JavaScript 引擎把变量的声明部分和函数的声明部分…...

kafka集群搭建及问题

一、zookeeper集群搭建 1、创建文件夹 cd /home mkdir zookeeper 2、下载 cd zookeeper wget https://downloads.apache.org/zookeeper/zookeeper-3.8.0/apache-zookeeper-3.8.0-bin.tar.gz 解压到当前文件夹 tar -zxvf apache-zookeeper-3.8.0-bin.tar.gz 文件夹重命…...

不要忽视web渗透测试在项目中起到的重要性

在当前数字化环境中&#xff0c;IT的一个里程碑式增长便是公司组织和企业数字化。为了扩大市场范围和方便业务&#xff0c;许多组织都在转向互联网。这导致了一股新的商业浪潮&#xff0c;它创造了网络空间中的商业环境。通过这种方式&#xff0c;公司和客户的官方或机密文件都…...

Early Stopping中基于测试集(而非验证集)上的表现选取模型的讨论

论文中一般都是用在验证集上效果最好的模型去预测测试集&#xff0c;多次预测的结果取平均计算准确率或者mAP值&#xff0c;而不是单纯的取一次验证集最好的结果作为论文的结果。如果你在写论文的过程中&#xff0c;把测试集当做验证集去验证的话&#xff0c;这其实是作假的&am…...

appium ios真机自动化环境搭建运行(送源码)

appium ios真机自动化环境搭建&运行&#xff08;送源码&#xff09; 目录&#xff1a;导读 &#xff08;1&#xff09;安装JDK&#xff0c;并配置环境变量&#xff0c;方法如下&#xff1a; &#xff08;2&#xff09;安装Xcode、Xcode commandline tools和iOS模拟器 &…...

米尔基于ARM嵌入式核心板的电池管理系统(BMS)

BMS全称是Battery Management System&#xff0c;电池管理系统。它是配合监控储能电池状态的设备&#xff0c;主要就是为了智能化管理及维护各个电池单元&#xff0c;防止电池出现过充电和过放电&#xff0c;延长电池的使用寿命&#xff0c;监控电池的状态。 图片摘自网络 电池…...

Java后端项目IDEA配置代码规范检查,使用checkStyle实现

最近的Java后端项目想实现代码的规范检查&#xff0c;调研了一圈&#xff0c;终于找到了简单的方式实现&#xff1a;以下是常见的几种方案&#xff1a; 1、在客户端做 git hook&#xff0c;主要是用 pre-commit 这个钩子。前端项目中常见的 husky 就是基于此实现的。但缺点也很…...

Nginx_4

Nginx负载均衡 负载均衡概述 早期的网站流量和业务功能都比较简单&#xff0c;单台服务器足以满足基本的需求&#xff0c;但是随着互联网的发展&#xff0c;业务流量越来越大并且业务逻辑也跟着越来越复杂&#xff0c;单台服务器的性能及单点故障问题就凸显出来了&#xff0c…...

linux Ubuntu KUbuntu 系统安装相关

系统安装 本来想快到中午的时候调试一下服务器上的http请求接收代码。我的电脑上装的是kali的U盘系统&#xff0c;然后我的U盘居然找不到了(然后之前安装的系统不知道是否是写入软件的原因&#xff0c;没办法解析DNS,我都用的转发的,这让我体验非常差。kali的系统工具很多&…...

个人信息保护认证

个人信息保护认证是证明个人信息处理者在认证范围内开展的个人信息收集、存储、使用、加工、传输、提供、公开、删除以及跨境等处理活动符合认证依据标准要求。适用范围 本规则依据《中华人民共和国认证认可条例》制定&#xff0c;规定了对个人信息处理者开展个人信息收集、存储…...

Negative Prompt in Stable Diffusion

必读链接&#xff1a;https://www.reddit.com/r/StableDiffusion/comments/z7salo/with_the_right_prompt_stable_diffusion_20_can_do/ A lot of people have noticed that Negative Prompt works wonders in 2.0, and works even better in 2.1. Negative hints are the op…...

8k长序列建模,蛋白质语言模型Prot42仅利用目标蛋白序列即可生成高亲和力结合剂

蛋白质结合剂&#xff08;如抗体、抑制肽&#xff09;在疾病诊断、成像分析及靶向药物递送等关键场景中发挥着不可替代的作用。传统上&#xff0c;高特异性蛋白质结合剂的开发高度依赖噬菌体展示、定向进化等实验技术&#xff0c;但这类方法普遍面临资源消耗巨大、研发周期冗长…...

可靠性+灵活性:电力载波技术在楼宇自控中的核心价值

可靠性灵活性&#xff1a;电力载波技术在楼宇自控中的核心价值 在智能楼宇的自动化控制中&#xff0c;电力载波技术&#xff08;PLC&#xff09;凭借其独特的优势&#xff0c;正成为构建高效、稳定、灵活系统的核心解决方案。它利用现有电力线路传输数据&#xff0c;无需额外布…...

MySQL用户和授权

开放MySQL白名单 可以通过iptables-save命令确认对应客户端ip是否可以访问MySQL服务&#xff1a; test: # iptables-save | grep 3306 -A mp_srv_whitelist -s 172.16.14.102/32 -p tcp -m tcp --dport 3306 -j ACCEPT -A mp_srv_whitelist -s 172.16.4.16/32 -p tcp -m tcp -…...

初学 pytest 记录

安装 pip install pytest用例可以是函数也可以是类中的方法 def test_func():print()class TestAdd: # def __init__(self): 在 pytest 中不可以使用__init__方法 # self.cc 12345 pytest.mark.api def test_str(self):res add(1, 2)assert res 12def test_int(self):r…...

人机融合智能 | “人智交互”跨学科新领域

本文系统地提出基于“以人为中心AI(HCAI)”理念的人-人工智能交互(人智交互)这一跨学科新领域及框架,定义人智交互领域的理念、基本理论和关键问题、方法、开发流程和参与团队等,阐述提出人智交互新领域的意义。然后,提出人智交互研究的三种新范式取向以及它们的意义。最后,总结…...

【Nginx】使用 Nginx+Lua 实现基于 IP 的访问频率限制

使用 NginxLua 实现基于 IP 的访问频率限制 在高并发场景下&#xff0c;限制某个 IP 的访问频率是非常重要的&#xff0c;可以有效防止恶意攻击或错误配置导致的服务宕机。以下是一个详细的实现方案&#xff0c;使用 Nginx 和 Lua 脚本结合 Redis 来实现基于 IP 的访问频率限制…...

NPOI操作EXCEL文件 ——CAD C# 二次开发

缺点:dll.版本容易加载错误。CAD加载插件时&#xff0c;没有加载所有类库。插件运行过程中用到某个类库&#xff0c;会从CAD的安装目录找&#xff0c;找不到就报错了。 【方案2】让CAD在加载过程中把类库加载到内存 【方案3】是发现缺少了哪个库&#xff0c;就用插件程序加载进…...

【Veristand】Veristand环境安装教程-Linux RT / Windows

首先声明&#xff0c;此教程是针对Simulink编译模型并导入Veristand中编写的&#xff0c;同时需要注意的是老用户编译可能用的是Veristand Model Framework&#xff0c;那个是历史版本&#xff0c;且NI不会再维护&#xff0c;新版本编译支持为VeriStand Model Generation Suppo…...

渗透实战PortSwigger Labs指南:自定义标签XSS和SVG XSS利用

阻止除自定义标签之外的所有标签 先输入一些标签测试&#xff0c;说是全部标签都被禁了 除了自定义的 自定义<my-tag onmouseoveralert(xss)> <my-tag idx onfocusalert(document.cookie) tabindex1> onfocus 当元素获得焦点时&#xff08;如通过点击或键盘导航&…...

数据分析六部曲?

引言 上一章我们说到了数据分析六部曲&#xff0c;何谓六部曲呢&#xff1f; 其实啊&#xff0c;数据分析没那么难&#xff0c;只要掌握了下面这六个步骤&#xff0c;也就是数据分析六部曲&#xff0c;就算你是个啥都不懂的小白&#xff0c;也能慢慢上手做数据分析啦。 第一…...