I
I
Ingerniated2016-12-17 22:02:42
Electronics
Ingerniated, 2016-12-17 22:02:42

What is STM programming?

Tell me, is it possible to program the MK by saving there just the code in assembler from a notepad?
Or MK and assembler are different things, and he does not understand what it is?
And how do you program stm-s?
Please share a good site to advance in this matter.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2016-12-17
@Ingernirated

It’s just not possible to save assembly language code in MK.
It first needs to be compiled into executable code, there are compilers for this. Further, this executable code needs to be flashed into the ROM of the processor, for this you need to use either the JTAG interface or, in the case of STM, STLink.
If you have a debug board from the STM itself, then most likely it already has STLink, which is available via USB. In this case, it is enough to connect the board to a computer via USB and flash the executable code into it using the STLink flasher from STM.
Well, to read - a lot of articles on Habré and, for example, on easyelectronics.ru, and simply on the Russian-language Internet there is a lot of information on working with STM.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question