完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
您好,我使用PIC32MX795F512L和来自微芯片“web_server_nvm_mpfs”的示例代码。我使用交互式pagesWeb,它工作得很好。现在我想用PIC32的以太网线编程我的PIC32,以便对同一网络上的PIC进行编程。(在我工作地点旁边的一个房间里)我看到一个Bootloader应用程序V1.2根据它的IP地址对PIC进行编程,因为这是必须连接的,但是我的代码还没有准备好接收这种类型的连接。所以我必须为此添加代码。我的舌头是法语,有时我有点笔头来理解英文文档。所以如果有人能证实我是否可以通过以太网电缆来编程,而不需要ICD3程序员。
以上来自于百度翻译 以下为原文 Hello, I use PIC32MX795F512L with sample code from micochip "web_server_nvm_mpfs" I use interactive pagesWeb and it works fine. Now I would like to program my PIC32 with its Ethernet cable to program PICs that are on the same network. (In a room next to my place of work). I saw that there was a Bootloader application V1.2 to program a PIC according to its IP address, for that it is necessary to connect, but my code is not ready to receive a connection of this type. So I have to add code for that. My tongue being French I sometimes have a bit of penne to understand the documentaion in English. So if anyone could confirm me if this can be programmed via the ethernet cable, without the ICD3 programmer. |
|
相关推荐
8个回答
|
|
|
谢谢你的回答,我试过你的程序,但是我不能编译它。我有很多这样的错误:“build/udp_pic32mx_eth_sk/./_ext/521481140/drv_extphy_dp83848.o:Link Error:无法分配..rodata,size=16字节,attributes=code”。
以上来自于百度翻译 以下为原文 Thank you for your answer. I tried your program but I can not compile it. I have a lot of error that looks like this: "build/udp_pic32mx_eth_sk/production/_ext/521481140/drv_extphy_dp83848.o: Link Error: Could not allocate section .rodata, size = 16 bytes, attributes = code " |
|
|
|
|
|
如果我理解正确,代码必须在文件“加载项”中打开?
以上来自于百度翻译 以下为原文 If I understood correctly the code must be opened in the file "Loadables"? |
|
|
|
|
|
尝试打开优化级别1(至少)。它在项目配置,XC32 GCC,选项…
以上来自于百度翻译 以下为原文 try turning on the Optimization-Level 1 (at least). It's in project configuration, xc32-gcc, options... |
|
|
|
|
|
嗨,Jo1234,当你用浏览器工作时,你有好的数据传输速度吗?你的数据是巨大的还是很少的?
以上来自于百度翻译 以下为原文 hi jo1234 when u worked with browser did you have good transfer speed of data? was your data huge or few? |
|
|
|
|
|
是的,有很多数据,因为所有的网页都刷新了10ms。
以上来自于百度翻译 以下为原文 Yes there was a lot of data, because there was a refresh of the web page all the 10ms |
|
|
|
|
|
你在链接器文件夹中看到程序的链接器了吗?如果没有,你必须把它放在那里。引导加载程序代码需要有一个链接器脚本来告诉链接器这段代码应该放在引导加载程序部分。还要学习如何使用引导加载程序内存以及如何对其进行编程。你的应用程序代码还需要一个匹配的链接器脚本。“是的,使用以太网电缆编程其他设备是可能的”
以上来自于百度翻译 以下为原文 have you seen linker for your program in linker folder? if it is not there you have to put it there. boot loader code needs to have a linker script to tell linker that this code should go in boot loader section. also learn how to use boot loader memory and how to program it. your application code also need a matching linker script. in short regarding your question "Yes it is possible to program other devices using Ethernet cable" how you do it is upon you |
|
|
|
|
|
谢谢你的回答ec_nisarg,但是我还有几个问题。弗伦斯?
以上来自于百度翻译 以下为原文 Thank you for your answer ec_nisarg but I still have a few questions. I would like to generate the code of the bootloader with harmony but I do not know which to take in "Build an Application Linker Script" or "Build a Bootlader" What is the difference ? Attached Image(s) |
|
|
|
|
|
您需要创建两个单独的项目。首先,您需要生成引导加载程序,该引导加载程序将驻留在引导内存中,并通过从和声中选择的任意源中的触发器来执行。或者作为第二个项目,您需要生成应用程序链接器脚本,该脚本将告诉链接器不要将代码放在引导加载器所在的位置。这个链接器脚本必须包含在应用程序代码中,Orthor会把它放在那里。我正在使用UDP引导加载程序。所以我的引导加载程序将在以太网上搜索UDP命令。PC上的EXE将给出这些命令以及应用固件数据。编程成功。引导加载程序将跳转到第一个应用程序指令所在的地址。因此应用程序启动。如果.loader在引导时没有找到任何udp命令,并且在应用程序地址处找到适当的指令,则它将立即跳转。注意:当自定义链接器脚本生效时,您不能调试应用程序代码。首先需要排除它来调试代码。
以上来自于百度翻译 以下为原文 you need to create two separate projects. first you need to generate boot loader that will reside in boot memory and executed by trigger from either source selected from harmony. or at power on. than as second project you need to generate application linker script which will tell linker not to place code where boot loader is residing. this linker script must be included in application code , harmony will put it there for you. i am using udp boot loader. so my boot loader will search udp commands on Ethernet upon power up. and exe on pc will give those commands as well as application firmware data. upon programming successfully. boot loader will jump to address where first instruction of application is. thus application starts. if boat loader does not find any udp command while booting and it founds proper instruction at application address it will immediately jump. Note: you can not debug application code while custom linker script is in effect. you need to exclude it first to debug you code. |
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475 浏览 0 评论
5794 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1124浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1098浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
873浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 13:34 , Processed in 0.953593 second(s), Total 86, Slave 69 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1701