1. 基本功 《深入理解计算机系统》配套学习网站:https://fengmuzi2003.gitbook.io/csapp3e/linux 命令网站: https://man.linuxde.net/《Linux指令从初学到精通》 https://book.51cto.com/art/201107 Read More
posted @ 2019-03-21 14:30 靖意风 Views(235) Comments(0) Diggs(0)
1. 之前测试开饭板的RTC,通过 date -s "2026-09-18 11:20:00" 设置系统时间后,然后使用纽扣电池供电,关机一会后,再开机查看系统时间是否正常。 后来发现这种方法是错误的,因为没有将系统时间同步到硬件时钟 2. 使用如下命令查看RTC时间 hwclock --show Read More
posted @ 2026-09-20 08:55 靖意风 Views(8) Comments(0) Diggs(0)
1. 讲USB转串口线接到usb接口上,发现没有/dev/ttyUSB0, 使用如下命令,查看没有输出 lsmod | grep ch341 2. 设置方法, sudo modprobe ch341 sudo sh -c 'echo "1a86 7522" > /sys/bus/usb-serial Read More
posted @ 2026-09-06 18:17 靖意风 Views(15) Comments(0) Diggs(0)
1. 在 windows 系统下,找到如下 命令行终端,我使用的是MinGW 11.2.0 64 bit 2. 点击之后,进入命令行,然后进行需要转化的qt.exe 所在的路径。为了方便,我把QT 编译的Release 拷贝到我的D盘下, 3. 然后这个 qt_udp_test_2K300_gpio Read More
posted @ 2026-04-24 16:37 靖意风 Views(17) Comments(1) Diggs(0)
1. 普中科技 stm32F103玄武开发板使用的屏幕芯片是HX8357D,stm32芯片和HX8357D通信的方式是FSMC , 可以直接访问内存 2. 使用GD32F303CGT6 测试过屏幕芯片RM67160 和ST7789,都是使用SPI通信,前者是0.96寸屏幕,后者是1.3寸屏幕 Read More
posted @ 2026-03-05 20:59 靖意风 Views(26) Comments(0) Diggs(0)
1. 查看emmc 的分区信息 ,发现只有mmcblk0boot0 和 mmcblk0boot1,用户是不能用的 #ls /dev/mmcblk0* -lhbrw-rw 1 0 0 179, 0 May 1 00:21 /dev/mmcblk0brw-rw 1 0 0 179, 8 May 1 00 Read More
posted @ 2026-02-10 21:59 靖意风 Views(71) Comments(0) Diggs(0)
1. 查看启动log,分析处理时间长的信息,如下是优化前的log [ 5.617156] Run /init as init process chmod: /lib32/*: No such file or directory [ 5.686178] ubi2: attaching mtd2 [ 9 Read More
posted @ 2026-01-18 00:46 靖意风 Views(16) Comments(0) Diggs(0)
1> 查看设备和信息 nmcli device statusnmcli connection shownmcli connection show --activenmcli -f NAME,FILENAME connection show 2> 修改 connection-id nmcli conn Read More
posted @ 2025-12-30 22:38 靖意风 Views(54) Comments(2) Diggs(0)
VMware虚拟机中安装Ubuntu18.04(linux发行版)【超详细图文教程】_vmware安装ubuntu18.04-CSDN博客 Read More
posted @ 2025-10-25 21:29 靖意风 Views(36) Comments(0) Diggs(0)
1. 关于串口电平和 RS232 、RS485、RS422 的引脚接线 1.1 串口常用的电平标准有如下三种: TTL电平:+5V表示1,0V表示0 RS232电平:-3~-15V表示1,+3~+15V表示0 RS485电平:两线压差+2~+6V表示1,-2~-6V表示0(差分信号),RS485两根 Read More
posted @ 2025-10-18 23:02 靖意风 Views(49) Comments(0) Diggs(0)
(1) 基本数据类型的对齐每个类型的起始地址必须是自身大小的整数倍: char(1字节) → 任意地址。short(2字节) → 地址是2的倍数(如0x1002, 0x1004)。int(4字节) → 地址是4的倍数(如0x1004, 0x1008)。double(8字节) → 地址是8的倍数(如0 Read More
posted @ 2025-07-16 16:20 靖意风 Views(41) Comments(0) Diggs(0)