设置 | 登录 | 注册

【程序】lwip-2.0.2通过DHCP自动从路由器获取IP地址

原始程序:
https://zh.arslanbar.net/post.php?t=24571
打开lwipopts.h,把#define LWIP_DHCP 0改成#define LWI...
巨大八爪鱼 4-2 巨大八爪鱼 (点击/回复: 1055/9)

【实验】使用定时器的外部时钟模式对多谐振荡器的性能进行评估

【实验时用到的程序】
#include <stm32f10x.h>
const uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99,...
巨大八爪鱼 4-2 巨大八爪鱼 (点击/回复: 1071/18)

【教程】给lwip添加计算机名(NetBIOS名称)

原始工程:https://zh.arslanbar.net/post.php?t=24584
【最终效果】
1.能够在PC端通过设定的计算机名ping通网卡。
2.能在PC端...
巨大八爪鱼 4-1 巨大八爪鱼 (点击/回复: 1238/6)

【数据】在控制台中执行“ping 计算机名”时网卡收到的UDP数据包内容

【命令】
C:\Users\Octopus>ping CAR527
Pinging CAR527 [192.168.1.109] with 32 bytes of data:...
巨大八爪鱼 4-1 巨大八爪鱼 (点击/回复: 790/5)

DHCP出错了

******21/03/2017 9:05:41 PM******
dhcp_start(netif=20005fe0) en0
dhcp_start(): starting new DH...
巨大八爪鱼 3-31 117.136.63.* (点击/回复: 673/2)

【步骤】lwip-2.0.2在STM32F103RC+ENC28J60网卡上无操作系统移植(不使用STM32库函数)

【1】去lwip的官方网站下载最新的lwip-2.0.2.zip
【2】新建空白STM32工程,建工程时一定要在Manage Run-Time Environment对话框里勾选启动文件...
巨大八爪鱼 3-31 巨大八爪鱼 (点击/回复: 3143/11)

目前enc28j60的问题是

可以根据ip地址成功获取到网卡地址,也能成功收到数据包,但非广播数据包发出去就会丢失,电脑无法接收到。
巨大八爪鱼 3-31 巨大八爪鱼 (点击/回复: 833/4)

【程序】AVR单片机通过硬件I2C(TWI)读写24C08存储器

#define F_CPU 11059200
#include <avr/interrupt.h>
#include <avr/io.h>
#include...
巨大八爪鱼 3-26 巨大八爪鱼 (点击/回复: 845/0)

【程序】独立看门狗IWDG的使用

#include <stm32f10x.h>
uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x...
巨大八爪鱼 3-24 巨大八爪鱼 (点击/回复: 809/3)

【程序】使用外部32.768kHz晶振作为RTC的时钟源(库函数版)

#include <stm32f10x.h>
uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x...
巨大八爪鱼 3-24 巨大八爪鱼 (点击/回复: 741/5)

【程序】使用内部低速晶振作为RTC的时钟源(库函数版)

#include <stm32f10x.h>
uint8_t seg8[] = {0xc0, 0xf9, 0xa4, 0xb0, 0x99, 0x92, 0x82, 0xf8, 0x...
巨大八爪鱼 3-24 巨大八爪鱼 (点击/回复: 726/1)

【程序】在AVR单片机中使用printf函数

#include <avr/io.h>
#include <avr/sfr_defs.h>
#include <stdio.h>
// 芯片型号:...
巨大八爪鱼 3-23 巨大八爪鱼 (点击/回复: 864/7)

您好,阿斯兰侃吧欢迎您的到来~

亲爱的用户:欢迎来到AVR吧,阿斯兰侃吧欢迎您的到来~
请先阅读我们的社区准则:
https://zh.arslanbar.net/documents/eula/
以及版权声...
社区管理员 3-23 社区管理员 (点击/回复: 619/0)

今天晚上写的串口控制的RTC时钟程序

#include <stdio.h>
#include <string.h>
#include <stm32f10x.h>
#define BIT...
巨大八爪鱼 3-22 巨大八爪鱼 (点击/回复: 699/0)

【程序移植】STM32F103C8+ENC28J60网卡也能运行lwip协议栈! [图片]

STM32F103C8的Flash容量是64KB,RAM容量为20KB。这样小的芯片上也能运行lwip协议栈!
移植前的源程序是运行在STM32F103RC芯片上的:
https://zh...
巨大八爪鱼 3-20 巨大八爪鱼 (点击/回复: 1531/11)
全站共有主题数30529个,帖子数138045篇。

内容转换:

©2010-2025 Purasbar Ver3.0 [手机版] [桌面版]
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。