完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
我们有一个使用PIC18F46J50设备的产品,我们最近制造了另一批产品。不幸的是,新的批必须被编程,我们无法找到正确的文件加载到设备上,并且负责人不再与公司在一起。我们有MPLAB X IDE V4.15,并且我们能够从工作设备读取(上载)设备存储器,并对新设备进行编程。生成的文件。然而,新设备并没有像预期的那样工作。问题是,从一个旧设备读到一个新设备是一个可靠的做法吗?否则,我们必须假设新批产品可能装配错了。当然,同时,我们正在努力理解设备编程,但我们急于让产品尽快工作。谢谢。
以上来自于百度翻译 以下为原文 We have a product using the PIC18F46J50 device and we recently fabricated another batch of the product. Unfortunately the new batch must be programmed, and we cannot find the correct file to load onto the device, and the person responsible is no longer with the company. We have MPLAB X IDE v4.15 and we were able to read (upload) the device memory from a working device and program the new devices with the resulting file. However, the new devices are not working as expected. The question is; is reading from an old device and writing to a new one a reliable practice? Otherwise we must assume that the new batch of product may have been assembled incorrectly. Of course, in the meantime, we are struggling to understand the device programming, but we are anxious to get the product working ASAP. Thank you |
|
相关推荐
19个回答
|
|
|
随着时间的推移,我可能建议使用类似Git的东西来避免这种不幸的情况,再次使用HTPS5.//E.WiKiTo.Org/WiKi/Git。
以上来自于百度翻译 以下为原文 As time progresses might I suggest the use of something like GIT to avoid this unfortunate circumstance again https://en.wikipedia.org/wiki/Git |
|
|
|
|
|
您可能或可能没有读取一个工作设备。如果工作设备没有代码保护,并且您正确地读取设备,您应该有预期的原始板的副本应该按预期操作。
以上来自于百度翻译 以下为原文 You may or may not of managed to read a working device. If the working device was not code protected and you correctly read the device you should have every expectation a duplicate of the original board should operate as expected. |
|
|
|
|
|
谢谢您。我认为负责这个项目的人不这么认为,但我会调查一下。我会通知那些最终被赋予这些设备编程任务的人。
以上来自于百度翻译 以下为原文 Thank you. I don't think the person who was in charge of this project thought of this, but I will look into it. I will inform whomever is eventually given the task of programming these devices. |
|
|
|
|
|
“你可能或可能没有读过一个工作装置。”我们已经明确地阅读了一个工作装置,并且用任何被读取的程序编程了一个新的设备。新产品虽然不完全相同,但老产品。但这不是问题。“……你正确地阅读了这个装置……”这是个问题。我们怎样才能确保我们正确地“阅读”工作装置。我简单地选择了菜单命令“读取设备内存到文件……”并选择了我的程序员工具(ICD 3)并创建了一个文件。如果你同意我遵循正确的程序,我会假设:“你应该有一个预期的副本,原来的董事会应该按照预期操作。”我知道这是愚蠢的,但我们完全被这种情况感到惊讶。谢谢你的帮助。
以上来自于百度翻译 以下为原文 "You may or may not of managed to read a working device." We have definitely read a working device and programmed a new device with whatever was read. The new product works, though not exactly the same and the old product. But that is not in question. "...you correctly read the device..." This is the question. How can we be sure that we correctly "read" the working device. I simply selected the menu command "Read Device Memory to File..." and selected my programmer tool (ICD 3) and created a file. If you agree that I followed the correct procedure, I will assume: "..you should have every expectation a duplicate of the original board should operate as expected." I know it's silly, but we were taken completely by surprise by this situation. Thank you for your help. |
|
|
|
|
|
除非在ICD 3中选择了某个选项,这是我的经验,该设备是正确读取的。您可以尝试IPE来验证您所读取的内容。可能在板上有一些设备/跳线改变了它的反应方式。ESS。你确定板是原板的100%倍吗?你有一个以上的原始板,你可以编程与代码读取,尝试它?
以上来自于百度翻译 以下为原文 Unless some option has been selected in the ICD 3 it has been my experience the device is correctly read. You might try IPE to verify what you read. Maybe there is/are some devices/jumpers on the board that change the way it reacts. Without a schematic and photo of the board it will be difficult to guess. Are you quite sure the board is a 100% duplicate of the original board ? Do you have more than one of the original boards you could program with the code that was read to try it ? |
|
|
|
|
|
这个小项目被发现是有点灾难性的。由于所有的文件被发现是完全不可靠的,包括产品的材料清单。因此,我认为我们可以合理地断定新批次的产品装配不当。换句话说,没有。我们还不确定董事会已经复制了100%次。显然它们是相同的,但这并不意味着它们是。目前,我们只是试图消除错误的阅读旧设备的可能性。原来的板被认为是“黄金”,但我会推动牺牲。
以上来自于百度翻译 以下为原文 This little project has been found to be a bit of a disaster. Due to the fact that all the documentation has been found to be completely unreliable, including the bill of materials for the product. Because of this, I think we can reasonably conclude that the new batch of product was assembled improperly. In other words, no.. we are not 100% sure the board has been duplicated properly. Visibly they are the same, but that doesn't mean they are. At the moment, we are simply trying to eliminate the possibility of incorrectly reading the old device. The original boards are considered "golden" but I will push to sacrifice one. BTW, The IPE verifies what we've read with no problem. |
|
|
|
|
|
也许你会尝试克隆一个不是你的设备?因此没有示意图和板照片。
以上来自于百度翻译 以下为原文 Perchance might you be trying to clone a device that is not yours ? Hence no schematic and board photo. |
|
|
|
|
|
看看你读到的文件。如果它是全零(除了校验和地址),则该设备受到保护,您将无法读取它。
以上来自于百度翻译 以下为原文 Look at the file you have read. If it's all zeroes (except checksums and addresses), the device is protected and you won't be able to read it. |
|
|
|
|
|
我的理解是,恢复的HEX文件是正确的,但它将不包含对Y-Y-CONFIG寄存器的设置,因此您使用默认设置,通常是所有1个。您必须查找设备的配置寄存器,并确定什么设置应该是合适的。没有太多,所以如果你不能决定,尝试用不同的选项编程,直到它的行为正确。
以上来自于百度翻译 以下为原文 It is my understanding that the recovered hex file be correct but it will not contain the settings for __CONFIG register(s) so you are using the default settings, typically all 1's. You will have to look up the CONFIG registers for your device and decide what settings should be appropriate. There are not too many so if you can't decide, try programming with different options selected until it behaves correctly. Ann-Marie. |
|
|
|
|
|
配置文件应该在HEX文件中。这听起来像是OP需要让至少知道PIC编程的人来检查整个过程。
以上来自于百度翻译 以下为原文 The config settings SHOULD be in the hex file. It sounds like the OP needs to get someone who knows at least something about PIC programming to check the whole process. |
|
|
|
|
|
不正确。阅读PIC设备可以读取所有的东西。编辑和Qub用一秒钟的时间来击败我。
以上来自于百度翻译 以下为原文 Not correct. Reading a PIC device can read everything. |
|
|
|
|
|
我会提供一个示意图,但我不知道如何把它附加在这里,而且它是不正确的,不反映什么是真正的董事会。它是电气不正确的,它缺少组件清楚地在板上。请告诉我如何附加图像,我会很乐意提供它们。
以上来自于百度翻译 以下为原文 I'd provide a schematic but I don't know how to attach it here, and besides it is incorrect and does not reflect what is actually on the board. It is electrically incorrect and it is missing components that are clearly on the board. Please tell me how to attach images and I will be happy to provide them. |
|
|
|
|
|
你必须使用“完全编辑器”,而不是快速回复框。点击编辑框上的“打开完整版”就可以到达那里。然后右边有一个“附加图像”按钮。附件限制在200 KB。
以上来自于百度翻译 以下为原文 You have to use the "Full editor", not the quick reply box. You get there by clicking "Open Full Version" just above the edit box. there is then an "Attach image" button over to the right. Attachments are limited to 200 kB. |
|
|
|
|
|
谢谢。附上你会发现一个图像的顶部侧的董事会的问题。
以上来自于百度翻译 以下为原文 Thanks. Attached you'll find an image of the top side of the board in question. Attached Image(s) |
|
|
|
|
|
|
|
|
|
|
|
谢谢。附上你会发现一个图像的顶部侧的董事会的问题。
以上来自于百度翻译 以下为原文 Thanks. Attached you'll find an image of the top side of the board in question. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
473 浏览 0 评论
5793 浏览 9 评论
2334 浏览 8 评论
2224 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3530 浏览 3 评论
1122浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
1095浏览 1评论
我是Microchip 的代理商,有PIC16F1829T-I/SS 技术问题可以咨询我,微信:A-chip-Ti
872浏览 1评论
MPLAB X IDE V6.25版本怎么对bootloader和应用程序进行烧录
475浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 22:52 , Processed in 1.169262 second(s), Total 106, Slave 89 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
515