学习本章要达到的目标:口1.理解 Linux内核编译选项的含义口2.学会根据不同的硬件配置裁减定制内核;口3.理解内核编译过程中每一步的功能,并编译 Linux2.630内核。需要去重新编译 Linux内核口增加操作系统对新的硬件设备的支持口增加内核新的功能口对内核代码或内核配置进行优化时Prompt for development and/or incomplete code/drivers口显示处于开发调试中或尚未完善的代码或驱口选中:如果是测试人员或者开发者;口不选:其他情况Local version append to kerne release口追加本地版本号口使用命令“uname-a”进行查看。POSIX Message Queues口 POSIX消息队列的支持,这是 POSIX进程间通信的一部分BSD Process Accounting口将进程的统计信息写入文件口信息通常包括建立时间、所有者、命令名称、内存使用、控制终端等,这个选项一般是选择的。Enable loadable module support口使能可加载模块支持口如果使能此选项则可以通过"makemodules_insta"把内核模块安装在/lib/modules/中Kernel support for ELF binaries口内核对ELF文件格式的支持口ELF是开放平台下最常用的二进制文件格式支持动态连接,支持不同的硬件平台Kernel support for a out and ECOFF binaries口早期UNIX系统的可执行文件格式,目前已经被ELF格式取代Unix domain sockets口本机高效率的 Socket口仅能运行在本机上的高效率的 Socket,简称 Unix socket。口很多进程使用为这种机制在操作系统内部进行进程间通信,例如 X Window和 syslog等TCP/IP networking口TcP/IP网络协议的支持
标签: linux
上传时间: 2022-03-29
上传用户:kingwide
因此,您想编写一个内核模块。您知道C,您已经编写了一些可以作为进程运行的常规程序,现在您想知道真正的动作在哪里,一个通配指针可以擦掉文件系统,核心转储意味着重新启动。内核模块到底是什么?模块是可以根据需要加载和卸载的代码段。它们扩展了内核的功能,而无需重新引导系统。例如。模块驱动程序的一种类型是设备驱动程序,它允许内核访问没有模块的系统硬件,我们将不得不构建单片内核并将新功能直接添加到内核映像中,除了具有更大的内核之外,这还具有缺点每次我们想要新功能时都要求我们重建并重新启动内核的过程So, you want to write a kernel module. You know C, you, ve written a few normal programs to run as processes, and now you want to get to where the real action is, to where a single wild pointer can wipe out your file system and a core dump means a reboot.What exactly is a kernel module? Modules are pieces of code that can be loaded and unloaded into th upon demand. They extend the functionality of the kernel without the need to reboot the system. For example.one type of module is the device driver, which allows the kernel to access hardware connected to the syste without modules, we would have to build monolithic kernels and add new functionality directly into the em ernel image, Besides having larger kernels
标签: linux
上传时间: 2022-03-30
上传用户:
电学中的测量技术涉及范围非常广,电流测量在电学计量中占有非常重要的位置。如何精确地进行电流测量是精密测量的一大难题。传统的电流检测电路多采用运算放大芯片与片外电流检测电路相结合的方式,电路集成度很低,需要较多的接口和资源才能完成对电路的检测。本文把所有电路部分都集成在一块芯片上,包括检测电阻,运算放大器电路及模拟转数字转换电路,从而在电路内部可以进行电流检测,使电路更好的集成化。前置电路使用二级共源共栅结构的运算放大器,减小沟道长度调制效应造成的电流误差。10位SAR ADC中采用电容驱动能力强的传输门保证了模数转化器的有效精度。比较器模块采用再生锁存器与迟滞比较器作为基础单元组合解决精密测量的问题。本设计可以作为嵌入芯片内的一小部分而检测芯片中的微小电流1mA~100mA,工作电压在1.8v左右,电流检测精度预期达到10uA的需求。The measurement technology in electricity involves a wide range,and current measurement plays a very important position in electrical measurement.How to accurately measure current is a big problem in precision measurement. The traditional current detecting circuit adopts the combination of the operational amplifier chip and theoff-chip current detecting circuit, The circuit integration is very low, and more interfaces and resources are needed tocomplete the circuit detection.This topic integrates all the circuit parts into one chip, including detection resistance, operational amplifier circuit andanalog to digital conversion circuit. Highly integrated circuit makes the external resources on the chip more intensive,so that current detection can be carried out inside the circuit, so that the circuit can be better integrated. Thefront-end circuit of this project uses two-stage cascade operational amplifier and cascade tube to reduce the currenterror caused by channel length modulation effect. In 10-bit SAR ADC, the transmission gate with strong capacitivedriving ability ensures the effective accuracy of the analog-to-digital converter. Comparator module uses regenerativelatch and hysteresis comparator as basic unit to solve the difficult problem of precision measurement. This topic can beused as a small part of the embedded chip to detect the micro-current in the chip 1 mA~100 mA, the working voltageis about 1.8v, and the current detection accuracy is expected to reach the requirement of 10 uA.
上传时间: 2022-04-03
上传用户:
本文首次设计并验证了基于macom三合一芯片设计的光模块电路,该电路旨在提供一种满足SFF-8472中规定的数字诊断功能的低成本SFP+模块。电路采用激光器驱动、限幅放大器、控制器以及时钟恢复单元集成的单芯片,在保证高精度数字诊断功能基础上,实现了低成本高可靠的特点。该电路在光接收接口组件与激光器驱动和限幅放大器单元的限幅放大器部分之间接入滤波器来提高模块的灵敏度及信号质量。在控制器单元的数字电位器的引脚上采用外加电阻的方式避免出现上电不发光的故障问题。该研究结果为下一代SFP-DD光模块设计与开发工作,奠定了一定的理论与实践基础。This paper designs and validates the optical module circuit based on the MACOM Trinity chip for the first time.This circuit aims to provide a low-cost SFP module which meets the digital diagnosis function specified in SFF-8472.The circuit uses a single chip integrated with laser driver,limiting amplifier,controller and clock recovery unit.On the basis of ensuring high precision digital diagnosis function,it achieves the characteristics of low cost and high reliability.The circuit connects a filter between the optical receiving interface module and the limiting amplifier part of the laser driver and limiting amplifier unit to improve the sensitivity and signal quality of the module.The pin of the digital potentiometer in the controller unit is equipped with an external resistance to avoid the problem of power failure.The research results lay a theoretical and practical foundation for optical module design in high-speed data center.
上传时间: 2022-04-03
上传用户:
以单片机控制A/D转换器TLC549为例,对A/D转换器的主要技术指标进行了分析研究,在Proteus平台下,完成了A/D转换电路的构建,采用器件工作时序方式进行程序编写,借助仿真图表、虚拟仪器等工具对A/D转换的数据进行测量并对失调误差、增益误差、微分非线性、积分非线性和转换时间等重要参数进行了详细分析。结果表明:使用Proteus软件可对A/D转换过程进行定性分析,将抽象的A/D转换器技术指标直观化、形象化展现出来,有助于学生更好地理解A/D转换过程。The main technical indicators of A/D converter were analyzed and studied with an example from A/D converter TLC2543 which is controlled by using SCM.It was completed the construction of the A/D converter circuit under the Proteus software.The programming based on the operation sequence of the chip is put forward.With the aid of the simulation tools such as virtual instrument,simulation charts provided by Proteus,the important parameters of circuit such as offset error,gain error,differential nonlinearity(DNL),integral nonlinearity (INL) and conversion time are analyzed detailedly.Simulation results show that the A/D conversion process can be qualitatively analyzed and visualized the abstract indicators of A/D.The system can help students better to understand the SCM conversion process.
上传时间: 2022-04-04
上传用户:
1. Preface2. The concept2.2. Prescience 2.3. Reading guide 2.4. Abbreviations 2.5. Version management3. Hardware3.2. ESP32 3.3.2. Hardware schema 3.3.3. DHT22 and level shifter 3.3.4. Geekcreit® ESP32 Development Board4. Software4.2. Installatie van GIT 4.3. Installatation of the ESP32 Core 4.4. Installation of the Xtensa and ESP32 Tools 4.5. Python 4.5.1. Install Python 4.5.2. Installation of pySerial and EspTool 4.6. Test the software installation5. The ESP32 IoT project 5.1.1. WiFi connection 5.1.2. Setup date and time 5.1.3. MQTT connection 5.1.4. Determining temperature and humidity 5.2. IOT_ESP32_Project source6. Test6.2. ESP32, NodeJS, MongoDB en Mosca 6.2.1. Start MongoDB 6.2.2. Start NodeJS Express serve and Mosca broker 6.2.3. Start the ESP32 6.2.4. Start an Chrome browser
上传时间: 2022-04-05
上传用户:kingwide
针对目前MSP430单片机实验装置较少、实验内容少,而且无MSP430高端产品的实验装置,研制了基于MSP430F5529单片机的综合实验装置,主要包括MSP430 Launch Pad和母板两部分。较传统的单片机实验装置增加了模拟电路的设置,设计的实验能够利用单片机的所有外设,可进行模块基础实验和综合实验两大类实验,非常适合自动化和电气信息类大学生学习使用。Concerning with the lack of experimental equipment and content based on MSP430,and especially,the experimental equipment of MSP430 senior products,an experimental equipment based on MSP430F5529 microcontroller is developed. It mainly consists of two parts: MSP430 Launch Pad and main board. Compared with traditional microcontroller experiment equipment,a few analog circuits were added. The experiment we set up takes advantage of all microcontroller peripherals. Students can do two kinds of experiments: module experiment and complex experiment.Therefore it fits university students in automation and electrical major very well.
标签: msp430f5529 单片机
上传时间: 2022-04-13
上传用户:
HC-SR501 High Sensitivity Human Infrared Sensor Module Pyroelectric PCB.doc人体红外感应原理图
标签: 红外感应
上传时间: 2022-04-18
上传用户:
西门子快速采集软件说明书,实时大数据量采集,调试分析很有帮助!!!
标签: CMS X-Tools 快速采集软件
上传时间: 2022-05-01
上传用户:
基于TMS320F28335的超声波流量计硬件原理图+软件源码本文以TMS320F28335 处理器为核心,设计一种用于管道流量测量的超声波流量计。系统硬件由核心板,超声波发射和接收电路,切换电路,超声换能器,基于ADS805 的高速信号采集电路,人机交互以及电源等模块构成。采用时差法进行管道流量测量,时差测量采用SCOT 加权的广义互相关时延估计算法。本论文设计的超声波流量计具有测量速度快、准确性好、成本低等优点。关键字:C2000,超声波,流量,广义互相关算法AbstractA kind of ultrasonic flowmeter using for the pipe flow measurement is designed based onTMS320F28335 in this paper. The system hardware consists of the following parts: the core board,ultrasonic signal transmitter and receiver circuits, switch circuit, ultrasonic transducer, signalacquisition circuit based on ADS805, human-computer interaction module and power supplymodule, etc. The system use the method of time difference for pipeline flow measurement and thetime difference is calculated by the time-delay algorithm of SCOT weighted generalizedcross-correlation. The ultrasonic flowmeter has the features of high testing speed, high precisionand low cost, etc.Keywords: C2000,Ultrasonic, Flow, Generalized Cross-Correlation Algorithm
标签: tms320f28335 超声波流量计
上传时间: 2022-05-06
上传用户: