足球盘口

首页>>足球盘口资讯

应用笔记

W5500 移植思路

更新时间:2018-11-22 阅览次数: 1346

YIZHIBUZHOU:

ZHU:YIZHIQIANBIXUBAOZHENGGONGCHENGBANDESPIDUXIEYIJINGFENGZHUANGWANBI,QIEKEYIZHENGCHANGSHIYONG。

1.DAKAIGONGCHENG,WOMENXUYAOYIZHIYIXIAWENJIAN。

2018111016514898.png

MEIGEWENJIANNEIDOUYOUWENJIANGONGNENGZHUSHI,WOZAIZHEILIJIUBUYIYIZHUISHU。

2.TIANJIARUZIJIGONGCHENGHOUXUYAOZHUSHIDIAODEYINYONGJIHANSHU

STKUWENJIANDEYINYONG;

YANSHIHANSHUJISHIZHONGCHUSHIHUAHANSHUDEPINGBI;

EEPROMXIANGGUANDEHANSHUPINGBI;

ZHU:E2DEZUOYONGSHICUNCHUQIwebWANGYEGAIXIEDEIP,XIACISHANGDIANIPCONGE2NEIDUQU。

RUGUOSHIYONGDAOLEISIGONGNENG,E2DEGONGNENGKUANGJIADOUYAOGENJUset_w5500_ipHANSHULAIZUO。

LEIXINGDEZHONGDINGXIANGDENGDENG。

ZHU:CIBUFENKEHUGENJUZIJIGONGCHENGJINXINGDIAOZHENGJIKE。

3.ZHUCEDICENGSPIDUXIEHANSHU,JICS、RST、INTDENGYINJIAODECHUSHIHUA

RSTBUFEN:

新建位图图像.bmp

GUANJIAODECHUSHIHUAWOJIUBUZAIZHUISHU,ZHEIGEHANSHUNEIXUYAOJIANGW5500DERSTGUANJIAOLADI。

LADISHIJIAN,SHICE2usYOUXIAO,DANSHIYEKEYIGENJUW5500SHUJUSHOUCENEIGUIDINGDEZUISHAO500us。

RANHOULAGAO,YANSHIYIXIAODUANSHIJIANBAOCHIWENDINGJIKE。

INTBUFEN:

INTSHIW5500CHUFAWAIBUZHONGDUANDEYINJIAO,LICHENGNEIBINGWEISHIYONGZHONGDUAN。

GUANFANGBUTUIJIANKEHUSHIYONGZHONGDUANMOSHI,YINWEIQIZHONGDUANLEIXINGFANDUO,XUYAOKEHUKAOLVDAODEQINGKUANGHENDUO。

QIEWANGLUOSHUJUZHONGDUANPINFAN,YIBANDEMCUKENENGMEIFACHULIGUOLAI,ZAOCHENGZHONGDUANQIANTAO。

RUXUSHIYONG,ANZHAOWAIBUZHONGDUANGUANJIAOPEIZHIJIKE。

CSBUFEN:

20181110171959217.png

ZHU:YINWEIW5500NEIBUMORENDESPITONGXUNJIZHI,SPIDECSBIXUKEKONG,BUNENGDANCHUNJIEDI。

ZHEIGEHANSHUNEI,JIANGCSDELAGAOLADIDIANPINGDEHANSHUXIERUJIKE。

ZHUCESPIDUXIEHANSHU

20181110172240969.png

ZHUYAOZAIYUZHEI3GEHANSHU,RUGUONIDESPIDUXIE,YIJINGZHENGHECHENGYIGEHANSHU,NEIMEZHIXUYAOXIUGAI“IINCHIP_SpiSendData()”HANSHUJIKE

RUGUODUXIESHICHAIFENKAIDE,ZEXUYAOJIANGZHEILIANGHANSHU“IINCHIP_WRITE()”“IINCHIP_READ()”JINXINGDUXIETIHUAN。

ZHICI,DAZHISHANGDEYIZHIWOMENJIUYIJINGWANCHENGLE。SHENGXIAZHIXUYAOXIUGAIDIAOXIANGGUANCUOWUJIJINGGAOJIUKEYIZHENGCHANGQUDONGW5500。

W5500QUDONGLIUCHENGRUXIA:

20181110174538895.png

CHUSHIHUAXIANGGUANIOYINJIAOHOU,BIXUXIANFUWEIYICIW5500,SHINEIBUHUIGUICHUSHIZHI。

RANHOUTONGGUODUQUPHYJICUNQIDELINKWEIPANDUANWANGXIANSHIFOUJIERU。

RUGUOYIJINGDAPEILEJIAOHUANJIXINPIANDENG,NEIMEPHYJIANCEWUFASHENGXIAO,KEYITIAOGUO。

ZUIHOUZEXIERUMAC、IPJIFENPEIsocketDESHOUFAHUANCUNJIKE。

RUGUOSHIYONGDHCP,ZEPINGBIIPHANSHUJIKE,MACBIXUXIERU。

QITASHUOMING:

DHCPDEYIZHI,SHIJIBENYITAIWANGCHANPINDOUBIXUJUBEIDEGONGNENG。

QIZHONGDHCPYOUGEZAIDINGSHIQINEIZHONGDUANQIYONGDEHANSHU,ZHUYAOJINXINGXUZUQINGQIUDEPANDUAN。SHIYONGDHCPBIXUWANSHANGAIBUZHOU。

CHANPINDEW5500DIANLUSHEJIBIXUYIZHAOWANGZHANTUIJIANDEDIANLUSHEJI,QIJIUJINGSHICHANGKAOYAN。ZHENGQUEDEDIANLUSHEJISHIWENDINGQUDONGW5500DEQIANTIZHIYI。