摘要: 1.需要安装ADB工具 2.使用RKDevTool.exe 烧录固件 K3568 开发板需要进入 Loader 或 Maskrom 模式才可执行烧写操作。进入 Loader 模式的方法:首先按住开发板上的音量+(V+) 按键(具体位置请参考按键示意图 3.2.3) 不松,给开发板上电或复位,此时 R 阅读全文
posted @ 2023-10-09 20:41 qq921201008 阅读(37) 评论(0) 推荐(0) 编辑
摘要: c:\Keil_v5\ARM\ARMCC\bin\fromelf.exe --bin --output stm32f103cb/@L.bin stm32f103cb/@L.axf 阅读全文
posted @ 2023-04-19 20:43 qq921201008 阅读(8) 评论(0) 推荐(0) 编辑
摘要: void StringToByte(char* source, uint8_t* dest, int sourceLen) { int i; uint8_t highByte, lowByte; for (i = 0; i < sourceLen; i += 2) { highByte = toup 阅读全文
posted @ 2023-04-07 15:33 qq921201008 阅读(11) 评论(0) 推荐(0) 编辑
摘要: public static List<string> GetMacByWMI() { List<string> macs =new List<string>(); try { string mac =""; ManagementClass mc =new ManagementClass("Win32 阅读全文
posted @ 2023-03-23 15:33 qq921201008 阅读(13) 评论(0) 推荐(0) 编辑
摘要: typedef struct { unsigned char *buffer;//待切割数据 unsigned int bufferLen;//待切割数据长度 unsigned int index;//当前切割数据索引 unsigned int dataMaxLen;//每次切割数据最大长度 uns 阅读全文
posted @ 2023-01-04 18:20 qq921201008 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 1.下载BTStack BTStack的源码在GITHUB上:https://github.com/bluekitchen/btstack git clone https://github.com/bluekitchen/btstack.git 2.将BTStack解压到msys2的根目录下 进入源 阅读全文
posted @ 2021-06-24 17:09 qq921201008 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 1.MSYS2 是什么? 个人理解msys2是一个linux shell 窗口,拥有它等于再windows上拥有了个linux开发环境。 2.安装: 参考博客:https://www.cnblogs.com/CodeWorkerLiMing/p/12274583.html 阅读全文
posted @ 2021-06-24 14:56 qq921201008 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 参考博客:https://blog.csdn.net/m0_37811342/article/details/110069541 待生成pyd的文件task.py: def hello(): print("Hello world") 1.安装环境 pip install cython pip ins 阅读全文
posted @ 2021-06-10 12:22 qq921201008 阅读(1945) 评论(0) 推荐(0) 编辑
摘要: 小容量产品主存储块最大为4K× 64位,每个存储块划分为32个1K字节的页(见表2)。中容量产品主存储块最大为16K× 64位,每个存储块划分为128个1K字节的页(见表3)。大容量产品主存储块最大为64K× 64位,每个存储块划分为256个2K字节的页(见表4)。互联型产品主存储块最大为32K× 阅读全文
posted @ 2021-02-09 02:12 qq921201008 阅读(337) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install gcc-4.8 g++-4.8 ls /usr/bin/gcc* ls /usr/bin/g++* 阅读全文
posted @ 2021-01-23 18:43 qq921201008 阅读(73) 评论(0) 推荐(0) 编辑