This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Improving performace by moving code from Flash to RAM

Dear All,

I am upgrading a piece of software, having an small interruppt routine triggered every 100us.

I now have a problem with getting the CPU doing anything else...

The system consists of a C167CR-LM running at 16 MHz with an external 8bit FLASH, non mux.

I am considering moving the interrupt routine to internal RAM and execute it from there and thereby get a reduced execution time by a factor 2-3.

I have been studying the application note 138, but finds it rather tricky, isn't there any easier way to do this?

Is the code generated by the compiler relocatable or do I have to rewrite the routine in assembly code?

Comments appriciated.

/Rolf

Parents Reply Children
No data