experience

Table of Contents

experience

Microchip

mplab x

debug

when debuging,you'd better select the project title first.linux

otherwise, it will be not up to date.android

pic32

有时会出现

Unable to connect to the target device.
Failed to get Device ID
方法:将usb下载线断开从新链接便可git

stm32

debug the flash

注意调试好软件功能后,再添加flash写的功能,防止写的次数超过最大的次数。github

PCB绘制出来后仔细检查

检查全部的网络标号,尤为是电源

绘制元件时注意标号和名称问题,不然可能出现Unkonwn Pins

对于USB这样的差分线添加要在输出端添加串联电阻,进而达到阻抗匹配的效果

cyclonetcp网络调试

网络指示灯不亮多是电源供电不够

网络指示灯黄灯不闪,ping不通多是网线接触不良

freertos

生活领悟

工做和生活的同时,关注一下社会,之后可能会避免更多的祸事

esp32环境搭建注意事项

msys环境下的串口指定应该为/COM8格式

/COM3—对应Windows下真实的串口
COM口编号最好是3如下shell

基本使用步骤

只能使用mingw32模式,不能使用msys,在app下输入eg:hello,worldandroid-studio

  1. make menuconfig
  2. make flash
  3. make monitor

只对app进行编译下载

make app-flash浏览器

clone the ESP-IDF

git clone –recursive https://github.com/espressif/esp-idf.git安全

Updating ESP-IDF

cd ~/esp/esp-idf
git pull
git submodule update –init –recursivebash

uart下载 要拉低GPIO0

tenda路由器N300 v3固件升级步骤

按住复位键,而后同时按住电源键

而后在浏览器中输入路由器的ip地址,按照提示选择文件,进行升级便可

cc2530调试

当使用查询标志发送数据时,不能使能中断

对于OSAL中的bool,不能使用IAR自带的stdbool中的,不然可能不能使用

s3c2440

添加target /arch/kconfig中

zynq

u-boot sequence

start.s->cpuinitcp15—>cpuinitcrit->lowlevelinit(mach-zynq/lowlevelinit.s)
->main(crt0.s)->boardinitf(common/boardf.c)->initsequencef(common/boardf.c)
->relocatecode(relocate.s)->relocatevectors(relocate.s)->cruntimecpusetup(start.s)
->boardinitr(common/boardr.c)->initsequencer(common/boardr.c)->runmainloop(common/boardr.c)
->mainloop(main.c)->bootdelayprocess()->autobootcommand(s)->cliloop->clisimpleloop()(for(;😉)
command parse
runcommandlist(s, -1, 0)->clisimpleruncommandlist(buff, flag)->clisimpleruncommand->cmdprocess
->cmdcall(cmdtp, flag, argc, argv)
bootm->dobootm->dobootmstates->bootfn->dobootmlinux->bootjumplinux->kernelentry(0, machid, r2服务器

linux sequence

head.s->_mmapswitched(head-common.s)->startkernel(main.c)->restinit
->kernelthread->kernelinit

u-boot memory

sp->CONFIGSYSINITSPADDR 0xFFFF0000+0x1000-GENERATEDGBLDATASIZE
sp->(sp-GDSIZE) CONFIGSYSINITSPADDR-184

linux 输出头文件

The command "make headersinstallall" exports headers for all architectures
simultaneously.

msys2

pacman -Syu ,更新整个系统

pacman -S mingw-w64-x8664-toolchain 安装工具链,

若是提示冲突,则使用pacman -S –force mingw-w64-x8664-toolchain
pacman -S base-devel 开发的各类辅助工具
pacman -S –force mingw-w64-x8664-gtk3 安装gtk

msys2 .bashrc中为应用程序添加相应的环境变量便可

msys2 中使用cmake

要指定编译的工具路径
export CC=/c/msys64/usr/bin/x8664-pc-msys-gcc
export CXX=/c/msys64/usr/bin/x8664-pc-msys-g++
指定生成的Makefile文件类型为MinGW Makefiles
cmake -G "MinGW Makefiles" .
cmake -G "MSYS Makefiles" .
cmake 中的环境变量的设置一概使用大写

msys2 中使用bash 来执行shell脚本

cc2540调试

退出调试状态,可能一切都会回复正常

常见的dns服务器地址

180.76.76.76 182.254.116.116

android studio

onCreate

页面建立的时候执行

onDestroy

页面销毁的时候执行

onRequestPermissionsResult

权限的回调

onActivityResult

页面的回调

onCreateOptionsMenu

建立按钮以后的回调

adb 链接手机有的电脑,要将usb切换为非MTP方式

比较少见的无线通讯技术

UWB

无载波通讯技术,采用时间间隔小于1ns的脉冲进行通讯,所以也称为脉冲无线电

经过在较宽的频谱上传送极低功率的信号,UWB能在10米左右的范围内实现
数百Mbit/s至数Gbit/s的数据传输速率。UWB具备抗干扰性能强、传输速率高、
带宽极宽、消耗电能小、发送功率小等诸多优点,主要应用于室内通讯、高速无线LAN、
家庭网络、无绳电话、安全检测、位置测定、雷达等领域。

LORA

是LPWAN通讯技术中的一种,是美国Semtech公司采用和推广的一种
基于扩频技术的超远距离无线传输方案,为用户提供了一种简单的能实现远距离、
长电池寿命、大容量的系统,进而扩展传感网络,目前,LORA主要在全球免费频段运行
,包括31四、86八、915MHz等。

Thread

word

当文字下方有空行时,要更改段后间距

相关文章
相关标签/搜索