E
E
eegmak2020-04-18 20:47:42
Microcontrollers
eegmak, 2020-04-18 20:47:42

How to calculate the amount of RAM consumed by the program on the microcontroller?

There is a program and data associated with the program (for example, this is the implementation of the usb protocol), how much data transmitted via usb will take can be calculated in advance, how to calculate how much RAM everything else consumes? It is required to understand how much RAM is needed for the operation of the program along with data storage. Is it possible to find out these numbers without downloading to the microcontroller? I would like to understand exactly how much memory is missing in the controller so that you can buy a ram chip for a certain amount /

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-04-18
@firedragon

Take a look at the emulator. In the settings, you can play around with the features of the crystal and the amount of memory.
This is not a complete hautu, just a direction to look for
https://medium.com/@ly.lee/stm32-blue-pill-unit-te...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question