完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好!我对微芯片TCP编程是新的。我目前有一个PIC32 MX360F512L板,并已经做了一些实验室,如编写代码,使LED点亮,当计数从0位到7位,并有一些其他熟悉PIC32板。我的问题是如何使用Socket编程(TCP)连接到Web页面。我将使用这个板。我有MPLABX IDE,编译器32,也使用以太网电缆。我读到以太网启动套件有一个演示,但我有一个MacBook Pro,我读到以太网启动工具包运行在Windows操作系统上。我有PIC32的DM3200 01板和扩展板和一个其他板放在我的PIC32和以太网电缆。我已经阅读了很多关于TCP IP编程如何工作/套接字编程。我理解它是如何工作的,但没有看到很多代码示例或演示,我可以在我的板上使用它连接到一个网页。现在我只想连接板,连接到一个网页,只显示“你好”这个词。我只是想能够做一些简单的事情,然后把网页带来并显示一个问候。有人能帮助我理解如何做到这一点吗?我一直很难找到一个演示代码,我甚至可以打开下载一次,许多其他代码IM阅读似乎有更复杂的行动进行,而我所做的是一个相对简单的任务,似乎。非常感谢!我很感激!也请告诉我,如果我需要提供任何其他信息,我可能错过了。我试图覆盖所有的东西。我也有协调下载的BC它有所有的TCP库和文件,我想我需要,比MPLABX IDE和PIC32,我以前单独添加和谐之前。谢谢!!
以上来自于百度翻译 以下为原文 Hi! I am new to the microchip tcp programming. I current have a PIC32MX360F512L board and have done some labs on it such as writing code for having the LEDs light up in order when counting from bit 0 to bit 7 and a couple others to familiarize with the PIC32 board. It is the dm320001 starter kit. My question, however is how to connect to a web page using socket programming (TCP). I would be using this board. I have MPLABX IDE, Compiler 32, and also using an ethernet cable. I read that the ethernet starter kit has a demo for this but I have a macbook pro and I read that the ethernet starter kits run on windows OS. I have my PIC32 dm320001 board and the expansion board and one other board to put on my PIC32 and the ethernet cable. I have read a lot about how TCP IP programming works / socket programming. I understand HOW it works but do not see many code examples or a demo that I am able to use on my board to connect to a web page. Right now I just want to hook up the board and connect to a web page to just display the word "hello!" I just want to to be able to do something simple like this and bring up the web page and display a greeting. Is there anyone that can help me understand how to do this? I have been having a lot of trouble finding a demo code and I can even open once downloaded and a lot of the other codes Im reading about seem to have way more complex actions going on whereas what I am doing is a relatively simple task it seems. Thank you so much! I appreciate it! Also please let me know if I need to provide any other information that I may have missed. I tried to cover everything. I also have hARMony downloaded bc it has all the tcp libraries and files that I suppose I need, compared to the MPLABX IDE and PIC32 that I previously had alone before adding harmony. Thank you!! |
|
相关推荐
3个回答
|
|
你应该能够运行一个和谐的示例应用程序来运行。例如:…/Microchip / Hyn/V2Y05Y01/App/TCPIP/WebSynNETServer NVMMMPFS。你将想要使用Hyror配置器插件来获得所有的设置。®和谐配置器教程-创建一个TCP/IP项目从SurrChink也看视频:HTTPS://www. Youtub.com /手表?V= EYCLFQKGLNMIT有点过时,但有很多你需要的东西。
以上来自于百度翻译 以下为原文 You should be able to run one of the Harmony example applications to get going. For instance: .../microchip/harmony/v2_05_01/apps/tcpip/web_net_server_nvm_mpfs. You will want to use the Harmony Configurator plugin to get all the settings right. Harmony Configurator will plug into the MPLABX IDE. MPLAB® Harmony Configurator Tutorial - Creating a TCP/IP Project from ScratchAlso watch the video: https://www.youtube.com/watch?v=EyclfQkgLnM It is a little dated, but has a lot of what you need. |
|
|
|
你好。。任何人都可以为PIC32以太网启动KIT2附加TCP IP演示代码。谢谢。
以上来自于百度翻译 以下为原文 Hi.. can any one attach the tcp ip demo code for pic32 ethernet start kit2. Thank you |
|
|
|
你好,Purnk,你安装好了吗?如果不是,那么安装和声最新版本。然后您可以找到所有需要的例子:例如:…/Microchip / Hyng/V2Y05Y01/App/TCPIP/WebSynNETServer
以上来自于百度翻译 以下为原文 Hello Purna K, Do you have Harmony installed? If not then install Harmony latest version. Then you can find all the needed examples : For instance: .../microchip/harmony/v2_05_01/apps/tcpip/web_net_server_nvm_mpfs |
|
|
|
只有小组成员才能发言,加入小组>>
5003 浏览 9 评论
1921 浏览 8 评论
1850 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3066 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2143 浏览 5 评论
571浏览 1评论
427浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
473浏览 0评论
366浏览 0评论
IPECMD命令烧录AVR128DA48芯片,报找不到芯片错误
851浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-15 09:21 , Processed in 1.701467 second(s), Total 82, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191