完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,我对从闪存中运行代码相关的等待状态有点困惑,在高端设备上,它们都列出了最小的闪存等待状态,但是在100/200个设备上没有在设备规格下列出的Flash指令读取等待状态时间。它是0等待状态吗?对于这些设备,从RAM运行有什么好处?我在哪里找到这个信息,因为它似乎没有列出任何地方。作为一个例外,如果我确实从RAM运行,我感到困惑的是,I总线和D总线可以同时访问RAM,或者如果在使用内存负载时插入了额外的等待状态。
以上来自于百度翻译 以下为原文 Hello, I am somewhat confused on the wait-states associated with running code from FLASH memory, on the higher-end devices they all list minimum flash wait-states but on the 100/200 devices there is no flash instruction read wait-state time listed under device specifications. Is it 0 wait state? For these devices is there any advantage to running from ram? Where do I find this information as it appears to not be listed anywhere. As an aside-if I do run from ram I am confused if the I bus and D bus can access ram at the same time or if there is additional wait-state inserted when using memory loads. |
|
相关推荐
2个回答
|
|
Hi,简单的答案是:不,在这些设备中读Flash程序存储器时总是有0个等待状态。所以没有设置任何东西,也没有什么可以改变的。这些设备可以从RAM中读取与FRAM相同的速度指令。当你在RAM中读或写数据,或者读或写SFR寄存器时,将不会延迟HARWAR体系结构的好处,除非,如果你正在从Flash中读取大量的数据,比如图形图像像素。Y在其他地方,在下一个指令中RAM或SFR,所以从RAM读取指令无论如何都要等待。
以上来自于百度翻译 以下为原文 Hi, The simple answer is: no. There are always 0 wait states when reading instructions from flash program memory in these devices. So there is nothing to set, and nothing that can be changed. These devices may read instructions from flash with the same speed as from RAM. Running instructions from ram will break the benefit of the Harward architecture, that fetching instructions from Flash, will not be delayed when reading or writing Data in RAM, or reading or writing SFR registers. Except maybe, if you are reading lots of data from flash, like graphic image pixels. But even then, those pixels probably are going somewhere else, to RAM or SFR in the next instruction, so then instruction read from ram will have to wait anyway. Regards, Mysil |
|
|
|
谢谢,这也适用于低功率版本的设备与更高的时钟出来吗?数据表中显示了一个缓存机制,但在设备电气规格下也没有列出Flash备忘录的等待状态。
以上来自于百度翻译 以下为原文 Thanks, Does this also apply to the Low Power versions of the devices coming out with a higher clock? A cache mechanism is shown in the datasheet but again no wait states for flash memmory are listed under devices electrical specs, |
|
|
|
只有小组成员才能发言,加入小组>>
5159 浏览 9 评论
1998 浏览 8 评论
1927 浏览 10 评论
请问是否能把一个ADC值转换成两个字节用来设置PWM占空比?
3170 浏览 3 评论
请问电源和晶体值之间有什么关系吗?PIC在正常条件下运行4MHz需要多少电压?
2223 浏览 5 评论
724浏览 1评论
608浏览 1评论
有偿咨询,关于MPLAB X IPE烧录PIC32MX所遇到的问题
496浏览 1评论
PIC Kit3出现目标设备ID(00000000)与预期的设备ID(02c20000)不匹配。是什么原因
621浏览 0评论
520浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-19 21:22 , Processed in 1.223902 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号