cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to execute code from ram in stm32f4 and stm32l4 MCUs?

NoeMurr
Associate II

Hi all,

I have a firmware written for some nucleo boards that use the stm32f4 and stm32l4 MCUs.

This firmware communicates with a pc through serial and control some motors.

The user sould be able to send through the serial, a simple program: a small, already compiled, controlling algorithm function.

Now I would like to be able to run the code that I received from the serial inside a custom function.

I would like this particular solution because I'm trying to run this algorithm as fast as I can and implementing even a small interpreter for a custom defined assembly language would be a waste of time.

1 REPLY 1

>>Is it possible to execute code from ram in stm32f4 and stm32l4 MCUs?

Yes

On the F4, don't use the CCMRAM

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..