Copy from FLASH to RAM and RUN

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Copy from FLASH to RAM and RUN

1,441 次查看
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 项奖励
回复
2 回复数

1,418 次查看
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 项奖励
回复

1,414 次查看
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 项奖励
回复