Executable code in STM32 RAM

General discussion on mikroBasic PRO for ARM.
Post Reply
Author
Message
rhenius
Posts: 7
Joined: 13 Aug 2009 12:39

Executable code in STM32 RAM

#1 Post by rhenius » 06 Aug 2013 17:54

Hello ME Team,

are the ME Compilers, specially mikroBasic PRO, capable of linking executable Code partly to FLASH and to RAM Memory?
The background of the question is to avoid CPU stalling due to flash speed restrictions (wait states), while code execution out of RAM implies zero wait states.
This will mainly concern the fast Cortex-M4 parts with 168 MHz and 180 MHz.

Sincerely

rhenius

User avatar
janko.kaljevic
Posts: 3565
Joined: 16 Jun 2011 13:48

Re: Executable code in STM32 RAM

#2 Post by janko.kaljevic » 08 Aug 2013 17:05

Hello,

Yes this is possible to do.
At the moment compiler always stores functions in ROM.

Please take a look at following post for details:
http://www.mikroe.com/forum/viewtopic.php?f=178&t=51157

Best regards.

Post Reply

Return to “mikroBasic PRO for ARM General”