完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
猴子看猴子做。这个猴子需要一些示例链接器脚本。你有什么可以分享的吗?我与24FJ64 GA44芯片一起工作,试图更新一个5年的项目,该项目是在App Note AN1157中显示的引导加载程序部署的。获取链接器错误。AN1157示例(S)和链接器脚本是9年以上的,并且不与XC16编译器进行编译/链接。我知道Microchip还有两个新的引导加载程序。我不能使用这些,因为我正在使用AN1157引导加载器部署的200000个小部件。我想强调的是,我不需要帮助映射引脚,初始化UART,设置时钟频率定义或其他任何东西。我的问题是学习如何配置/更新XC16的链接器脚本。是否有任何人拥有与XC16编译器一起工作的AN1157应用程序、示例代码或链接器脚本?它可能是PIC 24家族中的任何芯片。重要的是编译和使用XC16。如果您是开放的直接电子邮件,请给我一个私人信息。Dan AmbroseC语言软件工程师,自1988
以上来自于百度翻译 以下为原文 Monkey see monkey do. This monkey wants some example linker scripts that work. Do you have any to share ? I'm working with the 24FJ64GA004 chip trying to update a 5+year old project that was deployed with the boot loader shown in app note AN1157. Getting linker errors. The AN1157 example(s) and linker scripts are 9+years old and do not compile/link with XC16 compiler. I know microchip has two other newer boot loaders. I cant use those because I'm working with 200,000+ widgets deployed with the AN1157 boot loader. I want to stress that I don't need help with mapping pins, initializing the UART, setting clock frequency defines or anything else. My problem is learning how to configure/update the linker scripts for XC16. Does anybody out there have any AN1157 apps, sample code or linker scripts that work with the XC16 compiler? It could be any chip in the Pic 24 family. All that matters is it compile and work with XC16. If you are open to direct email please send me a private message. Dan Ambrose C language software Engineer , since 1988 |
|
相关推荐
6个回答
|
|
您可以安装几个C30版本,并将默认链接器脚本与1157个链接脚本进行比较。我忘记了应用笔记使用的版本。这会告诉你他们编辑了什么。我记得,这只是几句台词。
以上来自于百度翻译 以下为原文 You can install a few C30 versions and compare the default linker script to the 1157 one. I forget what version the app note used. That will show you what they edited. As I recall, it was just a few lines. |
|
|
|
我已经做到了!!!!我正在寻找与XC16一起工作的例子
以上来自于百度翻译 以下为原文 I've already done that !!! I'm looking for examples that work with XC16 |
|
|
|
嗨,对于16位微控制器(PIC24和DSPIC33),有一个最近的Bootloader,它使用XC16,不需要和链接器脚本一起玩。它被称为EZBL,你可以在这里找到它:
以上来自于百度翻译 以下为原文 Hi, For 16 bits microcontrollers (PIC24 & dsPIC33), there is a recent bootloader which uses XC16 and does not require to play with the linker script. ;=) It is called EZBL and you can find it here : http://microchip.com/ezbl Regards |
|
|
|
我已经是awareof EZBL和其他许多人了。在2010和2011年间,30000000(330万)被开发和制造了200000个小部件,在AN1157中描述了引导加载程序。因此,这需要从AN1157制造的原始引导加载器。原来的程序员早已不在了。我想使用编译器的XC16专业版来简单地重新编译和链接现有的项目和一些变更。由于没有任何部署的小部件的关键性质,我已经被高级程序员命令以首先使示例引导加载程序和应用程序FIR工作。在测试台上。我正在寻找从这条路下来的人的支持。我的项目和应用程序中的链接器脚本由于编译器更新而不再工作。这可能需要两周的全职工作来学习和学习应用程序的链接器脚本语法,因为它涉及到引导加载程序内存地址的保护,因此应用程序的HEX文件是一个单独的项目,不会过度写入引导加载程序内存。有人很可能沿着这条路走下去。拿了一个10年前的应用程序笔记,还没有用最新的XC16编译器更新,找出了几条神奇的语法线并解释它们。
以上来自于百度翻译 以下为原文 I am already aware of EZBL and a plurality of others. 30,000,000 (thirty million) was spent in the years of 2010 and 2011 developing and manufacturing 200,000 widgets with the boot loader depicted in AN1157. Therefore this requires the original boot loader made from AN1157. The original programmer is long gone. I want to use the XC16 professional version of the compiler to simply recompile and link the existing project with some changes. Due to the critical nature of not bricking any deployed widgets I have been ordered by the senior programmers to first make the sample boot loader and application work first on the test bench. I'm looking for support from someone that has been down this road. The linker scripts in my project and in the app note no longer work because of compiler updates. It might take two weeks of full time work studying and learning the linker script syntax for the application as it relates to protecting the boot loader memory address so the application hex file which is a separate project does not over write boot loader memory. Monkey see monkey do. Somebody has most likely been down this road. Taken a 10 year old app note that has not been updated with the latest XC16 compiler and figured out the few magic lines of syntax and explain them. D |
|
|
|
为什么不用它满意的10年编译器编译它呢?除非你要大变革。甚至是最后一个版本。(v3.31?)所有的票都是有效的。你可以试试F.A.E.或支持票。除非有人张贴你需要的东西。
以上来自于百度翻译 以下为原文 Why not Build it with the 10 Year old Compiler it was happy with? unless you are going for Big changes. C30 I would assume. Or even the Last version of that. ( V3.31?) All still available. You can Try an F.A.E. or support ticket. Unless, someone else posts what you need. |
|
|
|
你好,我已经用XC16做了,但是有不同的方法来设置它。你能为引导程序和应用程序发布原始链接器脚本吗?我可以看到如何用XC16+++来工作,顺便说一下,我认为我使用/Load /PIC24F/GLD文件夹中的GLD文件作为创建链接器文件的基础。
以上来自于百度翻译 以下为原文 Hi binaryman, I have done it with XC16, but there are different ways to set it up. Can you post your original linker scripts for the bootloader and the app? I can see how to make it work with XC16. ++ By the way, I think I used the gld file in the /support/PIC24F/gld folder as the base to create the linker files. |
|
|
|
只有小组成员才能发言,加入小组>>
5160 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2225 浏览 5 评论
729浏览 1评论
613浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
503浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
628浏览 0评论
526浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 15:18 , Processed in 1.197302 second(s), Total 87, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号