I am studying the Cortex-M3 technical reference manual.
I have some doubts:- What is the function of each of the 13 general purpose 32-bit registers, R0 to R12?- What does Link Register (LR) do?- What is the function of the xPSR register?- What does the DebugReturnAdress() register do?- What is the function of CONTROL, FAULTMASK, BASEPRI, PRIMASK of register 5b10100?
Thank you in advance!
Fabiano Junqueira said:What is the function of each of the 13 general purpose 32-bit registers
The clue is in the name!
Hi Andy, thank you very much for the reply.
I would like to know if it is really necessary to buy this document, and if I make the purchase and cannot find the answer I am looking for?
Thanks in advance!
This book is cheap and every penny worth if you work with cortex-m
Well, of course it's not necessary - but it will be extrmemely useful!
It will be money well spent.
It depends if you'd rather spend your time googling and studying the ARM documentation...
See here: https://www.egr.msu.edu/classes/ece331/mason/web_files/ARM_CortexM3.pdf
Thank you very much for the support, clarified many of my doubts.
In the memento I loaded a binary (firmware) in RAM via SWD and I would like to run it, however, I don't know how to do it. My question is not related to the SWD protocol and how to access the Cortex-M3 registers. My question is related to what steps should I follow to execute this binary that is in RAM.
Is there any step-by-step manipulation of the Cortex-M3 registers to execute this firmware present in RAM?
Thank you very much and I look forward to your reply.
Please stick to 1 question per thread.
Perhaps you should study this: http://www2.keil.com/mdk5/learn
View all questions in Cortex-M / M-Profile forum