自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Qing的专栏

拥抱开源,热心分享,记录生活

  • 博客(119)
  • 资源 (4)
  • 收藏
  • 关注

原创 西蒙子S7协议介绍

西门子的S7 协议,没有仍何关于S7协议的官方文档,是一个不透明的协议。关于S7的协议介绍,大都是非官方的一些七零八落的文档。

2023-12-18 13:05:32 159

原创 西门子STEP7安装过程不断提示电脑重启的解决方法

进入到\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager 下,删除。这个文件, 问题解决!

2023-12-13 17:51:22 1221

原创 程序员养生指南-八段锦

笔者是一个将近十年的程序员,工作之余,喜好研究中医,易学,和养生。中医资料浩瀚如海,非一日之功可至。易学玄之又玄,其中资料也是讳莫如深,非师传不可通也!虽有涉猎《梅花》,《六爻》,《小六壬》,也不得其真传!唯有养生学问,一直没有忘记,倒也不是勇猛精进,只是偶尔有需要,拿出来练练。

2023-12-07 13:40:31 142

原创 详解IEC104 规约【最详细版】

ACPI(应用控制信息,类似于帧头),由一个1byte 的起始字节0x68 + 1 byte ADPU 的长度 + 4 个1 byte控制位域(CF)组成。iec104 基于TCP/IP 传输,是一个应用层协议, 其帧结构被称为 APDU,APDU 一般由 APCI 和 ASDU组成。APDU 被称为应用协议数据单元,

2023-11-10 11:29:08 7397 4

原创 大话OPC UA的基本概念

(类似于OOP中的类),对象节点类型,变量节点类型等,在Root/Objects下的节点实例(

2023-10-30 15:30:40 555

原创 LCD 显示问题分析

我们说的LCD 显示包括并口的LCD,串行的LVDS 接口的LCD,mipi 接口的LCD, 和edp 接口的LCD,甚至包括VGA,和HDMI。

2023-07-03 13:46:13 1796

原创 Linux 声卡调试

【代码】Linux 声卡调试。

2023-06-06 14:25:07 179

原创 Linux battery 移植的相关概念

FullChargeCapacity(FCC): 充满后的电量,由于环境,温度,重点次数的影响,一般都比DesignCapacity 小。绝对充电状态可能,永远达不到100%,因为Design Capacity 是一个固定值,因为FCC 总会随着时间等因素缩减。相对充电状态总是从0% 到 100%, FCC 会随着充电次数,环境等因素逐渐递减。RelativeStateOfChage (RSOC): 相对充电状态。DesignCapacity: 设计电量,就是理论最大电量。

2023-05-04 18:58:35 1146 1

原创 关于CIS移植的一些基本概念

【代码】MIPI 摄像头的原理。

2023-01-18 15:25:30 3131

原创 Linux IIO 子系统简介

IIO 子系统系统框架。

2023-01-11 13:50:40 2310

原创 大话I2C与smbus 开发

说其I2C 的复杂传输协议,就是在一次I2C 传输协议里,可能包含上面的好几个简单I2C 传输(但不完全是简单的I2C传输协议), 只不过,他们只有一个stop bit 【P】。在平常的开发中,一直以为I2C & smbus 只是硬件上的差异,软件上基本没有什么差异,后来的开发中发现,其实两者还是有很多的差异。在这一次复杂的I2C 传输中,包含两个I2C 的简单传输帧,第一个是S Addr Rd [A] [Data] NA,第二个是 S Addr Wr [A] Data [A] P。

2022-10-25 14:33:19 3007 3

原创 CANopen 入门详解[最详细]

CANopen的入门概念比较复杂和难以理解, 《CANopen 轻松入门》确实可以轻松帮你入门。根据这个教程,推荐一本书周立功《CANopen 轻松入门》.

2022-09-16 13:27:29 8712

原创 查看BIOS 传递过来的acpi 表

sys/firmware/acpi/tables/下有很多种类的表,具体你得问BIOS 传递过来的是那个表。反编译BIOS 传递过来的acpi 表,

2022-08-29 15:52:26 564

原创 mfgtool/uuu 烧录android 后无法烧录uboot

使用mfg tool烧写android5.1的镜像之后,再使用旧版的mfg tool烧写linux或者android镜像,都不能正常启动,而且运行的uboot还是android5.1版本的uboot。emmc boot分区在同事的帮助下才知道emmc有boot1,boot2以及RPMB(Replay Protected Memory Block),GPAP(General Purpose Area Partitions,最多可以有4个),UDA(User Data Area)分区。而我们一般只知道UDA

2022-05-20 14:29:20 657

原创 大话kernel 移植

1. kernel的启动流程2. linux kernel 的设备驱动模型3. linux 设备树的移植4. linux 设备驱动4. kernel 的init 进程4. kernel 的debug 参数

2022-05-19 10:58:50 180

原创 大话uboot 移植

1. arm soc 的启动方式2. uboot 源码的基本结构3. 如何移植4. uboot 环境变量5. uboot 启动 boot_args & boot_command6. uboot 源码分析

2022-05-19 10:35:18 1180

原创 Debian 开发研究笔记记录

debian source codehttps://sources.debian.org/src/lxrandr/0.3.2-1/debian packagehttps://www.debian.org/distrib/packages其他shellTo know what has changed in the home folder:find ~/ -mmin -5 -type fYou can change 5 to a smaller number if you wish.In th

2022-05-13 15:15:27 361

原创 代码及其管理规范

1. C 代码基本规范2. golang 代码基本规范2.1 命名规范辞要达意类型/变量/函数命名驼峰命名法:CamelCase, camelCase文件夹/包/文件命名lowcase,命名简单,文件命名可以使用 蛇形 命名法。包&文件夹尽量用一个单词命名。2.2 代码缩进 & 空行代码缩进用tab缩进, 将tab键的设置为4个空格,避免出现另一个编辑器打开时格式变乱的情况。空行package foo -> im

2022-04-11 11:43:45 2963

原创 关于grpc 的keepalive 的一些知识

1. GRPC keepalive 的相关知识参照这个连接// ClientParameters is used to set keepalive parameters on the client-side.// These configure how the client will actively probe to notice when a// connection is broken and send pings so intermediaries will be aware of the

2022-03-25 17:17:55 4356

原创 嵌入式题库整理

这里写自定义目录标题C 部分:linux 部分网络部分:硬件理解:编程部分:C 部分:int* p = (int*)malloc(sizeof(int)*2), sizeof(*p)= —— (考察对指针的理解)一个32 地址的内存,向0x12345678 地址写一个0x78654321 用C 语言如何实现 (考察指针对内存的基础操作)请描述static,volatile, 和const 在C语言中的含义和用法(C基础)请你描述C 编程中,堆和栈的区别?(考察堆和栈)在头文件中能否定义变

2021-11-08 13:12:15 801

原创 [OTA] 基于swupdate的OTA系统更新解决方案

这里写自定义目录标题欢迎使用Markdown编辑器新的改变功能快捷键合理的创建标题,有助于目录的生成如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右SmartyPants创建一个自定义列表如何创建一个注脚注释也是必不可少的KaTeX数学公式新的甘特图功能,丰富你的文章UML 图表FLowchart流程图导出与导入导出导入欢迎使用Markdown编辑器你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Mar

2021-10-22 23:52:32 4461 14

原创 Weston 添加虚拟键盘

/etc/xdg/weston/weston.ini[input-method]path=/usr/libexec/weston-keyboard[keyboard]keymap_rules=evdevkeymap_model=pc105keymap_layout=us,de,gbrepeat-rate=30repeat-delay=300

2021-08-10 19:06:16 1477 1

原创 4G/5G 模块测试与调试

mmcli --scan-modems<< successfully requested to scan devicesTo list detected cellular devices use command:mmcli --list-modems<< /org/freedesktop/ModemManager1/Modem/0 [Sierra Wireless, Incorporated] MC7455To acquire more device informati

2021-08-06 10:40:14 4504 5

原创 ARM64 Ubuntu 18.04 mirror

/etc/apt/sources.listdeb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic universedeb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic-updates universedeb http://mirrors.ustc.edu.cn/ubuntu-ports/ bionic multiversedeb http://mirrors.ustc.edu.cn/ubuntu-por

2021-07-29 17:09:00 338

原创 repo manifest format

repo Manifest FormatA repo manifest describes the structure of a repo client; that isthe directories that are visible and where they should be obtainedfrom with git.The basic structure of a manifest is a bare Git repository holdinga single default.xml

2021-07-20 17:09:18 185

原创 Hardware video acceleration

https://wiki.archlinux.org/title/Hardware_video_acceleration#Comparison_tables

2021-07-20 09:49:24 154

原创 imx8 kernel drm source trace

drm_atomic_helper_commit_modeset_enables

2021-06-29 19:49:21 1032

原创 [yocto] wifi 移植使用手册

1. porting driver各个厂商有个各厂商的driver, 配置方式, 拿过来,照着porting guide 去porting okay 就行, 有什么问题,问厂商就行!2. 上层软件工具需求wpa_supplicant/iwdconnman/NetworkManagerwpa_supplicant是linux系统的最基础无线网卡管理程序,可以没有connman/NetworkManager, 但不能没有 wpa_supplicant。 因为没有它, 无线将无法链接& 管

2021-06-22 18:25:35 1005

原创 [yocto] bluetooth 移植使用手册

1. porting driver各个厂商有个各厂商的driver, 配置方式, 拿过来,照着porting guide 去porting okay 就行, 有什么问题,问厂商就行!2. 关于bluez5yocto 中有著名的connman,用于管理Ethernet, wifi,bluetooth,和VPN。但经过实测发现,yocto3.0 中的connman 并不能管理bt。(扫描不了)所以我们得使用更低层一点的组件-bluez5.zeus 默认搭载了bluez5, 它是linux蓝牙管理&am

2021-06-22 16:52:00 1744 2

原创 Make modules M <=> make modules SUBDIRS

这两个参数完全等价,在5.0 kernel 中, 似乎已经去掉了SUBDIRS 的部分。所以强烈建议换成 make M=# Use make M=dir to specify directory of external module to build# Old syntax make ... SUBDIRS=$PWD is still supported# Setting the environment variable KBUILD_EXTMOD take precedenceifdef SUB

2021-06-07 14:02:21 283

原创 [笔记] Yocto Base Knowledge

New BBFILES_DYNAMIC variable which allows activating layer content only when some other layers are present - i.e. allowing extension of content provided by other layers without creating hard dependencies

2021-06-03 10:59:34 306

原创 什么是MIT, GPL, LGPL, Apache协议?

2021-05-27 09:04:20 953

原创 [Yocto]多个bbappend 文件存在时的情况

they are appended in order of BBFILE_PRIORITY defined in each layer’s layer.conf file e.g. a bbappend in layer with BBFILE_PRIORITY = 5will be appended before bbappend from another layer with BBFILE_PRIORIY = 6so in theory you can negate the effects of .

2021-05-24 14:56:36 1236

原创 yocto important link

layers.openembedded.org/layerindex/branch/master/recipes/

2021-04-08 23:14:01 80

原创 关于windows service 的一些基础知识

Service 程序是在后台悄悄运行的。我们通过将自己的程序登记为服务,可以使自己的程序不出现在任务管理器中,并且随系统启动而最先运行,随系统关闭而最后停止。 服务控制管理器是一个RPC 服务器,它显露了一组应用编程接口,程序员可以方便的编写程序来配置服务和控制远程服务器中服务程序。创建一个windows service 的流程基本如下:写一个service 程序, 在这里需要注意的是,service 程序和普通的程序是有区别的。 windows service 程序是由windows servi

2021-04-06 14:14:40 3897

原创 Don’t use Go’s default HTTP client

直接使用Go语言的http.Post,http.Get等方法时,底层连接使用的是DefaultClient。而DefaultClient没有设置请求超时:// DefaultClient is the default Client and is used by Get, Head, and Post.var DefaultClient = &Client{}因此,如果服务器端如果一直无响应的话,就会把当前发出请求的goroutine挂死。因此如果要使用DefaultClient,一定要

2021-02-05 11:50:17 190

原创 chroot mount

slackbox # mount -o bind /proc /mnt/chroot/procslackbox # mount -o bind /dev /mnt/chroot/devumount /mnt/chroot/devumount /mnt/chroot/proc

2021-01-21 17:03:27 465

原创 About Docker image reference

// Grammar//// reference := name [ “:” tag ] [ “@” digest ]// name := [domain ‘/’] path-component [’/’ path-component]*// domain := domain-component [’.’ domain-component]* [’:’

2020-12-10 09:03:39 250

翻译 [golang] struct 定义多个tag

A StructTag is the tag string in a struct field.By convention, tag strings are a concatenation of optionally space-separated key:“value” pairs. Each key is a non-empty string consisting of non-control characters other than space (U+0020 ’ '), quote (U+002

2020-11-13 09:24:48 2304

原创 ARM平台性能大比拼

该文章使用unixbench 对作者使用开发过的平台,进行性能测评。用理论和数据告诉你那家ARM 强悍。1. AM3352单核A82. IMX6Q3. AM57xx4. RK3399(Dual core Cortex-A72 + Quard core Cortex-A53)------------------------------------------------------------------------Benchmark Run: Tue Jul 07 2020 10:32:1

2020-07-08 10:20:22 1879

OPC统一架构全本/OPCUA

OPCUA入门必备

2023-10-31

TC358764_5_774_5XBG_DSI-LVDS_Tv13p_G101ICE_1280x800_20201215.tar.xz

东芝 TC358764 timing exls

2021-06-23

i2c-tools source code

为I2C-tools的源码包,可以移植到开发板上!-----------------------------------------------------------------------

2015-01-14

ModBus 完全详解

这是我开发收集到比较全的关于Modbus的资料,绝对很有用!

2014-09-29

Linux_kernel

linux kernel 详解 让你懂得linux的架构和思想

2014-08-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除