创建网站容易吗/郑州seo外包公司哪家好
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文件夹里程序。
操作步骤
- 安装CCS
我这里安装的是CCS5.5(步骤略)。
安装完CCS后,生成的两个文件夹:
- 硬件准备
(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拨码开关调整到如下状态:
最终实物图如下所示:
- 恢复出厂默认配置步骤
恢复出厂默认配置主要是将重新烧录评估板中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开发的初学者,但有时候拿到手的开发板几经流转,被别人修改过,也可能自己烧录过程出错,导致开发板的状态未知等原因,需要恢复到出厂默认状…...

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

算法笔记(一)—— 认识复杂度和简单排序算法
时间复杂度是在一个算法流程中,常数操作的数量级指标。(最差情况下的算法表现) 比较两个算法的优劣,在足够的空间下,看时间复杂度指标,若相同,需要在大数据运行下来判断两个算法的“常数项指标…...

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

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

JVM——7JVM调优实战及常量池详解
Arthas工具的使用 阿里巴巴开源的java诊断工具 下载插件 上传至linux环境 在linux跑起来的java项目,可以用Arthas进行查看 项目上线前的时候没问题,上线了就出问题 ,用来查看线上代码 jad 项目名 :反编译线上正在运行的代码 用…...

子串分值【第十一届】【省赛】【A组】
问题描述 对于一个字符串 s,我们定义 s 的分值 f(s) 为 s 中恰好出现一次的字符个数。例如 f("aba")1,f("abc")3, f("aaa")0。 现在给定一个字符串 s[0..n−1](长度为 n),请你计算对于…...

SpringCloud 中 Config、Bus、Stream、Sleuth
文章目录🚏 第十三章 分布式配置中心🚬 一、Config 概述🚬 二、Config 快速入门🚭 config-server:🛹 1、使用gitee创建远程仓库,上传配置文件🛹 2、导入 config-server 依赖…...

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

浏览器中的 JavaScript 执行机制
思维导图 本文为反复学习极客时间-《浏览器的工作原理与实践》-浏览器中的 JavaScript 执行机制章节中的一些思考与记录。 一些重要概念 变量提升 所谓的变量提升,是指在 JavaScript 代码执行过程中,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渗透测试在项目中起到的重要性
在当前数字化环境中,IT的一个里程碑式增长便是公司组织和企业数字化。为了扩大市场范围和方便业务,许多组织都在转向互联网。这导致了一股新的商业浪潮,它创造了网络空间中的商业环境。通过这种方式,公司和客户的官方或机密文件都…...

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

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

米尔基于ARM嵌入式核心板的电池管理系统(BMS)
BMS全称是Battery Management System,电池管理系统。它是配合监控储能电池状态的设备,主要就是为了智能化管理及维护各个电池单元,防止电池出现过充电和过放电,延长电池的使用寿命,监控电池的状态。 图片摘自网络 电池…...

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

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

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

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

Negative Prompt in Stable Diffusion
必读链接: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…...

MLX90316KGO-BDG-100-RE传感器 旋转位置 角度测量
介绍MLX90316是Tria⊗is旋转位置传感器,提供在设备表面旋转的小偶极磁铁(轴端磁铁)的绝对角位置。得益于其表面的集成磁集中器(IMC),单片设备以非接触式方式感知应用磁通量密度的水平分量。这种独特的传感原理应用于旋转位置传感器,可在机械(…...

Reflections反射包在springboot jar环境下扫描不到class排查过程
需求: 要实现指定pkg(如com.qiqitrue.test.pojo)扫描包下所有class类信息:使用代码如下 使用的版本:0.10.2(截至目前是最新版)发现只能在idea编译期间可以获取得到(也就是在开发阶段…...

黑马】后台项目171集
将近一个月没有练习了,找到之后果然打不开出了问题【问题】运行代码打开网页后,发现不能正常登录,一开始还以为是密码记错了,后来发现是数据库没有正常启动,phpstudy中的数据库一直是启动状态,关闭不了。【…...

Qt 5 架构和特点
Qt 5 模块构架: 模块:功能:Qt CoreQt 5 的核心类库,每个模块都建立在Core上Qt GUI图形用户界面开发的最基础的类库Qt Widgets提供c用户界面部件(是对Qt GUI的拓展)Qt SQL对数据库进行操作Qt Multimedia、…...

转换符说明使用方法(在printf函数中)
目录 一些常见的转换说明及打印结果: printf()的转换说明修饰符 printf()函数打印数据指令时要与代打印数据的类型相匹配才行。 如%d %c %ld......这些符号叫做转换说明。代表着数据转化成显示的形式。 一些常见的…...

针灸-基本任脉督脉
这里写自定义目录标题 丈量 同身丈下针深浅一般入穴的方法成人 幼儿 不同入穴方式现代常用针概念十二经 纳天干**天干**地支表里关系筋络任脉中脘穴:梅花灸巨阙穴廉泉穴督脉长强腰俞命门阳关悬枢脊中筋缩眼诊 癫痫至阳消渴...

信息系统与信息化
1.1 信息系统与信息化 1.1.1 信息的基本概念 信息质量属性(掌握)信息传输模型 1.1.2 信息系统的基本概念1.1.3 信息化的基本概念 信息化的五个层次信息化基本内涵信息化的基本概念(了解)六要素关系图(掌握) 1.1.4 信息系统生命周…...

解决axios异步请求问题(异步变为同步)
遇到的问题 在目前一个需求中,我需要等待axios请求完成后,判断请求是否出现异常,然后来判断是否关闭弹窗 修改后大概代码如下: async submitForm() {let flag false//表单验证,默认通过let formValidation truethis…...

【Django】云笔记项目
一、介绍 用户可在系统中记录自己的笔记,用户的数据被存储在云笔记平台;用户和用户之间的数据为隔离存储(登陆后才能使用相关笔记功能,且只能查阅自己的笔记) 二、功能拆解 1、用户模块 注册:成为平台…...

LeetCode——1797. 设计一个验证系统
一、题目 你需要设计一个包含验证码的验证系统。每一次验证中,用户会收到一个新的验证码,这个验证码在 currentTime 时刻之后 timeToLive 秒过期。如果验证码被更新了,那么它会在 currentTime (可能与之前的 currentTime 不同&am…...