计划赶不上变化

导航

2025年3月31日 #

基于rk3358的 ab系统配置

摘要: 配置ab系统 在 Rockchip 提供的 Linux SDK 中,已经实现了 A/B 系统的基础功能,可是实现在 Flash中存有两份独立系统,系统在启动时可以从其中一个 slot 上启动,另一个 slot 作为备份,当出现启动失败时,可以从另一个备份 slot 上继续启动。 或者在 slot A 阅读全文

posted @ 2025-03-31 16:07 张培粉 阅读(252) 评论(0) 推荐(0)

2022年8月31日 #

关于ASEJ1939的解析

摘要: 项目要用到ASEJ1939的协议,看了很多网上的博客,发现没有特别详细的,有些写的我都看不懂,理论一大堆。硬着头皮粗粗学了一下,大致摸出了点门道,就此记录一下,以免以后用忘记了。 先上图最小数据结构pdu 打开SAE+J1939-21-2001文档可以获得 P:优先级,决定该 PDU 进入总线的优先 阅读全文

posted @ 2022-08-31 01:19 张培粉 阅读(2129) 评论(0) 推荐(0)

2022年4月26日 #

有关zmq和vcpkg的使用

摘要: 在项目中需要用到zmq来进行通信。 所以就大致查了一下,也来大致总结下 项目前提:客户有一个已经写好的zmq的模块,需要我在自己的模块里添加zmq去通信。 客户告诉我说zmq的版本是3.5.2版本。 于是我就去https://github.com/zeromq/cppzmq/ 找,根本也没有对应的版 阅读全文

posted @ 2022-04-26 21:08 张培粉 阅读(667) 评论(0) 推荐(0)

2022年4月24日 #

ssh的反向代理

摘要: 记录一下因为项目上需要一个公网ip的端口接收数据,但是目前环境并不是公网ip,所以就只能用到ssh的反向代理 ssh 反向代理 - 不拨牙 - 博客园 (cnblogs.com) 参考的是这个博客 因为是临时的使用就不去研究这么多原理了,正好之前想要在外访问家里的服务器,真不错,学有所用了。 总结一 阅读全文

posted @ 2022-04-24 20:49 张培粉 阅读(521) 评论(0) 推荐(0)

2022年1月21日 #

项目流水账

摘要: 新的工作要开始接触stm32,之前虽然也跟着别的项目有所接触,但是没有自己从头到尾做过一遍,现在要一个人抗下所有了,只能自学,希望能遇到所有的问题,把stm32学完。 项目需求,用移远的ec600U模组和stm32实现数据的采集和上传 只是暂时的会不断更新。 用到的模块:ec600U stm32l0 阅读全文

posted @ 2022-01-21 22:27 张培粉 阅读(711) 评论(0) 推荐(0)

2021年10月10日 #

centos搭建

摘要: 在centos下安装tmux yum install automakeyum install ncurses-develyum install byaccyum install flex 首先我是用yum install tmux尝试安装的。估计没有源,没有找到tmux。所以习惯性直接找源代码安装。 阅读全文

posted @ 2021-10-10 11:04 张培粉 阅读(106) 评论(0) 推荐(0)

2021年10月8日 #

搭建青龙面板

摘要: 首先安装docker sudo yum check-update curl -fsSL https://get.docker.com/ | sh sudo systemctl start docker sudo systemctl status docker sudo systemctl enabl 阅读全文

posted @ 2021-10-08 19:02 张培粉 阅读(1136) 评论(0) 推荐(0)

2019年5月22日 #

tcp简单服务器

摘要: #include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <string.h> #include <strings.h> #include <unistd.h> 阅读全文

posted @ 2019-05-22 11:01 张培粉 阅读(141) 评论(0) 推荐(0)

2019年5月20日 #

tcpip客户端

摘要: #include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <string.h> #include <strings.h> #include <unistd.h> 阅读全文

posted @ 2019-05-20 11:07 张培粉 阅读(125) 评论(0) 推荐(0)

基于epoll的tcpip的服务端

摘要: #include <stdio.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <string.h> #include <strings.h> #include <unistd.h> 阅读全文

posted @ 2019-05-20 11:03 张培粉 阅读(177) 评论(0) 推荐(0)