- 博客(100)
- 资源 (2)
- 收藏
- 关注
原创 ubuntu22.04 关闭laptop lid 无法resume 问题
2.打开Tweaks ->Suspend whenlaptop lid is closed。3.Settings->Power->Automatic Suspend 设置为off。
2022-11-15 09:19:00
300
原创 CookBook第二版-0.背景介绍
开发平台:ubuntu 16.04开发硬件:NXP I.MX6YOCTO 版本: 2.4 release代码包地址:GitHub - PacktPublishing/Embedded-Linux-Development-Using-Yocto-Project-Cookbook-Second-EditionContribute to PacktPublishing/Embedded-Linux-Development-Using-Yocto-Project-Cookbook-Sec..
2022-05-30 22:22:21
171
原创 free-rtos 基础
函数命名约定:(使用返回值类型和所在文件名作为前缀)vTaskPrioritySet : 函数返回值为void, 并且定义在task.cxQueueReceive() 返回一个 BaseType_t 类型的变量,并且定义在 queue.c.pvTimerGetTimerID() 返回一个指向 void 的指针,并且定义在 timers.c.作用范围在单个文件中的函数 (private) 以 'prv' 作为前缀宏名:多数的宏都是大写的,但是前缀是小写,用来表示定义所在的文件名s
2022-05-17 10:58:33
117
原创 wind river -diab
1.Wind River Diab编译器是一款不依赖于操作系统的工具套件.内含:C及C++编译器、汇编器(assembler)、链接器(linker)、指令集模拟器(instruction-set simulator)以及ANSI C和C++函数库(libraries)2.Wind River Diab编译器符合ISO 26262安全规范要求...
2022-05-13 11:29:10
1918
转载 SFDP 基础介绍
SFDP JEDEC -JESDSFDP 的格式SFDP读取流程:开启片选选通芯片发送0x5A的读取SFDP的指令发送3byte的地址,发送1byte的空周期在输出脚上读取SFDP数据关闭片选结束操作http://t.zoukankan.com/jiangzhaowei-p-7997815.htmlhttp://t.zoukankan.com/jiangzhaowei-p-7997815.html...
2022-05-13 11:20:10
2288
原创 FreeRTOS -Scheture
重点一:SDK drivers that use OSIF must be run after the scheduler is started.
2022-05-13 11:00:51
156
原创 Free-RTOS 发送udp数据
extern struct netif network_interfaces[1];void interface_init_1(void){ for(int i = 0; i < 1; i++) { ip4_addr_t ipaddr, netmask, gw; ip4_addr_set_zero(&gw); ip4_addr_set_zero(&ipaddr); ip4_addr_set_zero(&netmask); .
2022-05-13 09:27:32
476
原创 FreeRTOS-Task
TaskFreeRTOS中Task为调度单位,是独立的运行实例,具有自己的堆栈空间。Task通常是无限循环执行,不允许以任何方式退出实现函数(return语句或者运行结束)。如果Task真的不需要了,需要显式的调用delete函数结束Task运行任务实体 就是一个普通的函数并拥有自己的上下文环境以及栈空间 1. static 变量被共享 2. 如果突破死循环,则必须在到达该函数末尾之前删除该任务,即使用vTaskDelete(NULL)补充:vTaskDelete(NULL
2022-05-07 17:34:12
1176
原创 S32DS
一.安装 GNU E200 PEMicro Interface Debugging Supporthelp->Install New Software...参考链接:HOWTO: Install update from 3rd party vendor - NXP Community二. MEX文件(勾选sdk)This .mex file contains all of the configuration data for the S32 Configuration Tool .
2022-03-27 21:15:34
665
原创 zynq-gem分析
static struct netif server_netif;echo_netif = &server_netif;if (!xemac_add(echo_netif, &ipaddr, &netmask,&gw, mac_ethernet_address, PLATFORM_EMAC_BASEADDR)) { xil_printf("Error adding N/W interface\n\r"); r.
2022-03-08 15:50:16
1296
原创 phytec中国
传递链接https://wiki.phytec.com/pages/viewpage.action?pageId=121307199https://wiki.phytec.com/pages/viewpage.action?pageId=121307199
2022-03-04 19:06:02
219
原创 yocto-Image introspection
[yocto] Image introspection https://www.yoctoproject.org/pipermail/yocto/2019-March/044605.htmloe-pkgdata-util find-path /usr/sbin/ofonodoe-depends-dot -k ofono -w recipe-depends.dot
2022-02-28 19:53:25
98
原创 v3m 资料
二. YoctoR-Car/Boards/Yocto-Gen3-ADAS - eLinux.orghttps://elinux.org/R-Car/Boards/Yocto-Gen3-ADAS#Building_the_BSP_for_Renesas_ADAS_boardsR-Car/Boards/V3MSK - eLinux.orghttps://elinux.org/R-Car/Boards/V3MSK三.Release Note https://elinux.org/image...
2022-02-16 14:05:14
199
原创 ModuleNotFoundError: No module named ‘_sqlite3‘
1.安装libsqlite-dev库sudo apt-get install libsqlite3-dev2.(重新)安装pythonlink: https://www.python.org/downloads/release/python-3710/sudo apt-get install build-essential zlib1g-dev./configure --enable-shared --enable-loadable-sqlite-extensions &&.
2022-01-12 09:42:45
581
转载 AutoSar- Some/Ip
参考:以太网SOME/IP协议解读_汽车技术__汽车测试网标准的网络七层架构,SOME/IP (Scalable service-Oriented MSOME/IP (Scalable service-Oriented MiddlewarE over IP) 是车载以太网通信引入的一个概念,位于OSIhttps://m.auto-testing.net/news/show-112229.html?ivk_sa=1024320u...
2021-12-24 09:56:32
303
原创 u-boot:spi flash源码分析一
do_spi_flash (cmd/sf.c) do_spi_flash_probe (cmd/sf.c) sp...
2021-12-01 15:59:10
930
翻译 nor flash 与nand flash 的区别
原文参考: https://embedded.com/flash-101-nand-flash-vs-nor-flash/
2021-11-30 15:01:42
117
原创 文件格式解析1-xilinx bit文件
BIT文件开头的ASCII头根据设计名称等不同而不同。它实际上是4个字符串和一个大小:a.<设计,vivado版本,其他参数>b <芯片>c <日期>d <时间>e <文件大小>(去除头部)
2021-11-24 11:44:10
1281
原创 u-boot:常见问题1“DRAM: ECC disabled 1 GiB“打印
static const init_fnc_t init_sequence_f[] = { ... announce_dram_init,//打印 DRAM: dram_init, //打印 ECC disabled ... show_dram_config, //打印 1 GiB ... NULL,};step1:打印"DRAM: "/************************************...
2021-11-19 17:27:15
1093
原创 u-boot:malloc 大小限制
include/configs/platform-auto.h/* Size of malloc() pool */#define SIZE 0xC00000#define CONFIG_SYS_MALLOC_LEN SIZEinclude/common.h#define TOTAL_MALLOC_LEN CONFIG_SYS_MALLOC_LENcommon/board_f.c/* reserve memory for malloc() area */static int
2021-11-19 16:20:34
849
转载 u-boot:设备树解析二-设备树接口
gd->fdt_blob已经设置成了dtb的地址了, fdt提供的接口都是以gd->fdt_blob(dtb的地址)为参数的,常用接口如下:(用节点在dtb中的偏移地址来表示一个节点).lib/fdtdec.c中 1.fdt_path_offset int fdt_path_offset(const void *fdt, const char *path) eg:node = fdt_path_offset(gd->fdt_blob...
2021-11-19 13:50:25
2297
原创 u-boot:设备树解析一
/**************************** 设备树地址解析流程***************************/static init_fnc_t init_sequence_f[] = { ···#ifdef CONFIG_OF_CONTROL fdtdec_setup,//获取设备树地址 #endif ··· reserve_fdt,//为fdt分配内存 ··· reloc_fdt,//重载fdt .
2021-11-19 13:43:02
702
原创 u-boot启动涉及源文件:sections.c
/arch/arm/lib/secions.c目的:指定一些零长度数组在编译链接时放入到指定的section 中参考:嵌入式C语言自我修养 06:U-boot镜像自拷贝分析:section属性 - 宅学部落 - 博客园char __bss_start[0] __attribute__((section(".__bss_start")));char __bss_end[0] __attribute__((section(".__bss_end")));char __image_copy.
2021-11-18 15:21:22
411
原创 程序员的自我修养: 变量存储分析
变量存储情况分析表:全局普通变量未初始化 *COM* 链接后为.bss (不使用-c) 全局普通变量初始化为0 .bss 全局普通变量初始化为其他 .data 全局静态变量未初始化 .bss 全局静态变量初始化为0 .bass 全局静态变量未初始化为其他 .data 全局常量初始化为0 .rodata 全局常量初始
2021-11-16 15:58:40
107
原创 12-ubuntu:010 Editor
概述: 用于分析各种格式文件:如 elf, 视频图片文件等. 慢慢探索中。step1:安装 ./010EditorLinux64Installerstep2: 增加elf格式模板: Templates --->template Repository....... SweetScape Software Inc - Download 010 Editor https://www.sweetscape.com/download/010editor/...
2021-11-12 14:39:31
919
keil说明手册
2019-04-08
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人