完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
几年前,我想用XC8来用PIC拿起一个项目,目的是使用AN1310引导程序。我记得当时我遇到了一个问题,AN1310引导装载程序源代码是用C18编译器开发的,并且我正在考虑将它移植到XC8。由于种种原因,这个项目被取消了,但是现在我们有了一个类似的项目,而且我似乎再也找不到C18代码的AN1310引导装载器了。它似乎是在汇编程序中开发的…但我可以发誓,2年前我看到了C18代码。它是在C18还是汇编程序中开发的?问候,克里斯蒂安
以上来自于百度翻译 以下为原文 A couple of years ago, I wanted to pick up a project with a PIC using XC8 and the intention was to use the AN1310 bootloader. I remember that at the time I ran into the problem that the AN1310 bootloader source code was developed with C18 compiler, and that I was considering to port it to XC8. For various reasons the project was canceled, but now we have a similar one and i do not seem to be able to find the C18 code ofcthe AN1310 bootloader anymore. It seems to have been developed in assembler... but I could have sworn that 2 years ago I did see C18 code for it. Is it developed in C18 or assembler? Regards, Cristian |
|
相关推荐
6个回答
|
|
快速查看一个自2011以来存储在我的NAS中的副本,我发现了一个在ASM中写的引导加载程序和在C中的示例应用程序,C18和HiTeC.C.
以上来自于百度翻译 以下为原文 Hi Taking a quick look at a copy of it that's been stored in my NAS since 2011, I found a bootloader writen in ASM and sample applications in 'C', both C18 and Hitech C. |
|
|
|
您正在寻找XC8的引导加载程序吗?HTTPS://www. McCHIP.COM/PROSP/8位引导加载程序
以上来自于百度翻译 以下为原文 Are you Looking for a Bootloader for XC8? https://www.microchip.com/promo/8-bit-bootloader |
|
|
|
谢谢你的回复。我将坚持AN1310的时刻:所以,它是在ASM!这将使事情变得更容易。因为我需要使用MPLAB X来构建它,而不是它的默认MPLAB IDE 8,我有点不确定该如何处理它自己提供的.Inc文件(BooToCuff.Inc.,DeviC.Inc.和PrimPurtual.Inc.)。我在项目中有这些,但这就足够了吗?还是应该将它们添加到头文件或源文件类别中的MPLABX项目?问候,克里斯蒂安
以上来自于百度翻译 以下为原文 Thank you for your replies. I will stick to the AN1310 for the moment :) so, it is in asm! That should make things easier. As I need to build it using the MPLAB X now, instead of its default MPLAB IDE 8, I am a bit unsure what to do with its own supplied .inc files (bootconfig.inc, devices.inc and preprocess.inc). I have them in the project forlder, but is that sufficient? Or should I add them to the MPLABX project in the Header or Source files category? Regards, Cristian |
|
|
|
不管怎样,它都会起作用,但是你应该把它们添加到逻辑头文件夹中。我为A131310创建了MPLABX项目。你可以在那里找到它。
以上来自于百度翻译 以下为原文 It will work anyway, but you should add them in the logical header folder. I created MPLABX project for AN1310 a while ago. You can find it there. |
|
|
|
HiASM并不是那么笨拙,它只需要更多的工作和注意细节。OTHH,也许他们在ASM中做了同样的原因,我们大多数人使用ASM或混合ASM/C。更小,更快,更好的定时和完全控制最模糊的细节。
以上来自于百度翻译 以下为原文 Hi ASM is not that dificult, it only takes a little more work and attention to details. OTOH, maybe they did it in ASM for the same reason most of us use ASM or mixed ASM/C. Smaller, faster, better timming and in full control of the most obscure details. |
|
|
|
我不是讽刺的,我真的更喜欢它在ASM在这种情况下,特别是因为所有这些原因,你提到。在一天结束的时候…我只是一个HW家伙,我只处理相对简单的SW事情。更少的层,对我来说更好……克里斯蒂安
以上来自于百度翻译 以下为原文 I was not being ironic, I really prefer it being in ASM in this case, particualrly because of all these reasons that you mentioned. At the end of the day... I am just a HW guy, I only deal with relatively simple SW things. The fewer layers, the better for me... Regards, Cristian |
|
|
|
只有小组成员才能发言,加入小组>>
5243 浏览 9 评论
2035 浏览 8 评论
1955 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3208 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2258 浏览 5 评论
778浏览 1评论
671浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
597浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
679浏览 0评论
577浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-24 11:47 , Processed in 1.522892 second(s), Total 87, Slave 70 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号