How can I execute time-critical code in internal idata RAM of the C161?
I located my interrupt routine to 0xfc60, but both simulator and
target monitor show that it's as slow as executed from the external
8-bit-wide RAM. I also tried locating the module to some other address
and then copied it to 0xfc60 during run-time. It worked, but didn't
speed up either.
The only way to increase speed (in simulation only, of course) is
changing the BUSCON0 to 16-bit bus mode, so I assume that the
respective module actually isn't stored in the internal RAM
What can I try? Thanks!
Read-Only
Author Jon Ward
Posted 4-Jan-2001 17:18 GMT
Toolset C166
RE: Executing and Simulating in idata RAM
Jon Ward
The uVision2 Debugger (when simulating) does not take pipeline effects and other RAM speed timing into consideration. So, the simulation on the C16x devices is NOT cycle accurate.
When running on a real chip in real hardware, you should see some speed improvements from running in on-chip RAM. Check the timing diagrams for your specific chip to see exactly how much of a performance boost you should see.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.