完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
只是确认我在这里看到的…我试着从PIC18F的EEPROM写和读数据。在发现在XC8的用户手册中仍然记录的各种EEPROM相关函数和宏的放弃支持之后,学习“EEPROM”关键字显然被忽略,尽管也被记录,但我编写了一些内联程序集来完成任务。为了调试它,我观察了MPLAX中的“EE数据存储器”窗口的变化。没有任何事情发生。所以,在预感中,我写了一些代码来读取写回的地址并手动地通过它。你猜怎么着?数据回来了。所以硬件工作,但显然工具(和/或他们的文档)被打破了。我错过了一些魔法咒语来让“EE数据存储器”窗口正常工作,还是我应该忽略它?谢谢!
以上来自于百度翻译 以下为原文 Just confirming what I'm seeing here.... I'm trying to write and read data from a PIC18F's EEPROM. After discovering the dropped support for the various EEPROM related functions and macros that are still documented in XC8's user manual, and learning that the "eeprom" keyword is apparently ignored despite also being documented, I wrote some inline Assembly to get the job done. To debug it, I watched the "EE Data Memory" window in MPLAB X for changes. Nothing ever happened. So, on a hunch, I wrote some code to read the written addresses back and stepped through it manually. Guess what - the data came back. So the hardware is working, but apparently the tools (and/or their docs) are broken. Am I missing some magic incantation to get the "EE Data Memory" window working properly, or should I just ignore it? Thanks! |
|
相关推荐
1个回答
|
|
谢谢你的回复!我试过了,但是在调试阶段,它被淘汰了。这是一个PIC18F26K80。如果检查您的内存内容终止了调试会话,肯定会有边际价值。
以上来自于百度翻译 以下为原文 Thanks for responding! I tried that, but it is greyed out while in a debug session. This is on a PIC18F26K80. Sure would be of marginal value if checking on your memory contents terminated your debug session. |
|
|
|
只有小组成员才能发言,加入小组>>
5037 浏览 9 评论
1936 浏览 8 评论
1872 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3089 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2157 浏览 5 评论
597浏览 1评论
465浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
493浏览 0评论
395浏览 0评论
IPECMD命令烧录AVR128DA48芯片,报找不到芯片错误
874浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-9-3 04:16 , Processed in 1.147743 second(s), Total 48, Slave 41 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191