上一页 1 2 3 4 5 6 ··· 18 下一页

2021年4月17日

关于232,422接口

摘要: 232,3跟线,发送,接收,地。由于两端的地的电平有差异,因此,需要使用大于5伏的电压。实际是12伏。标准里最大速率只到19.2k,虽然实际会使用到57.6和38.4k。 422,4根线,发送的差分±,接收的差分±。通过差分信号线形成回流,因此,可以采用更低的电压,最大差分电压±6伏。通信距离,12 阅读全文

posted @ 2021-04-17 07:39 yanhc 阅读(949) 评论(0) 推荐(0) 编辑

2020年10月25日

stm32 hard fault usage fault UNALIGNED -> task stack overflow

摘要: 在STM32官方论坛里提问了: https://community.st.com/s/question/0D50X00009sW72oSAC/how-to-debug-a-hard-fault-exception-for-stm32 Finally, after I have changed the 阅读全文

posted @ 2020-10-25 21:31 yanhc 阅读(792) 评论(0) 推荐(0) 编辑

2020年9月29日

RTEMS CPU Supplement Documentation-SPARC

摘要: https://docs.rtems.org/branches/4.11/cpu-supplement/sparc.html Docs » 17. SPARC Specific Information 17. SPARC Specific Information The Real Time Exec 阅读全文

posted @ 2020-09-29 21:08 yanhc 阅读(290) 评论(0) 推荐(0) 编辑

2020年8月1日

windows vc++ vs winsock2.h socket通信

摘要: sendto int sendto( SOCKET s, const char *buf, int len, int flags, const sockaddr *to, int tolen ); 这个使用时需要这样来用。特别是最后的tolen,必须得是一个int参数,不能用sizeof。 int 阅读全文

posted @ 2020-08-01 22:20 yanhc 阅读(316) 评论(0) 推荐(0) 编辑

2020年6月18日

IOT OS and OTA

摘要: 华为,LiteOS, 腾讯,TencentOS Tiny 移动,OneOS 三个协议栈都使用lwip,都使用fatfs,都有OTA http://www.elecfans.com/d/1207741.html https://blog.csdn.net/devcloud/article/detail 阅读全文

posted @ 2020-06-18 21:33 yanhc 阅读(495) 评论(0) 推荐(0) 编辑

2020年5月31日

gcc c asm,C程序内嵌汇编

摘要: gcc说明: https://gcc.gnu.org/onlinedocs/gcc-4.7.2/gcc/Extended-Asm.html https://gcc.gnu.org/onlinedocs/gcc-7.3.0/gcc/Extended-Asm.html#Extended-Asm 有时候, 阅读全文

posted @ 2020-05-31 16:32 yanhc 阅读(764) 评论(0) 推荐(0) 编辑

2020年5月21日

makefile and make tips

摘要: wildcard,扩展通配符 https://blog.csdn.net/hktkfly6/article/details/25644139 SRC = $(wildcard *.c) 等于指定编译当前目录下所有.c文件,如果还有子目录,比如子目录为inc,则再增加一个wildcard函数,象这样: 阅读全文

posted @ 2020-05-21 22:04 yanhc 阅读(229) 评论(0) 推荐(0) 编辑

2020年4月23日

LwIP的内存mem和memp

该文被密码保护。 阅读全文

posted @ 2020-04-23 21:38 yanhc 阅读(30) 评论(0) 推荐(0) 编辑

LwIP的netconn API流程

该文被密码保护。 阅读全文

posted @ 2020-04-23 21:03 yanhc 阅读(71) 评论(0) 推荐(0) 编辑

2020年4月11日

关于用一个函数创建多个任务的问题以及关于重入函数Reentrant function和线程安全thread safe

该文被密码保护。 阅读全文

posted @ 2020-04-11 07:08 yanhc 阅读(68) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 18 下一页

导航