Keil Logo Arm Logo

Discussion Forum

Executing and Simulating in idata RAM

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Daniel Trollhagen
Posted
3-Jan-2001 19:30 GMT
Toolset
C166
New! Executing and Simulating in idata RAM
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
New! RE: Executing and Simulating in idata RAM
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.

Jon

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.