Copy from FLASH to RAM and RUN

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Copy from FLASH to RAM and RUN

1,438 Views
Stachu
Contributor I

Hi,

I'm a novice in MCU's. I'm using KDS 3.2.0 and FRDM-K22F.
My applocation is not very complex, short routine is executed
only on a PIT interrupt. However, I think I can improve the
application performance by increasing the PIT frequency.

The only way, I think is running it not from FLASH but from RAM.

In the other words, I need after power ON to copy it from FLASH to RAM and RUN.
How to do it?

I have read Erich's article:

https://mcuoneclipse.com/2014/11/02/ram-target-with-kinetis-design-studio-and-frdm-k64f/

Unfortunately, I have a problem on a very first begining. The first screenshot shows:

Generator_Configurations
-> RAM
-> FLASH

Unfortunately, under Generator_Configurations I have nothing.

I would appreciate for some suggestions.

Rgds, Stachu

0 Kudos
Reply
2 Replies

1,415 Views
RaRo
NXP TechSupport
NXP TechSupport

Hello @Stachu,

You could use MCUXpresso IDE v11.7.0 and download the FRDM-K22F SDK which contains a PIT example that might be useful. There you could try increasing the frequency. KDS 3.2.0 it is kind of obsolete nowadays.

Nevertheless, if you still want to copy FLASH to RAM and RUN in KDS. Could you please check the following Erich Styger's post for Configurations with Processor Expert? Configurations with Processor Expert | MCU on Eclipse. Also, please take a look at the attached document. May be worth reading them.

Best regards, Raul.

0 Kudos
Reply

1,411 Views
Stachu
Contributor I

Hi Raul,

Thanks a lot for your prompt reply and suggestions. Meanwhile as a novice in MCU's I will rather stay with KDS instead of MCUxpresso, because of a great tool - Processor Expert, which is not available at xpresso. Anyway, I think, the attached document is what I need. I'll study it, will make some experiments and I'll let you know about the results.

Rgds, Stachu

0 Kudos
Reply