完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
PIC 24FJ64 GA44和MPLAB-X和XC16i正试图从5年前使用较老的MPLAB升级软件项目。它使用微芯片自举器从2011年Erra。我正在尝试使用最新的MPLAB和XC16编译器。它编译罚款,但给我这个链接器脚本错误…警告:链接器脚本没有指定CRT0SARTUPTP错误,因为链接器脚本是6-7岁,不与更新的MPLAB-XI粘贴在原始链接器GLD脚本的前1/2中。我对微芯片引导加载程序没有经验,您有任何建议、提示、CULU。指导我的ES或想法?使用微芯片引导加载程序,在UC上制造和部署了200000个小部件。它们通过集成在电路板上的ZigBee远程通信模块与互联网上的网关进行通信。该公司从未为引导加载程序开发服务器。那是我的工作。部署的单位迫切需要新的固件。我有固件更新,所以现在我需要学习如何编译和链接最新的MPLAB-X。任何人有任何经验与微芯片引导装载机请联系我这里或..支持在EncsiSpts Dot-CoudSt路易斯MISSURLILKER脚本/***Link脚本大纲Pic24F引导加载器用户应用程序**(用于PIC24FJ64 GAO4设备)*/OutPuthARCH(“24FJ64 GAO4”)外部(μ-ReaTePrI)外部(μ-ReSeTalt)/**内存区域*/内存{数据(A)!XOR=0x800,长度=0x2000重置:原点=0x0,长度=0x4IVT:原点=0x4,长度=0xFC-AIVT: ORACE=0x104,长度=0xFC/*用户程序的起始位置和长度*///程序(XR):Orth= 0x1400,长度=0x9FFC//程序(XR):Orth= 0xC00,长度=0x9FFC PROGRAM(XR):Oracle=0x1500,长度=0x9FC配置2:Orthe= 0xABFC,长度=0x2配置1:Orthe= 0xABFE,长度=0x2/***存储用户应用程序重置向量和BL超时值。必须定义这个**段以允许在地址**xx100(引导加载程序的默认设置)中使用两个位置。**如果这些值被放置在“程序”部分的地址中,则不需要这样做。*/BLSETA: ORACE=0x100,长度=0x4},配置2= 0xABFC;γ-Objt1=0xABFE;γ-IVTXBASE=0x4;γ-AIVTTBASE=0x104;
以上来自于百度翻译 以下为原文 PIC 24FJ64GA004 and MPLAB-X and XC16 I'm trying to upgrade a software project from year 2011 done using the older mplab from 5+ years ago. It uses the micro chip bootloader from the year 2011 erra. I'm trying to use the latest MPLAB and XC16 compiler. It compiles fine but is giving me this linker script error ... Warning: linker script did not specify CRT0_STARTUP The error is because the linker script is 6-7 years old and doesn't work with the newer MPLAB-X I'm pasting in the top 1/2 of the original linker gld script I have zero experience with the micro chip boot loader Do you have any suggestions, tips, clues or ideas that will direct me? 200,000+ widgets were manufactured and deployed above UC with the microchip boot loader. They communicate via a integrated zigbee telegesis module fitted on the circuit board to gateway on the internet. The company never developed a server for the boot loader. That's my job. The units deployed are in desperate need of new firmware. I have the firmware updated and so now I need to learn how to compile and link with the latest mplab-x. Anybody that has any experience with the microchip bootloader please contact me here or .. support at enecsysparts dot com Dan St Louis Missouri linker script /* ** Linker script outline for PIC24F bootloader user application ** (for PIC24FJ64GA004 device) */ OUTPUT_ARCH("24FJ64GA004") EXTERN(__resetPRI) EXTERN(__resetALT) /* ** Memory Regions */ MEMORY { data (a!xr) : ORIGIN = 0x800, LENGTH = 0x2000 reset : ORIGIN = 0x0, LENGTH = 0x4 ivt : ORIGIN = 0x4, LENGTH = 0xFC aivt : ORIGIN = 0x104, LENGTH = 0xFC /*Starting location and length of user program */ //program (xr) : ORIGIN = 0x1400, LENGTH = 0x9FFC //program (xr) : ORIGIN = 0xC00, LENGTH = 0x9FFC program (xr) : ORIGIN = 0x1500, LENGTH = 0x99FC config2 : ORIGIN = 0xABFC, LENGTH = 0x2 config1 : ORIGIN = 0xABFE, LENGTH = 0x2 /* ** Section for storing user app reset vector and BL time out value. This ** section must be defined to allow use of the two location at address ** 0x100 (the bootloader's default setting). ** This is not needed if these values are placed in addresses in ** the "program" section. */ BLreset : ORIGIN = 0x100, LENGTH = 0x4 } __CONFIG2 = 0xABFC; __CONFIG1 = 0xABFE; __IVT_BASE = 0x4; __AIVT_BASE = 0x104; __DATA_BASE = 0x800; __CODE_BASE = 0x1500; /* starting location of user application */ |
|
相关推荐
4个回答
|
|
|
|
|
|
我很长时间以来一直在犯这个错误。但是代码运行良好。
以上来自于百度翻译 以下为原文 I have been getting this error for a long time. But the code works fine. |
|
|
|
我不知道如何将链接链接到另一个线程搜索:XC16(V1.30)链接器脚本CRTYSTARTMODE WHARDEJIST,我必须查看并在隐藏的目录中找到新的链接器文件,该文件只添加了一个.IFF,您的链接器文件看起来更老,因此您可能需要查看新的链接器文件。
以上来自于百度翻译 以下为原文 I don't know how to post link to another thread search: XC16(v1.30) linker script CRT_STARTMODE warning Jist is I had to look and find new linker file in a buried directory which just added a #ifdef Your linker file looks older so you may want to look at new linker file CRT0_STARTUP(crt0_standard.o) CRT1_STARTUP(crt1_standard.o) #if __XC16_VERSION__ > 1027 /* * Define how to startup, by default we initialize * everything as normal; change to crt_start_mode to * preserve preserved data on a restart * * Or define your own __crt_start_mode fucntion */ CRT_STARTMODE(crt_start_mode_normal) #endif |
|
|
|
HTTP://www. MyCHIP.COM/FoUMs/FunPt/980217是链接到您上面的文章4的链接。
以上来自于百度翻译 以下为原文 http://www.microchip.com/forums/FindPost/980217 is a link to your post 4 above. Attached Image(s) |
|
|
|
只有小组成员才能发言,加入小组>>
5171 浏览 9 评论
2001 浏览 8 评论
1931 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3176 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2228 浏览 5 评论
737浏览 1评论
622浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
509浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
635浏览 0评论
533浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-26 03:00 , Processed in 1.980070 second(s), Total 84, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号