当前位置: 首页 > 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…...

League-Toolkit完全指南:高效BP策略与全方位战绩分析实战应用

League-Toolkit完全指南&#xff1a;高效BP策略与全方位战绩分析实战应用 【免费下载链接】League-Toolkit 兴趣使然的、简单易用的英雄联盟工具集。支持战绩查询、自动秒选等功能。基于 LCU API。 项目地址: https://gitcode.com/gh_mirrors/le/League-Toolkit 功能解析…...

告别鉴权内耗,让每一位Java开发者都能轻松上手

写Java的这些年&#xff0c;无论是初入职场的新手&#xff0c;还是深耕多年的老兵&#xff0c;谁没在「鉴权」上栽过跟头&#xff1f; 熬夜啃Spring Security的复杂配置&#xff0c;对着一堆过滤器链抓耳挠腮&#xff1b;用Shiro做前后端分离项目&#xff0c;为了适配Token模式…...

StackEdit:让Markdown创作如虎添翼的开源编辑器全攻略

StackEdit&#xff1a;让Markdown创作如虎添翼的开源编辑器全攻略 【免费下载链接】stackedit In-browser Markdown editor 项目地址: https://gitcode.com/gh_mirrors/st/stackedit 1. 核心价值解析&#xff1a;为什么StackEdit能重塑你的写作体验&#xff1f; 想象一…...

别再只用交叉熵了!医疗AI中疾病分级任务,试试PyTorch实现这个序数回归损失函数

医疗AI中的序数回归&#xff1a;超越交叉熵的疾病分级新范式 在医疗人工智能领域&#xff0c;我们经常遇到需要预测疾病严重程度分级的任务——从轻度到中度再到重度&#xff0c;这些类别之间存在明确的递进关系。传统做法是直接套用交叉熵损失函数&#xff0c;但这就像用尺子测…...

生物信息学避坑指南:你的热图聚类总乱?可能是数据标准化和样品注释没做对

生物信息学避坑指南&#xff1a;热图聚类混乱的根源与系统性解决方案 热图&#xff08;Heatmap&#xff09;作为生物信息学中最常用的数据可视化工具之一&#xff0c;广泛应用于基因表达分析、代谢组学、微生物组学等领域。然而&#xff0c;许多初学者在使用热图进行样品聚类时…...

英集芯-IP5316、IP5219有什么区别?详细总结一下

简介 IP5219和IP5316都是英集芯的充电管理IC,两款移动电源SOC芯片输出/输入参数基本一致,但是使用起来却有一些差异,下面就对两款IC使用中遇到的一些问题做一些总结。 IP5219:2.1A 充电 2.4A 放电集成 TYPE_C 协议移动电源 SOC; IP5316:集成 TYPE_C 协议的 2.4A 充电/2.4…...

终极指南:gh-dash 帮助命令自动补全如何提升 GitHub 管理效率 [特殊字符]

终极指南&#xff1a;gh-dash 帮助命令自动补全如何提升 GitHub 管理效率 &#x1f680; 【免费下载链接】gh-dash A beautiful CLI dashboard for GitHub &#x1f680; 项目地址: https://gitcode.com/gh_mirrors/gh/gh-dash gh-dash 是一个功能强大的 CLI 仪表板&am…...

告别AI瞎编代码:手把手教你用Context7 MCP给Claude/Cursor装上“实时文档库”

告别AI幻觉代码&#xff1a;Context7 MCP与主流开发工具深度集成实战指南 每次看到AI助手生成那些无法运行的过时代码时&#xff0c;你是否也感到沮丧&#xff1f;作为深度依赖AI编程助手的开发者&#xff0c;我们都经历过这样的困境&#xff1a;花费数小时调试一段本不该出现的…...

m3u8流媒体视频下载工具的技术实现与应用指南

m3u8流媒体视频下载工具的技术实现与应用指南 m3u8流媒体视频下载工具是一款基于现代Web技术栈开发的桌面应用程序&#xff0c;专门用于处理各类在线视频资源的下载需求。该工具采用TypeScript语言开发&#xff0c;结合Electron框架构建跨平台桌面应用&#xff0c;为用户提供专…...

MinerU效果展示:精准识别表格数据,财务报告一键解析

MinerU效果展示&#xff1a;精准识别表格数据&#xff0c;财务报告一键解析 1. 引言&#xff1a;当AI遇见财务报表 想象一下&#xff0c;你是一名财务分析师&#xff0c;面前堆着几十份上市公司最新发布的PDF财报。你需要从中快速提取近三年的营收、利润、现金流等关键数据&a…...