完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,我需要在一块板与一个PIC微控制器和16-24个带有微控制器的其他板之间实现以太网通信。(目前没有互联网)我有一个DSIC33,但是我会订购任何最适合这个项目的微控制器。我遇到了很大的困难。为了启动这个项目,我下载了Microchip堆栈代码,但是我真的在寻找一个指南或者一些关于如何启动这个项目的提示。
以上来自于百度翻译 以下为原文 Hi, I need to implement an Ethernet communication between one board with a pic micro-controller and 16-24 other boards with micro-controllers.(no INTERNET at the moment) I have a DsPIC33F but i will order any micro-controller needed that is best suited for this project. I am having a great difficulty to start this project. I downloaded the microchip stack code, but i am really looking for a guide or some hints on how to even start this project. Thanks |
|
相关推荐
15个回答
|
|
我建议你买一台PIC32MX或MZ以太网启动器套件,这意味着你可以直接插入它,然后从示例应用程序开始。您需要的不仅仅是PIC,还需要某种PHY和变压器……这是迄今为止最快速和最简单的启动方式。甚至最低成本。你对TCP/IP概念有很好的理解吗?
以上来自于百度翻译 以下为原文 I'd suggest you get a PIC32MX or MZ ethernet starter kit, which means you can just plug it in and start out with the example applications.. You need more than just the PIC, you'll need some kind of PHY, and an transformer.. That will be by far the quickest and easiest way to get started. and even lowest cost. NB. Do you have a resoanbly good understanding of TCP/IP concepts? |
|
|
|
HTTP://www. McCHIP.COM/DealthCase/EcNET/EnthNET-PIC-MCUS/概览
以上来自于百度翻译 以下为原文 http://www.microchip.com/design-centers/ethernet/ethernet-pic-mcus/overview |
|
|
|
如果你将使用PIC32,你还需要决定你是否会使用和声或者旧的V5.xx堆栈。和谐不仅占有更多的资源,而且具有更多的特征。和谐只适用于PIC32。如果您需要SSL/TLS,您还需要知道oldv5.xx堆栈只支持SSL v3,而SSL v3现在已被弃用。Harmony确实支持TLS v1.2,但是使用第三方软件,如果用于商业项目,成本会非常高。我建议您从DemoApp(来自传统MLA,或者使用PIC32的Hoomony)开始。DemoApp演示了大多数以太网通信协议,并且这样做可以方便地包括或排除不同的传输器接口、TCP/IP协议和演示,并且可以作为大多数以太网应用程序的起点。TCP/IP堆栈(以及DemoApp)使用协作式多任务(非阻塞状态机)操作,如果要添加自己的代码,则必须以相同的方式工作或添加RTOS。还要注意,在连接16-24个板时,将需要开关和许多电缆。WiFi可能是一个选项(它由TCP/IP栈支持)。串行多点网络(RS485,CAN…)也可以是一种选择。如果你想要互联网能力,你可以给你的网络添加一个网关。
以上来自于百度翻译 以下为原文 If you will use a PIC32 you also need to decide if you will go with Harmony or the old v5.xx stack. Harmony takes up more resources but also have more features. Harmony is only for PIC32. If you need SSL/TLS you also need to know that the old v5.xx stack only supports up to SSL v3 which is now deprecated. Harmony does support TLS v1.2 but with 3rd party software that can be very costly if used in commercial projects. I suggest that you get started with the DemoApp (from either the legacy MLA or Harmony with PIC32) on a supported dev board. The DemoApp demonstrates most of Ethernet communication protocols and is made so that you can easily include or exclude the different tranceiver interfaces, TCP/IP protocols and demos and can serve as a starting point for most Ethernet applications. The TCP/IP stack (and the DemoApp) operates with cooperative multitasking (non blocking state machines) and if you want to add your own code, you will have to get it to work in the same manner or add an RTOS. Also note that you will need switches and lots of cables when connecting your 16-24 boards. WiFi might be an option (which is supported by the TCP/IP stacks). A serial multidrop network (RS485, CAN...) could also be an option. If you then want internet capabilities you can add a gateway to your network. /Ruben |
|
|
|
换一个转换器怎么样?从UART到以太网?这是我想的吗?我用PUIC与UART通信,因为我做了一天,某种转换器做其余的一切?
以上来自于百度翻译 以下为原文 What about a converter? from UART to Ethernet? is it what i think it is? I use the pic with UART communication as i did up to day and some kind of converter does all the rest? |
|
|
|
这取决于你到底想做什么和你想要传达什么,但是是的,可以使用转换器。但是,如果你只在主画面上,关于电缆和开关,Ruben不会有很大帮助,
以上来自于百度翻译 以下为原文 It depends on what you want to do exactly and between what you want to communicate, but yes - a converter could be used. But that won't help out much if you only will have it at the main PIC, regarding cables and switches, /Ruben |
|
|
|
NIRORM到底是什么问题,你正在试图解决。UART到以太网是做thigs的一种方式,但它将非常有限,你可以做什么。
以上来自于百度翻译 以下为原文 nirorm what exactly is the problem you are trying to solve. UART to ethernet is one way of doing thigns but its going to be very restricted what you can do. |
|
|
|
|
|
|
|
我想把一些主板连接到几个从板。主板可以操作所有的板(例如16个板)。从板不会互相交谈。主板会与从板交谈,而从板会与他交谈。需要使用以太网通信。在开始时我只需要在这里开始滚动以太网通信能力。让它工作,那么如果需要的话,我会继续深入挖掘。你们有谁知道这种转换器吗?有什么建议吗?你能指出主要的限制吗?如果我只使用这样的转换器,我会受到什么限制?
以上来自于百度翻译 以下为原文 I would like to connect some master board to several slave boards. The master can operate all the boards (for example 16 boards) The slaves will not talk to each other. The master will talk to slaves and the slaves will talk to him. There is a requirement to use an Ethernet communication. At the beginning i need to only start rolling the Ethernet communication capabilities here. Make it work, then if needed i will keep on and dig deeper. Do any of you know any such converter? have any suggestion? mrpackethead: can you point out the main restriction? what will i be restricted if i only use such a converter? |
|
|
|
谁或什么驱动了使用以太网的需求?您希望在以太网上使用什么通信协议?你需要什么数据速率?您想要使用什么数据包大小?主人会投票给奴隶,还是他们可以随意送信?你需要广播给所有奴隶还是只发一个?
以上来自于百度翻译 以下为原文 Who or what is driving the requirement to use Ethernet? What communication protocol do you want to use over Ethernet? What data rate do you need? What packet size do you want to use? Will the master poll the slaves or must they be able to send at will? Do you need broadcast to all slaves or send to only one? |
|
|
|
这是对项目的要求。让我们说以太网通信在这里是必须的,即使有更好的替代方案。接近10MbpsSlaves必须能够随意发送。
以上来自于百度翻译 以下为原文 It's a requirement for the project. lets say Ethernet communication is a must here even if there is a better alternatives. Not sure about the protocol, (tcp?) close to 10Mbps Slaves must be able to send at will. Broadcast should be able to send all slaves as well as particularly to one at a time what about this component: http://www.microchip.com/wwwproducts/en/en022889 |
|
|
|
这是对项目的要求。让我们说以太网通信在这里是必须的,即使有更好的替代方案。接近10MbpsSlaves必须能够随意发送。
以上来自于百度翻译 以下为原文 It's a requirement for the project. lets say Ethernet communication is a must here even if there is a better alternatives. Not sure about the protocol, (tcp?) close to 10Mbps Slaves must be able to send at will. Broadcast should be able to send all slaves as well as particularly to one at a time what about this component: http://www.microchip.com/wwwproducts/en/en022889 |
|
|
|
这是一个以太网接口。就其本身而言,它是无用的。接受已经给出的建议并查看以太网开发工具包,而不是挑选单个组件。你知道TCP和UDP之间的区别吗?你需要TCP吗?
以上来自于百度翻译 以下为原文 It's an Ethernet interface. On its own it's useless. Take the advice you have already been given and look at the Ethernet dev kits, rather than picking out individual components. Do you know the difference between, say, TCP and UDP? Do you need TCP? |
|
|
|
我知道基本知识。有人给了我这个组件作为“提示”。他说:你已经实现了UART通信,你有一个PIC。拿这个组件并把它放到电路上,连接所有的外围设备,你将从它那里得到一个以太网连接。是这样的以太网控制器吗?例如,如果我想把它连接到几个组件,我需要一个路由器?
以上来自于百度翻译 以下为原文 I know the basics. Someone gave me this component as a "tip". He said: you already implemented a UART communication, you have a PIC. Take this component and put it on the circuit, connect all the peripherals and you will get out of it an Ethernet connection no worries so does anyone has an experience with these kind of Ethernet controllers? for example if i want to connect it to several components i need a router? |
|
|
|
如果您想要一个UART到以太网适配器,请查看WiZnet板或芯片。它更简单,但更多的钱。你可能需要一个路由器。你至少需要一个网络交换机或交换机。
以上来自于百度翻译 以下为原文 If you want a Uart to Ethernet adapter look at the wiznet board or chips . It is simpler but more money. You may need a router. You will at least need a network switch or switches. |
|
|
|
没有适当的驱动程序和软件堆栈,就不会这样。再一次,接受别人给你的建议,看看以太网开发工具包。你甚至可以自己做一些原创的研究,按照你链接的网页上的链接,看看你引用的设备的例子。
以上来自于百度翻译 以下为原文 Not without appropriate drivers and software stack. ONCE AGAIN, take the advice you have been offered and look at the Ethernet dev kits. You could even do some original research for yourself, follow the links on the page you linked to, and see examples of the device you are referring to. |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
727浏览 1评论
612浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
501浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
626浏览 0评论
524浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 05:28 , Processed in 1.594230 second(s), Total 105, Slave 88 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号